Skip to content

Commit 6dd1b51

Browse files
committed
chore: change nav links
1 parent 2fbe520 commit 6dd1b51

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/routes/+layout.svelte

+5-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
import '@sveltejs/site-kit/styles/index.css';
99
import '../app.css';
1010
11+
import { PUBLIC_SVELTE_SITE_URL, PUBLIC_KIT_SITE_URL } from '$env/static/public';
12+
1113
export let data;
1214
</script>
1315

@@ -28,13 +30,13 @@
2830
</svelte:fragment>
2931

3032
<svelte:fragment slot="external-links">
31-
<a href="https://svelte.dev">Svelte</a>
33+
<a href={PUBLIC_SVELTE_SITE_URL}>Svelte</a>
3234

33-
<a href="https://kit.svelte.dev">SvelteKit</a>
35+
<a href={PUBLIC_KIT_SITE_URL}>SvelteKit</a>
3436

3537
<Separator />
3638

37-
<a href="https://svelte.dev/chat" title="Discord Chat">
39+
<a href="{PUBLIC_SVELTE_SITE_URL}/chat" title="Discord Chat">
3840
<span class="small">Discord</span>
3941
<span class="large"><Icon name="discord" /></span>
4042
</a>

0 commit comments

Comments
 (0)