Skip to content

Commit 340a8c3

Browse files
committed
feat: new top bar style
1 parent 318da6a commit 340a8c3

1 file changed

Lines changed: 27 additions & 24 deletions

File tree

components/NavBar.tsx

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,34 @@ import { GithubIcon } from "lucide-preact";
22

33
export default function NavBar() {
44
return (
5-
<nav class="fixed top-0 w-full bg-white/95 backdrop-blur-md border-b border-gray-200 z-50 shadow-sm">
6-
<div class="container mx-auto px-4 py-4 flex items-center justify-between">
7-
<a href="/" class="flex items-center space-x-3">
8-
<img src="/logo.svg" alt="Andromeda" class="w-8 h-8" />
9-
<span class="text-xl font-bold text-gray-900">Andromeda</span>
10-
</a>
11-
<div class="hidden md:flex items-center space-x-8">
12-
<a
13-
href="/#features"
14-
class="text-gray-600 hover:text-gray-900 transition-colors"
15-
>
16-
Features
17-
</a>
18-
<a
19-
href="/docs"
20-
class="text-gray-600 hover:text-gray-900 transition-colors"
21-
>
22-
Documentation
23-
</a>
24-
<a
25-
href="https://github.com/tryandromeda/andromeda"
26-
class="bg-gray-100 hover:bg-gray-200 text-gray-900 rounded-lg p-2 transition-all duration-200 border border-gray-300"
27-
>
28-
<GithubIcon class="w-5 h-5" />
5+
<nav class="fixed top-4 left-1/2 transform -translate-x-1/2 z-50 w-full max-w-4xl px-4">
6+
<div class="bg-white/60 backdrop-blur-xl border border-gray-300 rounded-2xl shadow-lg px-8 py-3">
7+
<div class="flex items-center justify-between">
8+
<a href="/" class="flex items-center space-x-3">
9+
<img src="/logo.svg" alt="Andromeda" class="w-8 h-8" />
10+
<span class="text-xl font-bold text-gray-900">Andromeda</span>
2911
</a>
12+
13+
<div class="hidden sm:flex items-center space-x-8">
14+
<a
15+
href="/#features"
16+
class="text-gray-700 hover:text-gray-900 transition-colors font-medium"
17+
>
18+
Features
19+
</a>
20+
<a
21+
href="/docs"
22+
class="text-gray-700 hover:text-gray-900 transition-colors font-medium"
23+
>
24+
Documentation
25+
</a>
26+
<a
27+
href="https://github.com/tryandromeda/andromeda"
28+
class="bg-gray-100 hover:bg-gray-200 text-gray-900 rounded-lg p-2 transition-all duration-200 border border-gray-300"
29+
>
30+
<GithubIcon class="w-5 h-5" />
31+
</a>
32+
</div>
3033
</div>
3134
</div>
3235
</nav>

0 commit comments

Comments
 (0)