From 5a9fd83967c4bf425e77f5882c627501cb4dd70e Mon Sep 17 00:00:00 2001
From: Joe Banks <joseph@josephbanks.me>
Date: Mon, 28 Sep 2020 20:11:01 +0100
Subject: Use Uni Sans font for header

---
 src/pages/LandingPage.tsx | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'src/pages/LandingPage.tsx')

diff --git a/src/pages/LandingPage.tsx b/src/pages/LandingPage.tsx
index 16d40c4..37785a6 100644
--- a/src/pages/LandingPage.tsx
+++ b/src/pages/LandingPage.tsx
@@ -3,7 +3,6 @@ import { jsx } from "@emotion/core";
 
 import HeaderBar from "../components/HeaderBar";
 import FormListing from "../components/FormListing";
-import OAuth2Button from "../components/OAuth2Button";
 
 function LandingPage() {
   return <div>
@@ -11,8 +10,6 @@ function LandingPage() {
     <div css={{marginLeft: "20px"}}>
       <h1>Welcome to Python Discord Forms</h1>
 
-      <OAuth2Button/>
-
       <h3>Available forms</h3>
 
       <FormListing title="Ban Appeals" description="Appealing bans from the Discord server" open={true}/>
-- 
cgit v1.2.3


From 893bad80bca81f30edb4969ccda9a8db205f2855 Mon Sep 17 00:00:00 2001
From: Joe Banks <joseph@josephbanks.me>
Date: Mon, 28 Sep 2020 20:53:01 +0100
Subject: Change landing page structure to be centered

---
 src/pages/LandingPage.tsx | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

(limited to 'src/pages/LandingPage.tsx')

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>
 }
-- 
cgit v1.2.3

