Skip to content

Commit 837e3ea

Browse files
committed
add links in descriptions
1 parent 287d73f commit 837e3ea

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

apps/svelte.dev/src/lib/packages-meta.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ const FEATURED: {
200200
},
201201
{
202202
title: 'Router',
203-
description: 'SvelteKit is recommended, but here are some alternatives.',
203+
description: '<a href="/docs/kit">SvelteKit</a> is recommended, but here are some alternatives.',
204204
packages: [
205205
'@sveltejs/kit',
206206
'svelte-routing',
@@ -212,7 +212,7 @@ const FEATURED: {
212212
},
213213
{
214214
title: 'Data fetching',
215-
description: 'SvelteKit remote functions are recommended, but here are some alternatives.',
215+
description: '<a href="/docs/kit/remote-functions">SvelteKit remote functions</a> are recommended, but here are some alternatives.',
216216
packages: [
217217
'@urql/svelte',
218218
'trpc-sveltekit',
@@ -224,7 +224,7 @@ const FEATURED: {
224224
},
225225
{
226226
title: 'Forms',
227-
description: 'SvelteKit forms are recommended, but here are some alternatives.',
227+
description: '<a href="/docs/kit/remote-functions#form">SvelteKit forms</a> are recommended, but here are some alternatives.',
228228
packages: ['sveltekit-superforms', '@tanstack/svelte-form', 'formsnap', 'felte']
229229
}
230230
];

apps/svelte.dev/src/routes/packages/+page.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const addons: { title: string; href?: string; description?: string; packages: Pa
2525
{
2626
title: 'Svelte CLI add-ons',
2727
description:
28-
'sv, the Svelte CLI, lets you instantly add functionality to a new or existing project.',
28+
'<a href="/docs/cli">sv, the Svelte CLI</a>, lets you instantly add functionality to a new or existing project.',
2929
packages: arrToPackages(PACKAGES_META.SV_ADD.packages).map((pkg) => {
3030
pkg.name = pkg.svCmdAlias ?? pkg.name;
3131
pkg.homepage = `/docs/cli/${pkg.svCmdAlias}`;

apps/svelte.dev/src/routes/packages/Category.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
{/if}
5454
</header>
5555
{#if description}
56-
<h3>{description}</h3>
56+
<h3>{@html description}</h3>
5757
{/if}
5858

5959
<div class="wrapper">

0 commit comments

Comments
 (0)