Removed themeService from templates #70

This commit is contained in:
2022-10-16 12:57:27 +02:00
parent ba881aefa8
commit 1a3126dfc5
7 changed files with 91 additions and 56 deletions

View File

@@ -1,11 +1,11 @@
<main [class]="themeService.themeName">
<main [class]="themeName">
<ng-container *ngIf="authService.isLoggedIn; else login">
<app-header (isSidebarFullWidth)="themeService.setSideWidth($event)"></app-header>
<app-header></app-header>
<section class="app">
<div>
<section class="sidebar" [style.width]="themeService.sidebarWidth">
<app-sidebar [isSidebarOpen]="themeService.isSidebarOpen"></app-sidebar>
<section class="sidebar" [style.width]="sidebarWidth">
<app-sidebar></app-sidebar>
</section>
</div>
<div class="component-wrapper">