Rewrite page in Svelte 5 #49
2 changed files with 5 additions and 1 deletions
|
@ -11,3 +11,5 @@ node_modules
|
|||
pnpm-lock.yaml
|
||||
package-lock.json
|
||||
yarn.lock
|
||||
|
||||
/src/lib/components/ui
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue