diff options
-rw-r--r-- | public/index.html | 4 | ||||
-rw-r--r-- | public/manifest.json | 3 | ||||
-rw-r--r-- | src/App.tsx | 5 |
3 files changed, 7 insertions, 5 deletions
diff --git a/public/index.html b/public/index.html index ca4f5ac..b873cca 100644 --- a/public/index.html +++ b/public/index.html @@ -4,10 +4,6 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="theme-color" content="#7289DA" /> - <meta - name="description" - content="Python Discord Forms is the surveying system for the Python Discord server." - /> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> <link rel="mask-icon" href="/branding/safari-pinned-tab.svg" color="#5bbad5" /> diff --git a/public/manifest.json b/public/manifest.json index af23422..f75c71b 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -21,5 +21,6 @@ "start_url": ".", "display": "standalone", "theme_color": "#7289DA", - "background_color": "#23272A" + "background_color": "#23272A", + "description": "Python Discord Forms is the surveying system for the Python Discord server." } diff --git a/src/App.tsx b/src/App.tsx index 523e583..6f1163a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2,6 +2,7 @@ /** @global location */ import React, { Suspense } from "react"; import { jsx, css, Global } from "@emotion/react"; +import { Helmet } from "react-helmet"; import { BrowserRouter as Router, @@ -38,6 +39,10 @@ function PageLoading() { function App(): JSX.Element { return ( <div> + <Helmet> + <meta name="description" content="Python Discord Forms is the surveying system for the Python Discord server."/> + </Helmet> + <Global styles={globalStyles}/> <Router> <Route render={({ location }) => ( |