0
0
Fork 0
This commit is contained in:
xeltica 2021-09-01 20:16:26 +09:00
parent dbcfdcd0c3
commit 347a5680ae
4 changed files with 44 additions and 8 deletions

View file

@ -1,5 +1,5 @@
import * as React from 'react'; import * as React from 'react';
import { BrowserRouter, Route, Switch, useLocation } from 'react-router-dom'; import { BrowserRouter, Link, Route, Switch, useLocation } from 'react-router-dom';
import { IndexPage } from './pages'; import { IndexPage } from './pages';
import { RankingPage } from './pages/ranking'; import { RankingPage } from './pages/ranking';
@ -7,6 +7,7 @@ import { Header } from './components/Header';
import 'xeltica-ui/dist/css/xeltica-ui.min.css'; import 'xeltica-ui/dist/css/xeltica-ui.min.css';
import './style.scss'; import './style.scss';
import { TermPage } from './pages/term';
const AppInner : React.VFC = () => { const AppInner : React.VFC = () => {
const $location = useLocation(); const $location = useLocation();
@ -17,9 +18,11 @@ const AppInner : React.VFC = () => {
<Switch> <Switch>
<Route exact path="/" component={IndexPage} /> <Route exact path="/" component={IndexPage} />
<Route exact path="/ranking" component={RankingPage} /> <Route exact path="/ranking" component={RankingPage} />
<Route exact path="/term" component={TermPage} />
</Switch> </Switch>
<footer className="text-center pa-5"> <footer className="text-center pa-5">
(C)2020-2021 Xeltica <p>(C)2020-2021 Xeltica</p>
<p><Link to="/term"></Link></p>
</footer> </footer>
</div> </div>
</> </>

View file

@ -8,7 +8,6 @@ import { HashtagTimeline } from '../components/HashtagTimeline';
import { Header } from '../components/Header'; import { Header } from '../components/Header';
export const IndexPage: React.VFC = () => { export const IndexPage: React.VFC = () => {
return ( return (
<> <>
<Header> <Header>
@ -37,9 +36,6 @@ export const IndexPage: React.VFC = () => {
<div className="body"><HashtagTimeline hashtag="misshaialert"/></div> <div className="body"><HashtagTimeline hashtag="misshaialert"/></div>
</div> </div>
</article> </article>
<footer className="text-center pa-5">
(C)2020-2021 Xeltica
</footer>
</> </>
); );
}; };

View file

@ -5,9 +5,12 @@ import { Ranking } from '../components/Ranking';
export const RankingPage: React.VFC = () => { export const RankingPage: React.VFC = () => {
return ( return (
<article className="xarticle"> <article className="xarticle">
<h2></h2> <h2></h2>
<section> <section>
<p></p> <p>
</p>
<p><strong>() / ()</strong></p> <p><strong>() / ()</strong></p>
<p></p> <p></p>
</section> </section>

View file

@ -0,0 +1,34 @@
import React from 'react';
export const TermPage: React.VFC = () => {
return (
<article className="xarticle">
<h2></h2>
<ul>
<li>
</li>
<li>
Misskey
Misskey
</li>
<li>
使
稿使
</li>
<li>
</li>
<li>
</li>
<li></li>
<li></li>
<li></li>
</ul>
</article>
);
};