Remove Article / Comments, etc thing after name
This commit is contained in:
parent
bf3663bbec
commit
6aa0f78536
|
@ -56,20 +56,7 @@ class App extends React.Component {
|
||||||
<Router>
|
<Router>
|
||||||
<div className='container menu'>
|
<div className='container menu'>
|
||||||
<p>
|
<p>
|
||||||
<Switch>
|
<Link to='/'>QotNews</Link>
|
||||||
<Route path='/' exact>
|
|
||||||
<Link to='/'>QotNews - Feed</Link>
|
|
||||||
</Route>
|
|
||||||
<Route path='/search'>
|
|
||||||
<Link to='/'>QotNews - Search</Link>
|
|
||||||
</Route>
|
|
||||||
<Route path='/:id' exact>
|
|
||||||
<Link to='/'>QotNews - Article</Link>
|
|
||||||
</Route>
|
|
||||||
<Route path='/:id/c'>
|
|
||||||
<Link to='/'>QotNews - Comments</Link>
|
|
||||||
</Route>
|
|
||||||
</Switch>
|
|
||||||
|
|
||||||
<span className='theme'>Theme: <a href='#' onClick={() => this.light()}>Light</a> - <a href='#' onClick={() => this.dark()}>Dark</a></span>
|
<span className='theme'>Theme: <a href='#' onClick={() => this.light()}>Light</a> - <a href='#' onClick={() => this.dark()}>Dark</a></span>
|
||||||
<br />
|
<br />
|
||||||
|
|
Loading…
Reference in New Issue
Block a user