Enhance NotFound404 component with centered 404 image and updated styling
This commit is contained in:
@@ -1,11 +1,28 @@
|
||||
import React from 'react';
|
||||
import { Typography } from '@mui/material';
|
||||
import { Typography, Box } from '@mui/material';
|
||||
import LegalPage from './LegalPage.js';
|
||||
|
||||
const NotFound404 = () => {
|
||||
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.
|
||||
</Typography>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user