2 import { page } from '$app/stores';
3 import logo from '$lib/images/svelte-logo.svg';
8 <!-- <a href="https://kit.svelte.dev">
9 <img src={logo} alt="SvelteKit" />
14 <svg viewBox="0 0 2 3" aria-hidden="true">
15 <path d="M0,0 L1,2 C1.5,3 1.5,3 2,3 L2,0 Z" />
18 <li class:active={$page.url.pathname === '/'}>
21 <li class:active={$page.url.pathname === '/foo'}>
22 <a href="/foo">Foo</a>
24 <li class:active={$page.url.pathname.startsWith('/sverdle')}>
25 <a href="/sverdle">Sverdle</a>
28 <svg viewBox="0 0 2 3" aria-hidden="true">
29 <path d="M0,0 L0,3 C0.5,3 0.5,3 1,2 L2,0 Z" />
34 <img src="ducks.png" alt="GitHub" />
41 justify-content: space-between;
52 justify-content: center;
65 justify-content: center;
66 --background: rgba(255, 255, 255, 0.7);
76 fill: var(--background);
85 justify-content: center;
88 background: var(--background);
89 background-size: contain;
104 left: calc(50% - var(--size));
105 border: var(--size) solid transparent;
106 border-top: var(--size) solid var(--color-theme-1);
114 color: var(--color-text);
117 text-transform: uppercase;
118 letter-spacing: 0.1em;
119 text-decoration: none;
120 transition: color 0.2s linear;
124 color: var(--color-theme-1);