Skip to content

Commit

Permalink
Merge pull request #220 from amosproj/feat/xd-206
Browse files Browse the repository at this point in the history
feat: 206
  • Loading branch information
HaruspexSan authored Jul 1, 2024
2 parents 3e4c0d7 + c897163 commit f4e3c30
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions apps/frontend/src/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ export const APP_ROUTES: Route[] = [
loadComponent: () =>
import('./pages/home/home.component').then((m) => m.HomeComponent),
},
{
path: 'home',
redirectTo: '',
},
{
path: 'facilities',
data: {
Expand Down
2 changes: 2 additions & 0 deletions apps/frontend/src/app/components/header/header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
</ix-breadcrumb>

<ix-menu>
<ix-menu-item icon="home" [routerLink]="['/']">Home</ix-menu-item>
<ix-menu-item icon="building1" [routerLink]="['/facilities']">Facilities</ix-menu-item>
<ix-menu-item icon="tasks-open" [routerLink]="['/cases']">Cases</ix-menu-item>
<ix-menu-item [icon]=getCorrectIcon() slot="bottom" (click)="toggleMode()">toggle theme</ix-menu-item>
Expand All @@ -32,5 +33,6 @@
</ix-menu-about>
</ix-menu>


<router-outlet></router-outlet>
</ix-application>
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
(backButtonClick)="router.navigate(['../'], { relativeTo: route })"
></ix-content-header>

<ix-content>
<ix-content class="pb-16">
<div class="flex flex-col gap-y-2 pb-2">
<div class="flex gap-x-2">
<ix-toggle-button ghost class="toggle-pill" (pressedChange)="flipShowStatusOpen()"
Expand Down

0 comments on commit f4e3c30

Please sign in to comment.