Skip to content

Commit 9ef7943

Browse files
committed
2 parents 19345c1 + 0bca2e6 commit 9ef7943

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/tutorial/02-sveltekit/02-routing/02-layouts/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ src/routes/
1717
...and move the duplicated content from the `+page.svelte` files into the new `+layout.svelte` file. The `<slot />` element is where the page content will be rendered:
1818

1919
```svelte
20-
/// file: src/routes/about/+page.svelte
20+
/// file: src/routes/about/+layout.svelte
2121
<nav>
2222
<a href="/">home</a>
2323
<a href="/about">about</a>

src/routes/+layout.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<svelte:fragment slot="nav-right">
3333
<NavItem external="https://kit.svelte.dev">SvelteKit</NavItem>
3434

35-
<NavItem external="/chat" title="Discord Chat">
35+
<NavItem external="https://svelte.dev/chat" title="Discord Chat">
3636
<span class="small">Discord</span>
3737
<span class="large"><Icon name="message-square" /></span>
3838
</NavItem>

0 commit comments

Comments
 (0)