diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pages/LandingPage.tsx | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/pages/LandingPage.tsx b/src/pages/LandingPage.tsx index 37785a6..4a6e157 100644 --- a/src/pages/LandingPage.tsx +++ b/src/pages/LandingPage.tsx @@ -1,5 +1,5 @@ /** @jsx jsx */ -import { jsx } from "@emotion/core"; +import { css, jsx } from "@emotion/core"; import HeaderBar from "../components/HeaderBar"; import FormListing from "../components/FormListing"; @@ -7,13 +7,17 @@ import FormListing from "../components/FormListing"; function LandingPage() { return <div> <HeaderBar/> - <div css={{marginLeft: "20px"}}> - <h1>Welcome to Python Discord Forms</h1> + <div> - <h3>Available forms</h3> - - <FormListing title="Ban Appeals" description="Appealing bans from the Discord server" open={true}/> - <FormListing title="Insights 2020" description="Insights about the Python Discord community" open={false}/> + <div css={css` + display: flex; + align-items: center; + flex-direction: column; + `}> + <h1>Available Forms</h1> + <FormListing title="Ban Appeals" description="Appealing bans from the Discord server" open={true}/> + <FormListing title="Insights 2020" description="Insights about the Python Discord community" open={false}/> + </div> </div> </div> } |