2025-02-24 18:10:29 -05:00
|
|
|
import { Component } from '@angular/core';
|
|
|
|
|
|
2025-02-25 22:21:31 -05:00
|
|
|
import { MatButtonModule } from '@angular/material/button';
|
|
|
|
|
import { MatIconModule } from '@angular/material/icon';
|
2025-04-03 23:07:25 -04:00
|
|
|
import { slidInAnimations, wobbleAnimation } from '../animations/animations';
|
2025-02-25 22:21:31 -05:00
|
|
|
|
2025-02-24 18:10:29 -05:00
|
|
|
@Component({
|
|
|
|
|
standalone: true,
|
|
|
|
|
selector: 'app-home',
|
2025-02-25 22:21:31 -05:00
|
|
|
imports: [MatButtonModule, MatIconModule],
|
2025-02-24 18:10:29 -05:00
|
|
|
templateUrl: './home.component.html',
|
|
|
|
|
styleUrl: './home.component.scss',
|
2025-04-03 23:07:25 -04:00
|
|
|
animations: [slidInAnimations, wobbleAnimation],
|
2025-02-24 18:10:29 -05:00
|
|
|
})
|
2025-04-03 23:07:25 -04:00
|
|
|
export class HomeComponent {
|
|
|
|
|
isWobbling = true;
|
|
|
|
|
|
|
|
|
|
onwobbleDone() {
|
|
|
|
|
this.isWobbling = !this.isWobbling;
|
|
|
|
|
}
|
|
|
|
|
}
|