diff options
author | Determinant <ted.sybil@gmail.com> | 2019-03-09 02:27:25 -0500 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2019-03-09 02:27:25 -0500 |
commit | c708974653742af62f8519d2d6f9b8804376ee52 (patch) | |
tree | c41d7a18383f273332974c4b44804874b1a61037 /src/Dashboard.tsx | |
parent | 41ecf87dfeab564bd0ab59e652123b7450d6a8ef (diff) |
add about page
Diffstat (limited to 'src/Dashboard.tsx')
-rw-r--r-- | src/Dashboard.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Dashboard.tsx b/src/Dashboard.tsx index f514b38..f9e7274 100644 --- a/src/Dashboard.tsx +++ b/src/Dashboard.tsx @@ -16,6 +16,7 @@ import { theme } from './theme'; import Logo from './Logo'; import Analyze from './Analyze'; import Settings from './Settings'; +import About from './About'; const styles = (theme: Theme) => ({ root: { @@ -103,6 +104,7 @@ class DashboardTabs extends React.Component<DashboardTabsProps> { onChange={this.handleChangeTab}> <Tab label="Settings" {...{component: Link, to: "/settings"} as any} value="/settings" /> <Tab label="Analyze" {...{component: Link, to: "/analyze"} as any} value="/analyze" /> + <Tab label="About" {...{component: Link, to: "/about"} as any} value="/about" /> </Tabs> </Toolbar> </AppBar> @@ -124,6 +126,7 @@ class DashboardTabs extends React.Component<DashboardTabsProps> { {console.log(location)} <Route exact path="/settings" component={Settings} /> <Route exact path="/analyze" component={Analyze} /> + <Route exact path="/about" component={About} /> <Route exact path="/" render={() => <Redirect to="/settings" />}/> </Switch> </div> |