-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathNavbar.tsx
More file actions
39 lines (37 loc) · 1.41 KB
/
Navbar.tsx
File metadata and controls
39 lines (37 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
"use client";
import Link from "next/link";
import { ConnectWallet } from "./ConnectWallet";
import { ThemeToggle } from "./ThemeToggle";
export function Navbar() {
return (
<nav className="bg-white dark:bg-gray-900 shadow-sm border-b border-gray-200 dark:border-gray-700 transition-colors duration-200">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="flex justify-between h-16 items-center">
<div className="flex items-center space-x-8">
<Link href="/" className="text-xl font-bold text-primary-700 dark:text-primary-400">
SoroSave
</Link>
<div className="hidden sm:flex space-x-4">
<Link
href="/groups"
className="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white px-3 py-2 text-sm font-medium transition-colors"
>
Groups
</Link>
<Link
href="/groups/new"
className="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white px-3 py-2 text-sm font-medium transition-colors"
>
Create Group
</Link>
</div>
</div>
<div className="flex items-center space-x-4">
<ThemeToggle />
<ConnectWallet />
</div>
</div>
</div>
</nav>
);
}