Skip to content
Source
Sign inSign up
TanStack/cli
Open History to see the last commit

Header.tsx

29 lines881 Bytes

1import { Link } from "@tanstack/react-router";
2​
3import TanchatHeader from "@/integrations/tanchat/header-user";
4​
5export default function Header() {
6 return (
7 <header className="p-4 flex gap-2 bg-black/30 text-white border-b border-orange-500/20 backdrop-blur-md sticky top-0 z-50">
8 <nav className="flex flex-row items-center">
9 <div className="px-4 font-extrabold text-lg">
10 <Link
11 to="/"
12 className="hover:text-orange-400 transition-colors flex flex-row items-center"
13 >
14 <img
15 src="/logo.png"
16 alt="Luna-C Motorcycles"
17 className="w-20 h-20"
18 />
19 <span className="text-2xl font-bold">Luna-C Motorcycles</span>
20 </Link>
21 </div>
22 </nav>
23​
24 <div className="ml-auto">
25 <TanchatHeader />
26 </div>
27 </header>
28 );