-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor page and sales policy components
- Loading branch information
1 parent
1ca7701
commit 42b686b
Showing
2 changed files
with
34 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,19 @@ | ||
"use client"; | ||
import Footer from "@/components/Footer"; | ||
import Main from "@/components/Main"; | ||
import { Box, ThemeProvider, createTheme } from "@mui/material"; | ||
import { Box } from "@mui/material"; | ||
|
||
export default function App() { | ||
const theme = createTheme({ | ||
palette: {}, | ||
}); | ||
return ( | ||
<ThemeProvider theme={theme}> | ||
<Box | ||
sx={{ | ||
display: "grid", | ||
placeItems: "center", // Center the content horizontally and vertically | ||
minHeight: "100vh", // Set a minimum height to fill the entire viewport | ||
}} | ||
> | ||
<Main /> | ||
<Footer /> | ||
</Box> | ||
</ThemeProvider> | ||
<Box | ||
sx={{ | ||
display: "grid", | ||
placeItems: "center", // Center the content horizontally and vertically | ||
minHeight: "100vh", // Set a minimum height to fill the entire viewport | ||
}} | ||
> | ||
<Main /> | ||
<Footer /> | ||
</Box> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters