feat: add bare slots frontend, remove bun start warnings
This commit is contained in:
parent
cf79298b04
commit
bc56b498ee
8 changed files with 139 additions and 37 deletions
|
@ -8,13 +8,13 @@ import {
|
|||
SimpleChanges,
|
||||
ViewChild,
|
||||
} from '@angular/core';
|
||||
import { CommonModule, CurrencyPipe } from '@angular/common';
|
||||
import { CountUp } from 'countup.js';
|
||||
import {CommonModule} from '@angular/common';
|
||||
import {CountUp} from 'countup.js';
|
||||
|
||||
@Component({
|
||||
selector: 'app-animated-number',
|
||||
standalone: true,
|
||||
imports: [CommonModule, CurrencyPipe],
|
||||
imports: [CommonModule],
|
||||
template: ` <span #numberElement>{{ formattedValue }}</span> `,
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
|
|
|
@ -7,7 +7,7 @@ import { AnimatedNumberComponent } from '../animated-number/animated-number.comp
|
|||
@Component({
|
||||
selector: 'app-game-result',
|
||||
standalone: true,
|
||||
imports: [CommonModule, CurrencyPipe, AnimatedNumberComponent],
|
||||
imports: [CommonModule, AnimatedNumberComponent],
|
||||
template: `
|
||||
<div *ngIf="visible" [@fadeInOut] class="modal-bg" style="z-index: 1000; position: fixed;">
|
||||
<div class="modal-card" [@cardAnimation]>
|
||||
|
|
Reference in a new issue