Add basic navigation bar to server view
This commit is contained in:
parent
8ac8a370f8
commit
109bed4f7d
6 changed files with 49 additions and 11 deletions
|
@ -41,9 +41,9 @@ const App = () => {
|
|||
<div className={'mx-auto w-auto'}>
|
||||
<BrowserRouter basename={'/'}>
|
||||
<Switch>
|
||||
<Route path="/" component={DashboardRouter}/>
|
||||
<Route path="/server/:id" component={ServerRouter}/>
|
||||
<Route path="/auth" component={AuthenticationRouter}/>
|
||||
<Route path="/server/:id/" component={ServerRouter}/>
|
||||
<Route path="/" component={DashboardRouter}/>
|
||||
</Switch>
|
||||
</BrowserRouter>
|
||||
</div>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
import React from 'react';
|
||||
|
||||
export default () => (
|
||||
null
|
||||
<div className={'my-10'}>
|
||||
Test
|
||||
</div>
|
||||
);
|
||||
|
|
Reference in a new issue