Files
nashel-frontend/src/widgets/Header.tsx
Халимов Рустам e73f54feae Рабочая заглушка
2026-02-13 11:07:21 +03:00

49 lines
2.0 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"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>
)
}