feat(ui) : improve guide navigation, signup, and commissions

This commit is contained in:
2026-10-07 04:39:57 +07:00 Unverified
parent b35c1a4471
commit 22f5f96231
31 changed files with 737 additions and 400 deletions
+5 -3
View File
@@ -117,10 +117,12 @@ export function StygianBossCard({
boss,
level,
children,
mechanicsId,
}: {
boss: StygianBossDisplay;
level: 105 | 110;
children: ReactNode;
mechanicsId?: string;
}) {
return (
<Card>
@@ -128,14 +130,14 @@ export function StygianBossCard({
<header className="text-center">
<h2 className="font-heading text-lg font-semibold">{boss.name}</h2>
<p className="mt-1 text-sm text-muted-foreground">
Level {level} - HP {Math.round(boss.hp).toLocaleString("en-US")}
เลเวล {level} · HP {Math.round(boss.hp).toLocaleString("en-US")}
</p>
</header>
<div className="flex min-w-0 flex-col gap-5">
{children}
<Accordion>
<Accordion id={mechanicsId} defaultValue={mechanicsId ? ["overview"] : undefined} className="scroll-mt-6">
<AccordionItem value="overview">
<AccordionTrigger>Boss overview</AccordionTrigger>
<AccordionTrigger>ข้อมูลและกลไกของบอส</AccordionTrigger>
<AccordionContent className="whitespace-pre-line text-muted-foreground">
<LunarisText
nodes={parseLunarisText(boss.description)}