diff options
author | Michael Hunteman <michael@huntm.net> | 2024-03-03 11:56:06 -0800 |
---|---|---|
committer | Michael Hunteman <michael@huntm.net> | 2024-03-03 11:56:06 -0800 |
commit | 535a57ba6c3060193a7a12e05135fffd209c7d97 (patch) | |
tree | e6c3aa2cfd5e6eb97b07e378fb7cbf09adcfb1e6 /src/components | |
parent | 81b6ad9c4bee1bf5839f738bd3976dea8db3a30e (diff) |
Move pages
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/Desktop.tsx | 2 | ||||
-rw-r--r-- | src/components/Mobile.tsx | 2 | ||||
-rw-r--r-- | src/components/pages.ts | 8 |
3 files changed, 2 insertions, 10 deletions
diff --git a/src/components/Desktop.tsx b/src/components/Desktop.tsx index 98cc1dd..35ddc5e 100644 --- a/src/components/Desktop.tsx +++ b/src/components/Desktop.tsx @@ -5,7 +5,7 @@ import DarkModeIcon from '@mui/icons-material/DarkMode'; import LightModeIcon from '@mui/icons-material/LightMode'; import { useTheme } from '@mui/material/styles'; import { ThemeContext } from '../ThemeContextProvider'; -import pages from './pages'; +import pages from '../pages'; function Desktop() { const theme = useTheme(); diff --git a/src/components/Mobile.tsx b/src/components/Mobile.tsx index 02ec354..6c95295 100644 --- a/src/components/Mobile.tsx +++ b/src/components/Mobile.tsx @@ -7,7 +7,7 @@ import LightModeIcon from '@mui/icons-material/LightMode'; import { useTheme } from '@mui/material/styles'; import { ThemeContext } from '../ThemeContextProvider'; import MenuIcon from '@mui/icons-material/Menu'; -import pages from './pages'; +import pages from '../pages'; function Mobile() { const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null); diff --git a/src/components/pages.ts b/src/components/pages.ts deleted file mode 100644 index ce1d29e..0000000 --- a/src/components/pages.ts +++ /dev/null @@ -1,8 +0,0 @@ -const pages = [ - { name: 'Schedule', to: '/schedule'}, - { name: 'RSVP', to: '/guest-login' }, - { name: 'Registry', to: '/registry' }, - { name: 'Admin', to: '/admin' } -]; - -export default pages; |