みてるぞ 3 days ago
parent
commit
5f96fd28f2
1 changed files with 9 additions and 8 deletions
  1. +9
    -8
      frontend/src/components/ErrorScreen.tsx

+ 9
- 8
frontend/src/components/ErrorScreen.tsx View File

@@ -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 (
<MainArea>
<Helmet>
<meta name="robots" content="noindex" />
<style>
{`
@font-face
{
font-family: 'MyFont';
src: url(${ nikumaru }) format('opentype');
}`}
</style>
<title>{title} | {SITE_TITLE}</title>
</Helmet>
<div className="text-6xl font-bold text-transparent whitespace-nowrap


Loading…
Cancel
Save