Enhance NotFound404 component with centered 404 image and updated styling

This commit is contained in:
seb
2025-07-03 00:12:12 +02:00
parent de51f5f409
commit 8884255696
2 changed files with 19 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

View File

@@ -1,11 +1,28 @@
import React from 'react'; import React from 'react';
import { Typography } from '@mui/material'; import { Typography, Box } from '@mui/material';
import LegalPage from './LegalPage.js'; import LegalPage from './LegalPage.js';
const NotFound404 = () => { const NotFound404 = () => {
const content = ( const content = (
<> <>
<Typography variant="body1" paragraph> <Box
sx={{
display: 'flex',
justifyContent: 'center',
mb: 3,
}}
>
<img
src="/assets/images/404.png"
alt="404 - Page Not Found"
style={{
maxWidth: '100%',
height: 'auto',
maxHeight: '300px',
}}
/>
</Box>
<Typography variant="body1" paragraph align="center">
This page is no longer available. This page is no longer available.
</Typography> </Typography>
</> </>