diff --git a/client/src/pages/MainPage/MainPage.style.ts b/client/src/pages/MainPage/MainPage.style.ts new file mode 100644 index 000000000..072466744 --- /dev/null +++ b/client/src/pages/MainPage/MainPage.style.ts @@ -0,0 +1,9 @@ +import {css} from '@emotion/react'; + +export const mainContainer = css({ + display: 'flex', + flexDirection: 'column', + justifyContent: 'center', + alignItems: 'center', + width: '100%', +}); diff --git a/client/src/pages/MainPage/MainPage.tsx b/client/src/pages/MainPage/MainPage.tsx index ccd0439fa..911f32457 100644 --- a/client/src/pages/MainPage/MainPage.tsx +++ b/client/src/pages/MainPage/MainPage.tsx @@ -1,45 +1,17 @@ -import {css} from '@emotion/react'; - import useAmplitude from '@hooks/useAmplitude'; import Nav from './Nav/Nav'; -import MainSection from './Section/MainSection'; -import DescriptionSection from './Section/DescriptionSection'; -import FeatureSection from './Section/FeatureSection'; -import CreatorSection from './Section/CreatorSection'; +import {MainSection} from './Section/MainSection'; +import {DescriptionSection} from './Section/DescriptionSection'; +import {FeatureSection} from './Section/FeatureSection'; +import {mainContainer} from './MainPage.style'; const MainPage = () => { const {trackStartCreateEvent} = useAmplitude(); return ( -
-
-
-
-
+
+