From cced46237dc28c7a687e48e144dd60a1ff7daf58 Mon Sep 17 00:00:00 2001
From: Hassan Abouelela <hassan@hassanamr.com>
Date: Fri, 11 Jun 2021 00:16:18 +0300
Subject: Moves Description Metadata

Moves the description meta tag into a helmet managed context, to allow
subpages to override it.
---
 src/App.tsx | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'src/App.tsx')

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

