summaryrefslogtreecommitdiff
path: root/src/components/NavBar.tsx
diff options
context:
space:
mode:
authorMichael Hunteman <michael@huntm.net>2024-05-17 15:20:30 -0700
committerMichael Hunteman <michael@huntm.net>2024-05-17 15:20:30 -0700
commit7103019890960e793deefb64987a09b33be60b42 (patch)
treec1c9402aa250c68b2cbe13d62598232bbf20b1e2 /src/components/NavBar.tsx
parentfc5c111bcfe296bec82e1cf9fdb88fc80fb24f89 (diff)
Add golang server
Diffstat (limited to 'src/components/NavBar.tsx')
-rw-r--r--src/components/NavBar.tsx29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/components/NavBar.tsx b/src/components/NavBar.tsx
deleted file mode 100644
index 52e8e6c..0000000
--- a/src/components/NavBar.tsx
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { Link } from 'react-router-dom';
-import { AppBar, Toolbar, Typography } from '@mui/material';
-import useMediaQuery from '@mui/material/useMediaQuery';
-import Desktop from './Desktop';
-import Mobile from './Mobile';
-
-function NavBar() {
- const isMobile = useMediaQuery('(max-width: 768px)');
-
- return (
- <AppBar position="relative">
- <Toolbar>
- <Typography
- variant="h5"
- component={Link}
- to="/"
- color="inherit"
- sx={{ textDecoration: 'none' }}
- >
- Madison and Michael's Wedding
- </Typography>
- {isMobile ? <Mobile /> : <Desktop />}
- </Toolbar>
- </AppBar>
- );
-}
-
-export default NavBar;