Migrate from previous project with updated dependencies ready for March 2025
This commit is contained in:
13
src/components/NavButton.svelte
Normal file
13
src/components/NavButton.svelte
Normal file
@@ -0,0 +1,13 @@
|
||||
<script>
|
||||
import { Button } from 'bits-ui';
|
||||
let { href, children } = $props();
|
||||
</script>
|
||||
|
||||
<a {href}>
|
||||
<Button.Root
|
||||
class="border-ecsess-black hover:border-ecsess-200 active:border-ecsess-400 border-b-4 px-6 py-2
|
||||
font-semibold transition-all"
|
||||
>
|
||||
{@render children()}
|
||||
</Button.Root>
|
||||
</a>
|
||||
Reference in New Issue
Block a user