]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/pages/TwitchLegal.js
twitch legal page
[alttp.git] / resources / js / pages / TwitchLegal.js
diff --git a/resources/js/pages/TwitchLegal.js b/resources/js/pages/TwitchLegal.js
new file mode 100644 (file)
index 0000000..197a5cb
--- /dev/null
@@ -0,0 +1,17 @@
+import React from 'react';
+import { Container } from 'react-bootstrap';
+import { Helmet } from 'react-helmet';
+import { useTranslation } from 'react-i18next';
+
+export const Component = () => {
+       const { t } = useTranslation();
+
+       return <Container>
+               <h1>{t('twitchLegal.heading')}</h1>
+               <Helmet>
+                       <title>{t('twitchLegal.heading')}</title>
+               </Helmet>
+               <p>{t('twitchLegal.p1')}</p>
+               <p>{t('twitchLegal.p2')}</p>
+       </Container>;
+};