|  | 
|  | 1 | +'use client'; | 
|  | 2 | + | 
|  | 3 | +import { NextIntlClientProvider } from 'next-intl'; | 
| 1 | 4 | import type { FC } from 'react'; | 
| 2 | 5 | 
 | 
| 3 | 6 | import Button from '#site/components/Common/Button'; | 
| 4 | 7 | import Turtle from '#site/components/Common/Turtle'; | 
| 5 | 8 | import BaseLayout from '#site/layouts/Base'; | 
| 6 | 9 | import GlowingBackdropLayout from '#site/layouts/GlowingBackdrop'; | 
|  | 10 | +import { ThemeProvider } from '#site/providers/themeProvider'; | 
| 7 | 11 | 
 | 
| 8 | 12 | const NotFoundPage: FC = () => ( | 
| 9 | 13 |   <html> | 
| 10 | 14 |     <body> | 
| 11 |  | -      <BaseLayout> | 
| 12 |  | -        <GlowingBackdropLayout kind="default"> | 
| 13 |  | -          <span>404</span> | 
|  | 15 | +      <NextIntlClientProvider> | 
|  | 16 | +        <ThemeProvider> | 
|  | 17 | +          <BaseLayout> | 
|  | 18 | +            <GlowingBackdropLayout kind="default"> | 
|  | 19 | +              <span>404</span> | 
| 14 | 20 | 
 | 
| 15 |  | -          <h1 className="special -mt-4 text-center">Page could not be found</h1> | 
|  | 21 | +              <h1 className="special -mt-4 text-center"> | 
|  | 22 | +                Page could not be found | 
|  | 23 | +              </h1> | 
| 16 | 24 | 
 | 
| 17 |  | -          <div className="my-4 flex h-[150px] items-center justify-center md:h-[300px]"> | 
| 18 |  | -            <Turtle /> | 
| 19 |  | -          </div> | 
|  | 25 | +              <div className="my-4 flex h-[150px] items-center justify-center md:h-[300px]"> | 
|  | 26 | +                <Turtle /> | 
|  | 27 | +              </div> | 
| 20 | 28 | 
 | 
| 21 |  | -          <p className="-mt-4 max-w-sm text-center text-lg"> | 
| 22 |  | -            Sorry, we couldn't find the page you're after! Try starting again | 
| 23 |  | -            from the homepage. | 
| 24 |  | -          </p> | 
|  | 29 | +              <p className="-mt-4 max-w-sm text-center text-lg"> | 
|  | 30 | +                Sorry, we couldn't find the page you're after! Try starting | 
|  | 31 | +                again from the homepage. | 
|  | 32 | +              </p> | 
| 25 | 33 | 
 | 
| 26 |  | -          <Button href="/">Back to Home</Button> | 
| 27 |  | -        </GlowingBackdropLayout> | 
| 28 |  | -      </BaseLayout> | 
|  | 34 | +              <Button href="/">Back to Home</Button> | 
|  | 35 | +            </GlowingBackdropLayout> | 
|  | 36 | +          </BaseLayout> | 
|  | 37 | +        </ThemeProvider> | 
|  | 38 | +      </NextIntlClientProvider> | 
| 29 | 39 |     </body> | 
| 30 | 40 |   </html> | 
| 31 | 41 | ); | 
|  | 
0 commit comments