From: Daniel Karbach Date: Wed, 11 May 2022 13:06:56 +0000 (+0200) Subject: add some links to AoS front page X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=0a5adf255129188e9bdb9e7fc9db31a75123669b;p=alttp.git add some links to AoS front page --- diff --git a/resources/js/components/aos/App.js b/resources/js/components/aos/App.js index 9f00eff..9c57144 100644 --- a/resources/js/components/aos/App.js +++ b/resources/js/components/aos/App.js @@ -3,8 +3,8 @@ import React, { useEffect, useState } from 'react'; import { BrowserRouter, Route, Routes } from 'react-router-dom'; import Header from './Header'; +import AosFront from '../pages/AosFront'; import AosSeed from '../pages/AosSeed'; -import Front from '../pages/Front'; import User from '../pages/User'; import AosBaseRomProvider from '../../helpers/AosBaseRomContext'; import UserContext from '../../helpers/UserContext'; @@ -56,7 +56,7 @@ const App = () => { } /> } /> - } /> + } /> diff --git a/resources/js/components/pages/AosFront.js b/resources/js/components/pages/AosFront.js new file mode 100644 index 0000000..8ae6d8b --- /dev/null +++ b/resources/js/components/pages/AosFront.js @@ -0,0 +1,74 @@ +import React from 'react'; +import { Button, Col, Container, Row } from 'react-bootstrap'; +import { withTranslation } from 'react-i18next'; + +import Icon from '../common/Icon'; +import i18n from '../../i18n'; + +const AosFront = () => +
+

Castlevania: Aria of Sorrow

+
+ + + + + + + + + + + + + + + + + +
; + +export default withTranslation()(AosFront); diff --git a/resources/js/i18n/de.js b/resources/js/i18n/de.js index 2236df2..a8445bd 100644 --- a/resources/js/i18n/de.js +++ b/resources/js/i18n/de.js @@ -5,7 +5,12 @@ export default { baseRomInvalid: 'CRC32 Check fehlgeschlagen (brauche 35:53:61:83). Falsche ROM Datei?', baseRomRemoved: 'Base ROM entfernt.', baseRomSet: 'Base ROM gespeichert.', + inviteBot: 'Bot einladen', + inviteCommand: 'Bot einladen (nur Commands)', + randoDiscord: 'Randomizer Discord', + randoWeb: 'Randomizer Webapp', setBaseRom: 'Base ROM auswählen', + tourneyDiscord: 'Turnier Discord', }, aosSeeds: { date: '{{ date, L LT }}', diff --git a/resources/js/i18n/en.js b/resources/js/i18n/en.js index cbdb523..510d68b 100644 --- a/resources/js/i18n/en.js +++ b/resources/js/i18n/en.js @@ -5,7 +5,12 @@ export default { baseRomInvalid: 'CRC32 mismatch (need 35:53:61:83). Wrong ROM file?', baseRomRemoved: 'Base ROM removed.', baseRomSet: 'Base ROM set.', + inviteBot: 'Invite Bot', + inviteCommand: 'Invite Bot (command only)', + randoDiscord: 'Randomizer Discord', + randoWeb: 'Randomizer Webapp', setBaseRom: 'Set base ROM', + tourneyDiscord: 'Tournament Discord', }, aosSeeds: { date: '{{ date, L LT }}',