feat : better ui
CI / Verify (push) Successful in 59s
CI / Build immutable images and deploy (push) Failing after 1m4s

This commit is contained in:
2026-08-31 00:48:33 +07:00 Unverified
parent fd841057c1
commit e3692fe75b
19 changed files with 465 additions and 114 deletions
@@ -50,7 +50,7 @@ export async function GET(
) {
const { guideId } = await context.params;
const guide = await getCachedPublicWeaponExport(guideId);
if (!guide) return new Response("Guide not found", { status: 404 });
if (!guide) return new Response("ไม่พบไกด์", { status: 404 });
const [fonts, weaponImages] = await Promise.all([
anuphanFonts,
@@ -77,7 +77,7 @@ export async function GET(
<div style={{ position: "relative", zIndex: 1, display: "flex", flex: 1, flexDirection: "column", gap: 14 }}>
<div style={{ display: "flex", flexDirection: "column", alignItems: "center", gap: 8, marginBottom: 6 }}>
<div style={{ display: "flex", color: "#f0b72f", fontSize: 16, fontWeight: 700 }}>อาวุธที่แนะนำ</div>
<div style={{ display: "flex", fontSize: 38, fontWeight: 700 }}>Weapons</div>
<div style={{ display: "flex", fontSize: 38, fontWeight: 700 }}>อาวุธ</div>
</div>
{guide.weapons.map((row, index) => (
<div
@@ -140,7 +140,7 @@ export async function GET(
fonts: fonts.length ? fonts : undefined,
headers: {
"Cache-Control": "no-store",
"Content-Disposition": imageContentDisposition(`${guide.guideName} Weapons`, "weapons"),
"Content-Disposition": imageContentDisposition(`${guide.guideName} อาวุธ`, "weapons"),
"Content-Type": "image/png",
},
},