Rewrite page in Svelte 5 #49

Merged
Neshura merged 94 commits from rewrite/svelte into main 2024-01-06 14:12:09 +00:00
2 changed files with 5 additions and 1 deletions
Showing only changes of commit 8aa858a49e - Show all commits

View file

@ -11,3 +11,5 @@ node_modules
pnpm-lock.yaml
package-lock.json
yarn.lock
/src/lib/components/ui

View file

@ -12,7 +12,9 @@
<Button
variant="ghost"
href="/"
class="{button} + {$page.url.pathname === '/' ? 'border-primary text-primary' : 'text-accent'}"
class="{button} + {$page.url.pathname === '/'
? 'border-primary text-primary'
: 'text-accent'}"
>
Home
</Button>