diff --git a/src/index.scss b/src/index.scss index 6933251..2ce6764 100644 --- a/src/index.scss +++ b/src/index.scss @@ -17,7 +17,7 @@ body { } body { - padding: 0 1rem; + padding: 0; margin: auto !important; } diff --git a/src/pages/FrontPage/FrontPage.scss b/src/pages/FrontPage/FrontPage.scss index 131ffe0..9e05239 100644 --- a/src/pages/FrontPage/FrontPage.scss +++ b/src/pages/FrontPage/FrontPage.scss @@ -1,5 +1,5 @@ .front-page { display: flex; - flex-flow: row wrap; + flex-flow: column wrap; justify-content: flex-start; } diff --git a/src/pages/FrontPage/FrontPage.tsx b/src/pages/FrontPage/FrontPage.tsx index f1a7587..8f9a6f5 100644 --- a/src/pages/FrontPage/FrontPage.tsx +++ b/src/pages/FrontPage/FrontPage.tsx @@ -7,6 +7,8 @@ import { StaticContext } from "../../server/StaticContext"; // @ts-ignore import * as BeerImage from "../../assets/img/beer.jpeg"; +import PageSection from "../../components/PageSection"; +import { BackgroundColor as PageSectionColor } from "../../components/PageSection/PageSection"; interface FrontPageProps { staticContext: StaticContext; @@ -60,14 +62,20 @@ class FrontPage extends React.Component { const { events } = this.state; return (
- { events.map(event => ( - - ))} + + {events.map(event => ( + + ))} + + + Huumori huiskaus + +
); }