Skip to content

Commit

Permalink
frontend: Adde access and permissions page
Browse files Browse the repository at this point in the history
  • Loading branch information
CSantosM committed Oct 18, 2024
1 parent 91a5cc9 commit 24891b5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions frontend/src/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ import { VideoRoomComponent } from '@app/pages/video-room/video-room.component';
import { ConsoleComponent } from '@app/pages/console/console.component';
import { roomGuard } from '@app/guards/room.guard';
import { embeddedGuard } from '@app/guards/embedded.guard';
import { nonEmbeddedGuard } from '@app/guards/non-embedded.guard';
import { AppearanceComponent } from '@app/pages/console/appearance/appearance.component';
import { RoomConfigComponent } from '@app/pages/console/room-config/room-config.component';
import { nonEmbeddedGuard } from './guards/non-embedded.guard';
import { AccessPermissionsComponent } from '@app/pages/console/access-permissions/access-permissions.component';
import { UnauthorizedComponent } from 'shared-call-components';
export const routes: Routes = [
{ path: '', redirectTo: 'console', pathMatch: 'full' },
Expand All @@ -17,7 +18,8 @@ export const routes: Routes = [
canActivate: [nonEmbeddedGuard],
children: [
{ path: 'appearance', component: AppearanceComponent },
{ path: 'room-config', component: RoomConfigComponent }
{ path: 'room-config', component: RoomConfigComponent },
{ path: 'access-permissions', component: AccessPermissionsComponent },
]
},
{ path: 'unauthorized', component: UnauthorizedComponent },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ov-logo-card
[title]="'My App Logo'"
[description]="'Select your app logo'"
[logoSrc]="'https://avatar.iran.liara.run/public'"
[logoSrc]="'https://openvidu.io/assets/images/openvidu_globe_bg_transp_cropped.png'"
[isEnabled]="true"
[cardBackgroundColor]="'#ffffff'"
>
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/app/pages/console/console.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ export class ConsoleComponent implements OnInit {
navLinks: ConsoleNavLink[] = [
{ label: 'Overview', route: '/', icon: 'dashboard' },
{ label: 'Appearance', route: 'appearance', icon: 'palette' },
{ label: 'Access & Permissions', route: 'access', icon: 'lock' },
{ label: 'Access & Permissions', route: 'access-permissions', icon: 'lock' },
{ label: 'Room Config', route: 'room-config', icon: 'video_settings' },
{ label: 'Security', route: 'security', icon: 'security' },
{ label: 'Integrations', route: 'integrations', icon: 'integration_instructions' },
{ label: 'Security (PRO)', route: 'security', icon: 'security' },
{ label: 'Integrations (PRO)', route: 'integrations', icon: 'integration_instructions' },
{ label: 'Support', route: 'support', icon: 'support' },
{ label: 'About', route: 'about', icon: 'info' }
];
Expand Down

0 comments on commit 24891b5

Please sign in to comment.