feat(ssh-keys): add ssh key endpoints and ui components
This commit is contained in:
parent
9d64c6751b
commit
f9114e2de0
17 changed files with 375 additions and 7 deletions
|
@ -6,6 +6,7 @@ import DashboardContainer from '@/components/dashboard/DashboardContainer';
|
|||
import AccountOverviewContainer from '@/components/dashboard/AccountOverviewContainer';
|
||||
import AccountApiContainer from '@/components/dashboard/AccountApiContainer';
|
||||
import SecurityKeyContainer from '@/components/dashboard/SecurityKeyContainer';
|
||||
import SSHKeyContainer from '@/components/dashboard/SSHKeyContainer';
|
||||
import { NotFound } from '@/components/elements/ScreenBlock';
|
||||
import SubNavigation from '@/components/elements/SubNavigation';
|
||||
|
||||
|
@ -18,6 +19,7 @@ export default ({ location }: RouteComponentProps) => (
|
|||
<NavLink to={'/account'} exact>Settings</NavLink>
|
||||
<NavLink to={'/account/api'}>API Credentials</NavLink>
|
||||
<NavLink to={'/account/keys/security'}>Security Keys</NavLink>
|
||||
<NavLink to={'/account/keys/ssh'}>SSH Keys</NavLink>
|
||||
</div>
|
||||
</SubNavigation>
|
||||
}
|
||||
|
@ -35,6 +37,9 @@ export default ({ location }: RouteComponentProps) => (
|
|||
<Route path={'/account/keys/security'} exact>
|
||||
<SecurityKeyContainer/>
|
||||
</Route>
|
||||
<Route path={'/account/keys/ssh'} exact>
|
||||
<SSHKeyContainer/>
|
||||
</Route>
|
||||
<Route path={'*'}>
|
||||
<NotFound/>
|
||||
</Route>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue