From 8b098f7545f9210ccfe0cd926bbd08bc35d6d409 Mon Sep 17 00:00:00 2001 From: Rampeur Date: Tue, 23 Sep 2025 22:25:08 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20graphique?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/components/home/home.component.html | 10 - src/app/components/home/home.component.scss | 22 +- src/app/components/home/home.component.ts | 33 +- src/app/components/index.ts | 2 + src/app/components/jumps/jumps.component.html | 2 +- src/app/components/jumps/jumps.component.scss | 2 +- .../components/product/product.component.html | 29 +- .../components/product/product.component.ts | 72 +- .../products/products.component.html | 51 +- .../components/products/products.component.ts | 74 +- .../components/profile/profile.component.html | 690 +----------------- .../components/profile/profile.component.scss | 23 +- src/app/components/qcm/qcm.component.scss | 4 +- .../credentials/credentials.component.html | 6 +- .../credentials/credentials.component.scss | 23 +- .../settings/settings.component.html | 6 +- .../settings/settings.component.scss | 36 +- src/app/components/shared/index.ts | 3 + .../shared/layout/full.component.html | 3 + .../shared/layout/full.component.ts | 3 +- src/app/components/shared/menu-items.ts | 3 +- src/app/core/models/index.ts | 1 + src/app/core/services/utilities.service.ts | 9 + src/app/routes/auth.routes.ts | 30 +- src/app/routes/noauth.routes.ts | 12 +- src/styles/_palettes.scss | 102 ++- src/styles/_sidebar.scss | 35 +- src/styles/app.scss | 195 ++--- src/styles/components/utils/_variants.scss | 17 - src/styles/styles.scss | 51 +- src/styles/variable.scss | 248 +++++-- 31 files changed, 753 insertions(+), 1044 deletions(-) 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 @@ -