import Link from "next/link"; import { Suspense } from "react"; import { connection } from "next/server"; import { SiteFooter } from "@/components/public/site-footer"; import { SiteHeader } from "@/components/public/site-header"; import { StygianGuide } from "@/components/public/stygian-guide"; import { LiveRefresh } from "@/components/live-refresh"; import { CommentBoardContent } from "@/components/comments/comment-board-content"; import { CommentBoardSkeleton } from "@/components/comments/comment-skeleton"; import { Empty, EmptyDescription, EmptyHeader, EmptyTitle } from "@/components/ui/empty"; import { buttonVariants } from "@/components/ui/button"; import { getCachedStygianSchedule, getCachedStygianSchedules } from "@/lib/cache/stygian"; import { getActiveCatalog } from "@/lib/guides/queries"; export const instant = false; export default async function StygianPage({ searchParams }: { searchParams: Promise> }) { await connection(); const query = await searchParams; const schedules = await getCachedStygianSchedules(); const rawSchedule = Array.isArray(query.schedule) ? query.schedule[0] : query.schedule; const requestedId = Number(rawSchedule); const selectedId = schedules.some((entry) => entry.scheduleId === requestedId) ? requestedId : schedules[0]?.scheduleId; const [schedule, catalog] = await Promise.all([selectedId ? getCachedStygianSchedule(selectedId) : null, getActiveCatalog()]); return (

Stygian Onslaught

ไกด์ Stygian

เลือกเวอร์ชัน ระดับบอส และบอสที่ต้องการดู เพื่ออ่านทีมแนะนำและกลไกของบอส

{schedules.length ?

เลือกเวอร์ชัน

: null} {schedule && catalog ? : ( ยังไม่มีไกด์ Stygianกำลังเตรียมข้อมูล กลับมาอ่านได้ภายหลัง หรือเลือกไกด์ตัวละครระหว่างรอเลือกไกด์ตัวละคร )} {schedule &&
}>
}
); }