fix(site): add explicit not-found page
All checks were successful
ci / build (push) Successful in 41s

This commit is contained in:
Yun Chan 2026-08-30 18:24:48 +09:00
parent 82e8c8f8ae
commit 7ef9106723
3 changed files with 274 additions and 3 deletions

View file

@ -11,9 +11,10 @@ interface Props {
title: string;
description: string;
translationPath?: string | null;
noindex?: boolean;
}
const { lang, title, description } = Astro.props;
const { lang, title, description, noindex = false } = Astro.props;
const copy = lang === "ko" ? landingKo : landingEn;
const socialPreview = lang === "ko" ? socialPreviewKo : socialPreviewEn;
const socialPreviewAlt = lang === "ko"
@ -67,6 +68,7 @@ const schema = isHome
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{title}</title>
<meta name="description" content={description} />
{noindex && <meta name="robots" content="noindex, follow" />}
<meta name="theme-color" content="#f2f1eb" />
<meta name="color-scheme" content="light" />
<link rel="icon" href={favicon} />