@@ -6,40 +6,35 @@ import { useTranslations } from 'next-intl';
66import type { FC } from 'react' ;
77
88import Button from '@/components/Common/Button' ;
9- import GlowingBackdrop from '@/components/Common/GlowingBackdrop' ;
10- import CenteredLayout from '@/layouts/Centered' ;
9+ import GlowingBackdropLayout from '@/layouts/GlowingBackdrop' ;
1110
1211const NotFoundPage : FC = ( ) => {
1312 const t = useTranslations ( ) ;
1413
1514 return (
16- < CenteredLayout >
17- < GlowingBackdrop />
18-
19- < main >
20- 404
21- < h1 className = "special -mt-4 text-center" >
22- { t ( 'layouts.error.notFound.title' ) }
23- </ h1 >
24- < div className = "my-4 flex h-[150px] items-center justify-center md:h-[300px]" >
25- < div className = "turtle motion-safe:animate-surf motion-reduce:animate-none" >
26- < Image
27- src = "/static/images/node-mascot.svg"
28- alt = "The Node.js mascot"
29- height = { 114.69 }
30- width = { 100 }
31- />
32- </ div >
15+ < GlowingBackdropLayout >
16+ 404
17+ < h1 className = "special -mt-4 text-center" >
18+ { t ( 'layouts.error.notFound.title' ) }
19+ </ h1 >
20+ < div className = "my-4 flex h-[150px] items-center justify-center md:h-[300px]" >
21+ < div className = "turtle motion-safe:animate-surf motion-reduce:animate-none" >
22+ < Image
23+ src = "/static/images/node-mascot.svg"
24+ alt = "The Node.js mascot"
25+ height = { 114.69 }
26+ width = { 100 }
27+ />
3328 </ div >
34- < p className = "-mt-4 max-w-sm text-center text-lg" >
35- { t ( 'layouts.error.notFound.description' ) }
36- </ p >
37- < Button href = "/" >
38- { t ( 'layouts.error.backToHome' ) }
39- < ArrowRightIcon />
40- </ Button >
41- </ main >
42- </ CenteredLayout >
29+ </ div >
30+ < p className = "-mt-4 max-w-sm text-center text-lg" >
31+ { t ( 'layouts.error.notFound.description' ) }
32+ </ p >
33+ < Button href = "/" >
34+ { t ( 'layouts.error.backToHome' ) }
35+ < ArrowRightIcon / >
36+ </ Button >
37+ </ GlowingBackdropLayout >
4338 ) ;
4439} ;
4540
0 commit comments