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 pnpm-lock.yaml
package-lock.json package-lock.json
yarn.lock yarn.lock
/src/lib/components/ui

View file

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