diff --git a/src/app/components/home/home.component.html b/src/app/components/home/home.component.html index b5303cc..0ddbd78 100644 --- a/src/app/components/home/home.component.html +++ b/src/app/components/home/home.component.html @@ -90,14 +90,4 @@ --> - - \ No newline at end of file diff --git a/src/app/components/home/home.component.scss b/src/app/components/home/home.component.scss index 5fe7004..0034d03 100644 --- a/src/app/components/home/home.component.scss +++ b/src/app/components/home/home.component.scss @@ -1,6 +1,26 @@ /* Home */ //@use 'variable' as var; - +.icon-xxsmall { + transform: scale(0.25); +} +.icon-xsmall { + font-size: 16px; + height: 16px; + width: 16px; +} +.icon-small { + font-size: 18px; + height: 18px; + width: 18px; +} +.icon-medium { + font-size: 20px; + height: 20px; + width: 20px; +} +.hstack .value { + min-width: 56px; +} /* #FF41F8 diff --git a/src/app/components/home/home.component.ts b/src/app/components/home/home.component.ts index 147ff34..748b29e 100644 --- a/src/app/components/home/home.component.ts +++ b/src/app/components/home/home.component.ts @@ -4,17 +4,18 @@ import { trigger, state, style, animate, transition } from '@angular/animations' import { Component, DestroyRef, inject, OnInit } from '@angular/core'; import { MatCardModule } from '@angular/material/card'; import { MatDividerModule } from '@angular/material/divider'; +import { MatIconModule } from '@angular/material/icon'; -import { ListErrorsComponent, } from 'src/app/components/shared'; +import { ListErrorsComponent } from 'src/app/components/shared'; import { Errors } from 'src/app/core/models'; +//import { UtilitiesService } from 'src/app/core/services'; //import { UserService } from 'src/app/core/services'; - @Component({ selector: 'app-home', standalone: true, imports: [ DatePipe, - MatCardModule, MatDividerModule, + MatCardModule, MatDividerModule, MatIconModule, ListErrorsComponent ], templateUrl: './home.component.html', @@ -41,11 +42,33 @@ export class HomeComponent implements OnInit { public now = new Date(); constructor( - private titleService: Title + private _titleService: Title, + //private _utilitiesService: UtilitiesService //private _userService: UserService ) { } ngOnInit() { - this.titleService.setTitle(this.title); + + this._titleService.setTitle(this.title); + /* + type CreateArrayWithLengthX< + LENGTH extends number, + ACC extends unknown[] = [], + > = ACC['length'] extends LENGTH + ? ACC + : CreateArrayWithLengthX; + + type NumericRange< + START_ARR extends number[], + END extends number, + ACC extends number = never> + = START_ARR['length'] extends END + ? ACC | END + : NumericRange<[...START_ARR, 1], END, ACC | START_ARR['length']>; + + //type TWENTY_TO_FORTY = NumericRange, 13, 7>; + //type TWENTY_TO_FORTY = NumericRange, 19>; + type TWENTY_TO_FORTY = NumericRange, 10>; + */ } } diff --git a/src/app/components/index.ts b/src/app/components/index.ts index a3de357..d0f6108 100644 --- a/src/app/components/index.ts +++ b/src/app/components/index.ts @@ -3,7 +3,9 @@ export * from './aeronefs/aeronefs.component'; export * from './calculator/calculator.component'; export * from './canopies/canopies.component'; export * from './dashboard/dashboard.component'; +export * from './demo/demo.component'; export * from './dropzones/dropzones.component'; +export * from './herowars/herowars.component'; export * from './home/home.component'; export * from './jump/jump.component'; export * from './jumps/jumps.component'; diff --git a/src/app/components/jumps/jumps.component.html b/src/app/components/jumps/jumps.component.html index 1e587bf..217365f 100644 --- a/src/app/components/jumps/jumps.component.html +++ b/src/app/components/jumps/jumps.component.html @@ -89,7 +89,7 @@ -