Skip to content
Snippets Groups Projects
Commit e1aefe47 authored by abdo's avatar abdo
Browse files

finals

parent ff908623
Branches
No related tags found
No related merge requests found
Pipeline #16822 failed
<app-header-layout></app-header-layout>
<app-sidebar></app-sidebar>
<div class="account-container">
<h2>Gestion du compte</h2>
......
......@@ -6,10 +6,14 @@ import { Router } from '@angular/router';
import { CommonModule } from '@angular/common';
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
import { HeaderLayoutComponent } from '../../../features/header-layout/header-layout.component';
import { SidebarComponent } from '../../../features/sidebar/sidebar.component';
@Component({
selector: 'app-account',
standalone: true,
imports: [ReactiveFormsModule, CommonModule],
imports: [ReactiveFormsModule, CommonModule,HeaderLayoutComponent,SidebarComponent],
templateUrl: './account.component.html',
styleUrls: ['./account.component.scss']
})
......
<app-header-layout></app-header-layout>
<app-sidebar></app-sidebar>
<div class="login-container">
<h2>Connexion</h2>
......
......@@ -6,6 +6,10 @@ import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { faEye, faEyeSlash } from '@fortawesome/free-solid-svg-icons';
import { AuthService } from '../../shared/services/auth.service';
import { HeaderLayoutComponent } from '../../../features/header-layout/header-layout.component';
import { SidebarComponent } from '../../../features/sidebar/sidebar.component';
@Component({
selector: 'app-login',
standalone: true,
......@@ -13,7 +17,7 @@ import { AuthService } from '../../shared/services/auth.service';
CommonModule,
FormsModule,
RouterLink,
FontAwesomeModule
FontAwesomeModule,HeaderLayoutComponent,SidebarComponent
],
templateUrl: './login.component.html',
styleUrls: ['./login.component.scss']
......
......@@ -7,7 +7,7 @@
</a>
</li>
<li>
<a routerLink="/compte" >
<a [routerLink]="'/account'" >
<fa-icon [icon]="faUser"></fa-icon> <span *ngIf="isSidebarOpen">Compte</span>
</a>
</li>
......@@ -16,7 +16,7 @@
<fa-icon [icon]="faBookmark"></fa-icon> <span *ngIf="isSidebarOpen">Saved</span>
</a>
</li>
<li>
<!-- <li>
<a routerLink="/parametres" >
<fa-icon [icon]="faCog"></fa-icon> <span *ngIf="isSidebarOpen">Paramètres</span>
</a>
......@@ -25,7 +25,7 @@
<a routerLink="/historique" >
<fa-icon [icon]="faHistory"></fa-icon> <span *ngIf="isSidebarOpen">Historique</span>
</a>
</li>
</li> -->
</ul>
</div>
<!-- Bouton burger -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment