parch-cast/components/header.tsx

36 lines
1.2 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 { Button } from "@/components/ui/button";
import { Menu, Search } from "lucide-react";
import Image from "next/image";
export default function Header() {
return (
<div className="container mx-auto left-1/2 -translate-x-1/2 fixed w-full z-10">
<header className="px-4 md:px-6 flex h-20 w-full shrink-0 items-center justify-between">
<div className="flex gap-2">
<Button variant="ghost" className="px-2 py-1">
<Menu />
منو
</Button>
<Button variant="ghost" className="px-2 py-1">
<Search />
جستجو
</Button>
</div>
<div className="flex items-center">
<Image src={"/logo.png"} width={30} height={30} alt="logo" />
<h1 className="font-bold tracking-tighter leading-normal pe-2 text-xl text-parch">
پارچ کست
</h1>
</div>
<div className="flex gap-2">
<Button variant="outline" className="px-2 py-1">
ورود
</Button>
<Button className="px-2 py-1 bg-parch">مشترک شوید</Button>
</div>
</header>
</div>
);
}