The Node.js® Website

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 <canerakdas@gmail.com>
Signed-off-by: Brian Muenzenmeyer <brian.muenzenmeyer@gmail.com>

---------

Signed-off-by: Brian Muenzenmeyer <brian.muenzenmeyer@gmail.com>
Co-authored-by: Caner Akdas <canerakdas@gmail.com>

authored by Brian Muenzenmeyer Caner Akdas and committed by GitHub 11c092b6 ae66dd2f

Changed files
+9
app
[locale]
+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>