diff --git a/apps/svelte.dev/src/routes/(authed)/apps/+page.js b/apps/svelte.dev/src/routes/(authed)/apps/+page.js new file mode 100644 index 0000000000..2df1ee03d3 --- /dev/null +++ b/apps/svelte.dev/src/routes/(authed)/apps/+page.js @@ -0,0 +1,5 @@ +import { redirect } from '@sveltejs/kit'; + +export function load({ url }) { + redirect(301, `https://svelte.dev${url.pathname}`); +} diff --git a/apps/svelte.dev/src/routes/(authed)/playground/+page.js b/apps/svelte.dev/src/routes/(authed)/playground/+page.js index 08b3a737c2..5a9c56168d 100644 --- a/apps/svelte.dev/src/routes/(authed)/playground/+page.js +++ b/apps/svelte.dev/src/routes/(authed)/playground/+page.js @@ -17,5 +17,5 @@ export function load({ url }) { const q = new URLSearchParams(); if (version) q.set('version', version); if (vim) q.set('vim', vim); - redirect(301, `/playground/${id}?${q}`); + redirect(301, `https://svelte.dev/playground/${id}?${q}`); } diff --git a/apps/svelte.dev/src/routes/docs/+page.svelte b/apps/svelte.dev/src/routes/docs/+page.svelte index 15f3a2c36f..73c0ac92c9 100644 --- a/apps/svelte.dev/src/routes/docs/+page.svelte +++ b/apps/svelte.dev/src/routes/docs/+page.svelte @@ -82,7 +82,7 @@

- +

とりあえず試してみたい方

Playground に移動し、example を確認したり、Svelte アプリをブラウザ上で作ったり、 @@ -90,7 +90,7 @@

- +

助けて!行き詰まった!という方

私たちの Discord サーバーで他の Svelte ユーザーたちと一緒に過ごしたり、質問したりしましょう。 diff --git a/packages/site-kit/src/lib/nav/Nav.svelte b/packages/site-kit/src/lib/nav/Nav.svelte index c1d1d321d6..d439264c60 100644 --- a/packages/site-kit/src/lib/nav/Nav.svelte +++ b/packages/site-kit/src/lib/nav/Nav.svelte @@ -109,12 +109,16 @@ Top navigation bar for the application. It provides a slot for the left side, th {/snippet} {:else} - - {link.title} - + {#if link.slug === 'playground'} + {link.title} + {:else} + + {link.title} + + {/if} {/if} {/each}