This commit is contained in:
2025-07-17 12:37:34 +09:00
parent 9a405a1113
commit 5f96fd28f2
+9 -8
View File
@@ -27,18 +27,19 @@ export default ({ status }: Props) => {
const title = message.replaceAll ('', ' (').replaceAll ('', ')') const title = message.replaceAll ('', ' (').replaceAll ('', ')')
return ( const style = document.createElement ('style')
<MainArea> style.innerHTML = `
<Helmet>
<meta name="robots" content="noindex" />
<style>
{`
@font-face @font-face
{ {
font-family: 'MyFont'; font-family: 'MyFont';
src: url(${ nikumaru }) format('opentype'); src: url(${ nikumaru }) format('opentype');
}`} }`
</style> document.head.appendChild (style)
return (
<MainArea>
<Helmet>
<meta name="robots" content="noindex" />
<title>{title} | {SITE_TITLE}</title> <title>{title} | {SITE_TITLE}</title>
</Helmet> </Helmet>
<div className="text-6xl font-bold text-transparent whitespace-nowrap <div className="text-6xl font-bold text-transparent whitespace-nowrap