0
0
Fork 0
This commit is contained in:
Xeltica 2021-09-14 14:28:40 +09:00
parent d06f2384dc
commit 230e952c84
19 changed files with 312 additions and 115 deletions

View file

@ -1,6 +1,7 @@
import React, { useState, useEffect, useCallback } from 'react';
import { BrowserRouter, Link, Route, Switch, useLocation } from 'react-router-dom';
import { Provider } from 'react-redux';
import { useTranslation } from 'react-i18next';
import { IndexPage } from './pages';
import { RankingPage } from './pages/ranking';
@ -46,6 +47,8 @@ const AppInner : React.VFC = () => {
};
}, [osTheme, setOsTheme]);
const {t} = useTranslation();
return (
<>
<div className="container">
@ -57,7 +60,7 @@ const AppInner : React.VFC = () => {
</Switch>
<footer className="text-center pa-5">
<p>(C)2020-2021 Xeltica</p>
<p><Link to="/term"></Link></p>
<p><Link to="/term">{t('termsOfService')}</Link></p>
</footer>
<ModalComponent />
</div>