split pages by divider
This commit is contained in:
parent
141d3d6409
commit
628f81efbe
24
src/App.tsx
24
src/App.tsx
@ -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>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user