X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fpages%2FAosFront.js;h=9651110d3c80e134e88cb73e4de8472ea09c0019;hb=18cd02860ba7889360ce3547b44faa0daa807a5e;hp=8ae6d8b912737b0cb3993fae563b081d1dad1ab2;hpb=0a5adf255129188e9bdb9e7fc9db31a75123669b;p=alttp.git diff --git a/resources/js/components/pages/AosFront.js b/resources/js/components/pages/AosFront.js index 8ae6d8b..9651110 100644 --- a/resources/js/components/pages/AosFront.js +++ b/resources/js/components/pages/AosFront.js @@ -1,74 +1,87 @@ import React from 'react'; import { Button, Col, Container, Row } from 'react-bootstrap'; -import { withTranslation } from 'react-i18next'; +import { Helmet } from 'react-helmet'; +import { useTranslation } from 'react-i18next'; import Icon from '../common/Icon'; -import i18n from '../../i18n'; -const AosFront = () => -
-

Castlevania: Aria of Sorrow

-
- - - - - - - - - - - - - - - - - -
; +const authEndpoint = 'https://discord.com/oauth2/authorize'; +const clientId = '951113702839549982'; +const botUrl = `${authEndpoint}?client_id=${clientId}&scope=bot%20applications.commands`; +const commandUrl = `${authEndpoint}?client_id=${clientId}&scope=applications.commands`; -export default withTranslation()(AosFront); +const AosFront = () => { + const { t } = useTranslation(); + + return + + AoS + + +
+

Castlevania: Aria of Sorrow

+
+ + + + + + + + + + + + + + + + + +
; +}; + +export default AosFront;