1
0
mirror of https://github.com/byulmaru/quesdon synced 2024-11-27 14:28:04 +09:00

remove beta

This commit is contained in:
rinsuki 2018-01-20 21:58:52 +09:00
parent 7410851b14
commit a28ef66128
3 changed files with 1 additions and 33 deletions

View File

@ -11,7 +11,6 @@ import PageUserQuestion from "./pages/user/question";
import PageLatest from "./pages/latest";
import { me } from "../initial-state"
import PageMyFollowers from "./pages/my/followers";
import PageBetaHelp from "./pages/beta-help"
import PageNotfound from "./pages/notfound"
import PageMySettings from "./pages/my/settings"
import Footer from "./footer";
@ -31,7 +30,6 @@ export default class App extends React.Component<Props> {
<Route exact path="/" component={PageIndex}/>
<Route exact path="/latest" component={PageLatest}/>
<Route exact path="/login" component={PageLogin}/>
<Route exact path="/beta-help" component={PageBetaHelp}/>
{!me && <Redirect from="/my" to="/login"/>}
<Route exact path="/my" component={PageMyIndex}/>
<Route exact path="/my/questions" component={PageMyQuestions}/>

View File

@ -22,13 +22,10 @@ export default class Header extends React.Component<Props, State> {
}
render() {
return <Navbar light expand="md" color="light"><Container>
<NavbarBrand to="/">Quesdon βserver</NavbarBrand>
<NavbarBrand to="/">Quesdon</NavbarBrand>
<NavbarToggler onClick={this.toggle.bind(this)} />
<Collapse navbar isOpen={this.state.isOpen}>
<Nav className="mr-auto" navbar>
<NavItem>
<NavLink to="/beta-help">β</NavLink>
</NavItem>
<NavItem>
{this.props.userInfo
? <NavLink to="/my">@{this.props.userInfo.acct}</NavLink>

View File

@ -1,27 +0,0 @@
import * as React from "react"
import { Link } from "react-router-dom";
import Title from "../common/title";
export default class PageBetaHelp extends React.Component {
render() {
return <div>
<Title>β</Title>
<h1>β</h1>
<ul>
<li></li>
<li></li>
<li> <Link to="/@quesdon@mstdn.jp"></Link> Mastodonで <code>@quesdon@mstdn.jp</code>
<ul>
<li>(使,OSのバージョン)</li>
<li>URL</li>
<li></li>
<li></li>
</ul>
<br />
</li>
<li>退<Link to="/@quesdon@mstdn.jp"></Link> </li>
</ul>
</div>
}
}