Mise à jour graphique

This commit is contained in:
Rampeur
2025-09-23 22:25:08 +02:00
parent 65ae9fce4b
commit 8b098f7545
31 changed files with 753 additions and 1044 deletions
+28 -5
View File
@@ -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<LENGTH, [...ACC, 1]>;
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<CreateArrayWithLengthX<7>, 13, 7>;
//type TWENTY_TO_FORTY = NumericRange<CreateArrayWithLengthX<13>, 19>;
type TWENTY_TO_FORTY = NumericRange<CreateArrayWithLengthX<1>, 10>;
*/
}
}