diff options
Diffstat (limited to 'src/pages/LandingPage.tsx')
-rw-r--r-- | src/pages/LandingPage.tsx | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/pages/LandingPage.tsx b/src/pages/LandingPage.tsx index 16d40c4..4a6e157 100644 --- a/src/pages/LandingPage.tsx +++ b/src/pages/LandingPage.tsx @@ -1,22 +1,23 @@ /** @jsx jsx */ -import { jsx } from "@emotion/core"; +import { css, jsx } from "@emotion/core"; import HeaderBar from "../components/HeaderBar"; import FormListing from "../components/FormListing"; -import OAuth2Button from "../components/OAuth2Button"; function LandingPage() { return <div> <HeaderBar/> - <div css={{marginLeft: "20px"}}> - <h1>Welcome to Python Discord Forms</h1> + <div> - <OAuth2Button/> - - <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> } |