+9
app/[locale]/not-found.tsx
+9
app/[locale]/not-found.tsx
···
1
1
'use client';
2
2
3
3
import { ArrowRightIcon } from '@heroicons/react/24/solid';
4
+
import Image from 'next/image';
4
5
import { useTranslations } from 'next-intl';
5
6
import type { FC } from 'react';
6
7
···
17
18
<main>
18
19
404
19
20
<h1 className="special -mt-4">{t('layouts.error.notFound.title')}</h1>
21
+
<div className="my-4 flex items-center justify-center">
22
+
<Image
23
+
src="/static/images/node-mascot.svg"
24
+
alt="The Node.js mascot"
25
+
height={114.69}
26
+
width={100}
27
+
/>
28
+
</div>
20
29
<p className="-mt-4 max-w-sm text-center text-lg">
21
30
{t('layouts.error.notFound.description')}
22
31
</p>