From 5f96fd28f2c356f889587ecf263267151fb31f1d Mon Sep 17 00:00:00 2001 From: miteruzo Date: Thu, 17 Jul 2025 12:37:34 +0900 Subject: [PATCH] #24 --- frontend/src/components/ErrorScreen.tsx | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/ErrorScreen.tsx b/frontend/src/components/ErrorScreen.tsx index 240a2e4..c5f82ad 100644 --- a/frontend/src/components/ErrorScreen.tsx +++ b/frontend/src/components/ErrorScreen.tsx @@ -27,18 +27,19 @@ export default ({ status }: Props) => { const title = message.replaceAll ('(', ' (').replaceAll (')', ')') + const style = document.createElement ('style') + style.innerHTML = ` + @font-face + { + font-family: 'MyFont'; + src: url(${ nikumaru }) format('opentype'); + }` + document.head.appendChild (style) + return ( - {title} | {SITE_TITLE}