import Image from "next/image";
import Link from "next/link";
import { Suspense } from "react";
import { PencilIcon } from "lucide-react";
import { Button } from "@/components/ui/button";
import { VisitorPresence } from "@/components/public/visitor-presence";
import { AccountMenu } from "@/components/auth/account-menu";
import { getAdminSession } from "@/lib/auth/server";
async function AdminEditLink({ editHref }: { editHref: string }) {
const isAdmin = Boolean(await getAdminSession());
return isAdmin ? (
} aria-label="ไปหน้าแก้ไข">
ไปหน้าแก้ไข
) : null;
}
export function SiteHeader({ editHref = "/admin", guideId }: { editHref?: string; guideId?: string } = {}) {
return (
ไกด์เกนชินไม่ใช่เกมมือถือ
);
}