import Image from "next/image"; import Link from "next/link"; import { Suspense } from "react"; import { Button } from "@/components/ui/button"; import { VisitorPresence } from "@/components/public/visitor-presence"; import { getAdminSession } from "@/lib/auth/server"; import { withBasePath } from "@/lib/base-path"; async function AdminEditLink({ editHref }: { editHref: string }) { if (process.env.PUBLIC_MIRROR === "true") return null; const isAdmin = Boolean(await getAdminSession()); return isAdmin ? ( ) : null; } export function SiteHeader({ editHref = "/admin", guideId }: { editHref?: string; guideId?: string } = {}) { return (
ไกด์เกนชินไม่ใช่เกมมือถือ
); }