From b669190bce147407341616dcad71bfcb97ea6f09 Mon Sep 17 00:00:00 2001 From: styve Lioumba Date: Sat, 15 Nov 2025 17:30:09 +0100 Subject: [PATCH] refacto page mon profile --- package.json | 2 +- .../authentification/auth/auth.component.html | 18 +- src/app/routes/home/home.component.html | 131 +++- src/app/routes/home/home.component.scss | 18 +- .../my-profile/my-profile.component.html | 516 +++++++------ .../my-profile/my-profile.component.scss | 345 +++++++++ .../my-profile/my-profile.component.spec.ts | 9 + .../routes/my-profile/my-profile.component.ts | 16 +- .../profile-detail.component.html | 131 +++- .../profile-detail.component.scss | 3 +- .../profile-detail.component.ts | 8 +- .../profile-list/profile-list.component.html | 45 +- .../profile-list/profile-list.component.scss | 3 +- .../profile-list/profile-list.component.ts | 4 +- .../components/loading/loading.component.html | 10 +- .../loading/loading.component.spec.ts | 7 +- .../components/loading/loading.component.ts | 4 +- .../my-home-profile.component.html | 6 - .../my-home-profile.component.scss | 0 .../my-home-profile.component.spec.ts | 24 - .../my-home-profile.component.ts | 16 - .../my-profile-update-form.component.html | 719 +++++++++++------- .../my-profile-update-form.component.scss | 48 ++ .../user-form/user-form.component.ts | 4 +- .../features/login/login.component.html | 90 ++- .../features/register/register.component.html | 149 +++- .../update-user/update-user.component.html | 85 ++- .../update-user/update-user.component.scss | 30 + .../update-user/update-user.component.ts | 4 +- 29 files changed, 1702 insertions(+), 743 deletions(-) delete mode 100644 src/app/shared/components/my-home-profile/my-home-profile.component.html delete mode 100644 src/app/shared/components/my-home-profile/my-home-profile.component.scss delete mode 100644 src/app/shared/components/my-home-profile/my-home-profile.component.spec.ts delete mode 100644 src/app/shared/components/my-home-profile/my-home-profile.component.ts diff --git a/package.json b/package.json index ccb3886..03aaa09 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "watch": "ng build --watch --configuration development", "tsc": "tsc --noEmit", "tsc:watch": "tsc --noEmit --watch", - "format": "prettier --write \"src/**/*.{ts,html,scss,css,md,json}\"", + "prettier": "prettier --write \"src/**/*.{ts,html,scss,css,md,json}\"", "check:all": "npm run format && npm run tsc && npm run lint && npm run test", "test": "jest", "test:watch": "jest --watch", diff --git a/src/app/routes/authentification/auth/auth.component.html b/src/app/routes/authentification/auth/auth.component.html index 262a525..e411a39 100644 --- a/src/app/routes/authentification/auth/auth.component.html +++ b/src/app/routes/authentification/auth/auth.component.html @@ -1,7 +1,8 @@ -
- -
-
+
+
+