Skip to content

Commit d4013a4

Browse files
Explain presets and samples in the samples gallery
1 parent fe0530e commit d4013a4

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎src/components/SampleGallery.astro‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const { samples } = Astro.props;
7575
</div>
7676

7777
<p id="no-results" class="text-center py-16 hidden" style="color: var(--text-faint);">
78-
No samples match your search.
78+
No presets or samples match your search.
7979
</p>
8080
</div>
8181

@@ -98,7 +98,7 @@ const { samples } = Astro.props;
9898
if (matches) visible++;
9999
});
100100

101-
countEl.textContent = `${visible} sample${visible !== 1 ? 's' : ''}`;
101+
countEl.textContent = `${visible} result${visible !== 1 ? 's' : ''}`;
102102
noResults.classList.toggle('hidden', visible > 0);
103103
});
104104
</script>

‎src/pages/samples/index.astro‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ function sampleSlug(id: string): string {
1212
}
1313
---
1414

15-
<Layout title="Sample Gallery" description="Browse and download community-contributed Dev Proxy samples">
15+
<Layout title="Samples" description="Browse and download Dev Proxy samples, including presets (ready-made configs for specific APIs) and demo projects, from the community">
1616

1717
<!-- Hero header -->
1818
<section class="pt-24 pb-16 px-4">
1919
<div class="max-w-6xl mx-auto text-center">
2020
<p class="text-sm font-semibold tracking-widest uppercase text-purple-400 mb-4">Community Contributed</p>
21-
<h1 class="text-4xl md:text-6xl font-bold tracking-tight mb-6">Sample Gallery</h1>
21+
<h1 class="text-4xl md:text-6xl font-bold tracking-tight mb-6">Samples</h1>
2222
<p class="text-lg max-w-2xl mx-auto" style="color: var(--text-muted);">
23-
Ready-to-use Dev Proxy configurations and presets from the community. Browse, search, and download from
23+
Some samples are presets: ready-made Dev Proxy configs for specific APIs that you download and run with <code class="font-mono text-base">devproxy config get</code>. Others are demo projects that show how to use Dev Proxy in a scenario. Browse, search, and download from
2424
<a href="https://github.com/pnp/proxy-samples" target="_blank" rel="noopener" class="text-purple-400 hover:text-purple-300 transition-colors">pnp/proxy-samples</a>.
2525
</p>
2626
</div>

0 commit comments

Comments
 (0)