Remove Article / Comments, etc thing after name

This commit is contained in:
Tanner Collin 2022-07-03 18:09:46 +00:00
parent bf3663bbec
commit 6aa0f78536

View File

@ -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 />