Skip to content

Commit 0a8c90c

Browse files
fix(header): change header component to h1
fix(notfound): add footer component to NotFoundPage
1 parent 38d4760 commit 0a8c90c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/src/components/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export const Header = memo(function Header({ stats, onRandom }: HeaderProps) {
8787
<Box component="header" sx={{ textAlign: 'center', mb: 4 }}>
8888
<Typography
8989
variant="h2"
90-
component="div"
90+
component="h1"
9191
sx={{
9292
fontWeight: 700,
9393
fontFamily: '"MonoLisa", "MonoLisa Fallback", monospace',

app/src/pages/NotFoundPage.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { Link } from 'react-router-dom';
22
import { Helmet } from 'react-helmet-async';
33
import Box from '@mui/material/Box';
44
import Typography from '@mui/material/Typography';
5+
import { Footer } from '../components';
56

67
export function NotFoundPage() {
78
return (
@@ -29,6 +30,7 @@ export function NotFoundPage() {
2930
back to pyplots.ai
3031
</Box>
3132
</Box>
33+
<Footer />
3234
</>
3335
);
3436
}

0 commit comments

Comments
 (0)