fix : ai slop

This commit is contained in:
2026-09-01 20:54:54 +07:00 Unverified
parent 10e3bf987f
commit e3345e1d66
12 changed files with 27 additions and 27 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ export async function generateMetadata({ params }: { params: Params }): Promise<
await connection();
const { character, page } = await params;
const guide = await getCachedPublicGuide(character);
return guide ? { title: `${page} — ${guide.name} — คู่มือ`, description: guide.overview } : { title: "ไม่พบไกด์" };
return guide ? { title: `${page} - ${guide.name} - คู่มือ`, description: guide.overview } : { title: "ไม่พบไกด์" };
}
export default async function GuideSectionPage({ params }: { params: Params }) {
+1 -1
View File
@@ -15,7 +15,7 @@ export async function generateMetadata({
await connection();
const guide = await getCachedPublicGuide((await params).character);
return guide
? { title: `${guide.name} — คู่มือ`, description: guide.overview }
? { title: `${guide.name} - คู่มือ`, description: guide.overview }
: { title: "ไม่พบไกด์" };
}
@@ -227,7 +227,7 @@ export async function GET(
<div style={{ display: "flex", fontSize: 17, fontWeight: 700 }}>{stat.label}</div>
<div style={{ display: "flex", width: "100%", borderTop: "1px solid #34343d" }} />
<div style={{ display: "flex", flexDirection: "column", alignItems: "center", gap: 4, fontSize: 14, lineHeight: 1.45 }}>
{stat.values.length ? stat.values.map((value, index) => <span key={`${value}-${index}`} style={{ display: "flex", alignItems: "center", justifyContent: "center", gap: 5, color: statPriorityColor(index), whiteSpace: "normal", wordBreak: "break-word" }}>{recommendedStatAsset(value) ? <img src={recommendedStatAsset(value)!} alt="" width={18} height={18} style={{ objectFit: "contain" }} /> : null}{statLabel(value)}</span>) : "—"}
{stat.values.length ? stat.values.map((value, index) => <span key={`${value}-${index}`} style={{ display: "flex", alignItems: "center", justifyContent: "center", gap: 5, color: statPriorityColor(index), whiteSpace: "normal", wordBreak: "break-word" }}>{recommendedStatAsset(value) ? <img src={recommendedStatAsset(value)!} alt="" width={18} height={18} style={{ objectFit: "contain" }} /> : null}{statLabel(value)}</span>) : "-"}
</div>
</div>
))}
+1 -1
View File
@@ -4,7 +4,7 @@ import {
ogImageSize,
} from "@/lib/og-image";
export const alt = "Buzz Guide — คู่มือเกนชินสาธารณะที่เตรียมไว้ให้คุณ";
export const alt = "Buzz Guide - คู่มือเกนชินสาธารณะที่เตรียมไว้ให้คุณ";
export const size = ogImageSize;
export const contentType = ogImageContentType;