Enhance NotFound404 component with centered 404 image and updated styling
This commit is contained in:
BIN
public/assets/images/404.png
Normal file
BIN
public/assets/images/404.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 MiB |
@@ -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>
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user