feat(navigation): switch theme
This commit is contained in:
@@ -62,9 +62,15 @@
|
||||
}
|
||||
</div>
|
||||
<div class="options flex flex-row gap-[10px]">
|
||||
<div class="dark-mode size-[50px]">
|
||||
<fa-icon [icon]="faMoon"/>
|
||||
</div>
|
||||
@if (themeSwitchService.darkMode()) {
|
||||
<div class="dark-mode size-[50px]" (click)="themeSwitchService.switchToLight()">
|
||||
<fa-icon [icon]="faMoon"/>
|
||||
</div>
|
||||
} @else {
|
||||
<div class="dark-mode size-[50px]" (click)="themeSwitchService.switchToDark()">
|
||||
<fa-icon [icon]="faSun"/>
|
||||
</div>
|
||||
}
|
||||
<div class="language size-[50px]">EN</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user