aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/LandingPage.tsx24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/pages/LandingPage.tsx b/src/pages/LandingPage.tsx
new file mode 100644
index 0000000..16d40c4
--- /dev/null
+++ b/src/pages/LandingPage.tsx
@@ -0,0 +1,24 @@
+/** @jsx jsx */
+import { 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>
+
+ <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>
+ </div>
+}
+
+export default LandingPage;