Skip to content

Commit 2b2e6a2

Browse files
committed
fix: add z-index and remover unused imports
1 parent bf2191f commit 2b2e6a2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/components/Navbar.svelte

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<script>
2-
import { fade, slide } from "svelte/transition";
32
import Icon from "$components/Icon.svelte";
43
54
const pages = [
@@ -21,7 +20,7 @@
2120
const menu = [...pages, ...social];
2221
</script>
2322

24-
<nav class="fixed top-0 left-0 w-dvw animate-down bg-neutral-950 p-4 text-white drop-shadow-lg drop-shadow-black">
23+
<nav class="fixed top-0 left-0 z-1 w-dvw animate-down bg-neutral-950 p-4 text-white drop-shadow-lg drop-shadow-black">
2524
<div class="mx-auto flex w-full max-w-3xl items-center justify-between">
2625
<a href="/" class="hover:text-neutral-300">Z11</a>
2726
<ul class="flex flex-row gap-4">

0 commit comments

Comments
 (0)