split pages by divider

This commit is contained in:
nflnkr 2022-12-09 15:03:27 +03:00
parent 141d3d6409
commit 628f81efbe

@ -1,4 +1,5 @@
import { CssBaseline, ThemeProvider } from "@mui/material";
import { styled } from "@mui/material/styles";
import CreateQuiz from "./components/CreateQuiz/CreateQuiz";
import FirstQuiz from "./components/FirstQuiz";
import MyQuizzes from "./components/MyQuizzes";
@ -7,17 +8,28 @@ import NavbarCreateQuiz from "./components/Navbar/NavbarCreateQuiz";
import QuizGallery from "./components/QuizGallery";
import lightTheme from "./utils/themes/light";
const Divider = styled("div")(() => ({
height: "30px",
backgroundColor: "black",
}));
function App() {
return (
<ThemeProvider theme={lightTheme}>
<CssBaseline />
{/* <Navbar isLoggedIn={true} /> */}
{/* <FirstQuiz /> */}
{/* <MyQuizzes /> */}
<Navbar isLoggedIn={true} />
<FirstQuiz />
<Divider />
<MyQuizzes />
<Divider />
<QuizGallery />
{/* ______ */}
{/* <NavbarCreateQuiz /> */}
{/* <CreateQuiz /> */}
<Divider />
<NavbarCreateQuiz />
<CreateQuiz />
</ThemeProvider>
);
}