26 lines
1.1 KiB
TypeScript
26 lines
1.1 KiB
TypeScript
import Image from "next/image";
|
|
import Link from "next/link";
|
|
import { SettingsIcon } from "lucide-react";
|
|
|
|
import { Button } from "@/components/ui/button";
|
|
|
|
export function SiteHeader() {
|
|
return (
|
|
<header className="border-b bg-background/95 supports-backdrop-filter:backdrop-blur">
|
|
<div className="mx-auto flex h-16 w-full max-w-7xl items-center justify-between px-4 sm:px-6">
|
|
<Link
|
|
href="/"
|
|
className="flex min-h-11 items-center gap-3 rounded-lg font-heading text-base font-semibold focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
>
|
|
<Image src="/icon.png" alt="" width={36} height={36} className="size-9 object-contain" />
|
|
<span>ไกด์ช่องเกนชินไม่ใช่เกมมือถือ</span>
|
|
</Link>
|
|
<Button variant="ghost" size="sm" nativeButton={false} render={<Link href="/admin" />}>
|
|
<SettingsIcon aria-hidden="true" />
|
|
จัดการเนื้อหา
|
|
</Button>
|
|
</div>
|
|
</header>
|
|
);
|
|
}
|