Skip to content

Commit 11c092b

Browse files
add mascot to 404 (#6481)
* add mascot to old location this might change * pivot to 404 * Update app/[locale]/not-found.tsx Co-authored-by: Caner Akdas <[email protected]> Signed-off-by: Brian Muenzenmeyer <[email protected]> --------- Signed-off-by: Brian Muenzenmeyer <[email protected]> Co-authored-by: Caner Akdas <[email protected]>
1 parent ae66dd2 commit 11c092b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

app/[locale]/not-found.tsx

+9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use client';
22

33
import { ArrowRightIcon } from '@heroicons/react/24/solid';
4+
import Image from 'next/image';
45
import { useTranslations } from 'next-intl';
56
import type { FC } from 'react';
67

@@ -17,6 +18,14 @@ const NotFoundPage: FC = () => {
1718
<main>
1819
404
1920
<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>
2029
<p className="-mt-4 max-w-sm text-center text-lg">
2130
{t('layouts.error.notFound.description')}
2231
</p>

0 commit comments

Comments
 (0)