We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fbe520 commit 6dd1b51Copy full SHA for 6dd1b51
src/routes/+layout.svelte
@@ -8,6 +8,8 @@
8
import '@sveltejs/site-kit/styles/index.css';
9
import '../app.css';
10
11
+ import { PUBLIC_SVELTE_SITE_URL, PUBLIC_KIT_SITE_URL } from '$env/static/public';
12
+
13
export let data;
14
</script>
15
@@ -28,13 +30,13 @@
28
30
</svelte:fragment>
29
31
32
<svelte:fragment slot="external-links">
- <a href="https://svelte.dev">Svelte</a>
33
+ <a href={PUBLIC_SVELTE_SITE_URL}>Svelte</a>
34
- <a href="https://kit.svelte.dev">SvelteKit</a>
35
+ <a href={PUBLIC_KIT_SITE_URL}>SvelteKit</a>
36
37
<Separator />
38
- <a href="https://svelte.dev/chat" title="Discord Chat">
39
+ <a href="{PUBLIC_SVELTE_SITE_URL}/chat" title="Discord Chat">
40
<span class="small">Discord</span>
41
<span class="large"><Icon name="discord" /></span>
42
</a>
0 commit comments