49 lines
2.0 KiB
TypeScript
49 lines
2.0 KiB
TypeScript
"use client"
|
||
|
||
import Link from "next/link"
|
||
import { ModeToggle } from "@/components/theme/mode-toggle"
|
||
import { Button } from "@/components/ui/button"
|
||
import { Search, User } from "lucide-react"
|
||
|
||
export function Header() {
|
||
return (
|
||
<header className="sticky top-0 z-50 w-full border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60">
|
||
<div className="container mx-auto flex h-16 items-center justify-between px-4">
|
||
<div className="flex items-center gap-8">
|
||
<Link href="/" className="flex items-center space-x-2">
|
||
<span className="text-2xl font-black tracking-tight text-blue-600 dark:text-blue-500">
|
||
Nashel
|
||
</span>
|
||
</Link>
|
||
<nav className="hidden md:flex gap-6 items-center text-sm font-medium transition-colors">
|
||
<Link
|
||
href="/map"
|
||
className="flex items-center gap-2 hover:text-blue-600"
|
||
>
|
||
<Search className="h-4 w-4" />
|
||
Поиск
|
||
</Link>
|
||
<Link
|
||
href="/orders"
|
||
className="hover:text-blue-600"
|
||
>
|
||
Мои заказы
|
||
</Link>
|
||
</nav>
|
||
</div>
|
||
|
||
<div className="flex items-center gap-3">
|
||
<ModeToggle />
|
||
<Button variant="ghost" className="hidden sm:flex items-center gap-2">
|
||
<User className="h-4 w-4" />
|
||
Войти
|
||
</Button>
|
||
<Button className="bg-blue-600 hover:bg-blue-700 text-white">
|
||
Стать мастером
|
||
</Button>
|
||
</div>
|
||
</div>
|
||
</header>
|
||
)
|
||
}
|