From: Daniel Karbach Date: Thu, 12 May 2022 10:30:45 +0000 (+0200) Subject: update front page title on navigate X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=b905eab9477d46972c3fb09d25ae3bee5480c6d4;p=alttp.git update front page title on navigate --- diff --git a/resources/js/components/pages/AosFront.js b/resources/js/components/pages/AosFront.js index 8ae6d8b..d308f7d 100644 --- a/resources/js/components/pages/AosFront.js +++ b/resources/js/components/pages/AosFront.js @@ -5,70 +5,80 @@ import { withTranslation } 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`; + +const AosFront = () => { + React.useEffect(() => { + window.document.title = 'Aos'; + }, []); + return +
+

Castlevania: Aria of Sorrow

+
+ + + + + + + + + + + + + + + + + +
; +}; export default withTranslation()(AosFront);