Skip to content

Commit 5b434dc

Browse files
committed
feat: navbar
1 parent c8e1b6c commit 5b434dc

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/components/BaseNavbar.astro

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
2-
<nav>
3-
<a href="#">Home</a>
4-
<a href="#">Posts</a>
5-
<a href="#">Contact</a>
6-
</nav>
1+
<header class="fixed top-0 left-0 w-full text-white z-999 p-4 flex items-center justify-between">
2+
<span class="text-xl font-black tracking-widest">
3+
<span class="i-charm-gamepad bg-white"></span> ANDKA
4+
</span>
5+
<a href="mailto:hy@andka.me" class="px-4 py-1 transition-all duration-500 ease-in hover:(text-black bg-green border-transparent) border-2 border-white rounded-xl">Contact</a>
6+
</header>

src/layouts/BaseLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const { title } = Astro.props;
1818
<BaseHead title={title} />
1919
</head>
2020
<body class="bg-primary h-screen font-sans overflow-x-hidden">
21-
<!-- <BaseNavbar /> -->
21+
<BaseNavbar />
2222
<slot />
2323
<!-- <Footer /> -->
2424
</body>

0 commit comments

Comments
 (0)