Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit

Permalink
update 6 files
Browse files Browse the repository at this point in the history
  • Loading branch information
manuthecoder committed Oct 25, 2022
1 parent 143e0db commit 67268de
Show file tree
Hide file tree
Showing 12 changed files with 9,525 additions and 2,277 deletions.
32 changes: 31 additions & 1 deletion components/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
import AppBar from "@mui/material/AppBar";
import Toolbar from "@mui/material/Toolbar";
import Box from "@mui/material/Box";
import { green } from "@mui/material/colors";
import Avatar from "@mui/material/Avatar";

export function Layout({ children }) {
return <Box>{children}</Box>;
return (
<>
<AppBar
elevation={0}
sx={{
background: green[100],
color: "black",
}}
>
<Toolbar>
<Box sx={{ flexGrow: 1 }}>Flextime appointments</Box>
<Box>
<Avatar
sx={{
width: 35,
height: 35,
borderRadius: 3,
background: green[300],
}}
/>
</Box>
</Toolbar>
</AppBar>
<Toolbar />
{children}
</>
);
}
7 changes: 7 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const withPWA = require('next-pwa')({
dest: 'public'
})

module.exports = withPWA({
// next.js config
})
Loading

0 comments on commit 67268de

Please sign in to comment.