Added lottie toggle
All checks were successful
Copy Files to Samba Share dev / Copy Files (push) Successful in 26s

This commit is contained in:
2024-11-06 21:53:08 +01:00
parent 34c31b8533
commit 91cef8c24c
13 changed files with 3035 additions and 102 deletions

View File

@@ -1,9 +1,10 @@
import { Component, computed, input, output } from '@angular/core';
import { ToggleComponent } from '../toggle/toggle.component';
@Component({
selector: 'app-hero',
standalone: true,
imports: [],
imports: [ToggleComponent],
templateUrl: './hero.component.html',
styleUrl: './hero.component.scss'
})
@@ -15,6 +16,6 @@ export class HeroComponent {
themeChange = output<string>();
public themeClicked(event: any) {
this.themeChange.emit(event.target.checked ? 'dark' : 'light');
this.themeChange.emit(event ? 'dark' : 'light');
}
}