Skip to content

Commit

Permalink
feat(platform): Add roles tab in sidebar (#749)
Browse files Browse the repository at this point in the history
  • Loading branch information
akakiplimo authored Feb 12, 2025
1 parent 88ba049 commit bbe4366
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/platform/public/svg/shared/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import VectorSVG from './vector.svg'
import ErrorSVG from './Error.svg'
import TrashSVG from './trash.svg'
import CopySVG from './copy.svg'
import RolesSVG from './roles.svg'

export {
DropdownSVG,
Expand All @@ -27,5 +28,6 @@ export {
VectorSVG,
ErrorSVG,
TrashSVG,
CopySVG
CopySVG,
RolesSVG
}
5 changes: 5 additions & 0 deletions apps/platform/public/svg/shared/roles.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions apps/platform/src/app/(main)/roles/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
'use client'

import React from 'react'

function RolesPage(): React.JSX.Element {
return <></>
}

export default RolesPage
7 changes: 7 additions & 0 deletions apps/platform/src/components/shared/sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
DashboardSVG,
IntegrationSVG,
KeyshadeLogoSVG,
RolesSVG,
SettingsSVG,
TeamSVG
} from '@public/svg/shared'
Expand All @@ -28,6 +29,12 @@ function Sidebar(): JSX.Element {
link: '/teams',
matchTo: '/teams'
},
{
name: 'Roles',
icon: <RolesSVG />,
link: '/roles',
matchTo: '/roles'
},
{
name: 'Integrations',
icon: <IntegrationSVG />,
Expand Down

0 comments on commit bbe4366

Please sign in to comment.