Showing
1 changed file
with
13 additions
and
9 deletions
1 | import React from "react"; | 1 | import React from "react"; |
2 | import GlobalStyles from "../Styles/GlobalStyles"; | 2 | import GlobalStyles from "../Styles/GlobalStyles"; |
3 | -import Header from "./Header"; | 3 | +import { ThemeProvider } from "styled-components"; |
4 | -import Image from "./Image"; | 4 | +import Theme from "../Styles/Theme"; |
5 | -import Grid from "./Grid"; | 5 | +import MenuBar from "./MenuList/MenuBar"; |
6 | +import SubMenuBar from "./SubMenuList/SubMenuBar"; | ||
7 | +import MainScreen from "./Main/MainScreen"; | ||
6 | 8 | ||
7 | export default () => { | 9 | export default () => { |
8 | return ( | 10 | return ( |
9 | - <> | 11 | + <ThemeProvider theme={Theme}> |
10 | - <GlobalStyles /> | 12 | + <> |
11 | - <Header /> | 13 | + <GlobalStyles /> |
12 | - <Image /> | 14 | + <MenuBar /> |
13 | - <Grid /> | 15 | + <SubMenuBar /> |
14 | - </> | 16 | + <MainScreen /> |
17 | + </> | ||
18 | + </ThemeProvider> | ||
15 | ); | 19 | ); |
16 | }; | 20 | }; | ... | ... |
-
Please register or login to post a comment