mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-04-03 15:11:37 +00:00
69 lines
2.4 KiB
HTML
69 lines
2.4 KiB
HTML
<!-- Loading bar -->
|
|
<fuse-loading-bar></fuse-loading-bar>
|
|
|
|
<!-- Navigation -->
|
|
<fuse-vertical-navigation
|
|
class="dark bg-gray-900 print:hidden"
|
|
[appearance]="'compact'"
|
|
[mode]="isScreenSmall ? 'over' : 'side'"
|
|
[name]="'mainNavigation'"
|
|
[navigation]="navigation.compact"
|
|
[opened]="!isScreenSmall">
|
|
<!-- Navigation header hook -->
|
|
<ng-container fuseVerticalNavigationContentHeader>
|
|
<!-- Logo -->
|
|
<div class="flex items-center justify-center h-20 mt-3 mb-4">
|
|
<img
|
|
class="w-10"
|
|
src="assets/images/logo/logo.svg"
|
|
alt="Logo image">
|
|
</div>
|
|
</ng-container>
|
|
</fuse-vertical-navigation>
|
|
|
|
<!-- Wrapper -->
|
|
<div class="flex flex-col flex-auto w-full min-w-0">
|
|
|
|
<!-- Header -->
|
|
<div class="relative flex flex-0 items-center w-full h-16 px-4 md:px-6 z-49 shadow dark:shadow-none dark:border-b bg-card dark:bg-transparent print:hidden">
|
|
<!-- Navigation toggle button -->
|
|
<button
|
|
mat-icon-button
|
|
(click)="toggleNavigation('mainNavigation')">
|
|
<mat-icon [svgIcon]="'heroicons_outline:menu'"></mat-icon>
|
|
</button>
|
|
<!-- Components -->
|
|
<div class="flex items-center pl-2 ml-auto space-x-0.5 sm:space-x-2">
|
|
<languages></languages>
|
|
<fuse-fullscreen class="hidden md:block"></fuse-fullscreen>
|
|
<search [appearance]="'bar'"></search>
|
|
<shortcuts></shortcuts>
|
|
<messages></messages>
|
|
<notifications></notifications>
|
|
<button
|
|
class="lg:hidden"
|
|
mat-icon-button
|
|
(click)="quickChat.toggle()">
|
|
<mat-icon [svgIcon]="'heroicons_outline:chat-alt-2'"></mat-icon>
|
|
</button>
|
|
<user></user>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Content -->
|
|
<div class="flex flex-col flex-auto">
|
|
<!-- *ngIf="true" hack is required here for router-outlet to work correctly.
|
|
Otherwise, layout changes won't be registered and the view won't be updated! -->
|
|
<router-outlet *ngIf="true"></router-outlet>
|
|
</div>
|
|
|
|
<!-- Footer -->
|
|
<div class="relative flex flex-0 items-center justify-start w-full h-14 px-4 md:px-6 z-49 border-t bg-card dark:bg-transparent print:hidden">
|
|
<span class="font-medium text-secondary">Fuse © {{currentYear}}</span>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- Quick chat -->
|
|
<quick-chat #quickChat="quickChat"></quick-chat>
|