Skip to content

Commit 2b3b6a5

Browse files
authored
New layout design (#744)
* Change font and icons weight * Improve "info" and "landing" pages * Improving menu * Improve i18n menu * Improve header nav on mobile * Add a tagline in the home page * Adjust Nunito font thikness and fine tuning on landing pages * Sign-in page with credentials using dialog * Improve buttons a11y and the design of the burger button * Update packages (client, server, docs-source) and run docs * server: update packages (updating parameter for new auth.JWT(options))
1 parent b6a47a2 commit 2b3b6a5

File tree

192 files changed

+9093
-8012
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+9093
-8012
lines changed

client/e2e/pages/sign-in.page.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ export class SignInPage {
88
}
99

1010
async signIn(persona: Persona) {
11+
await this.page.getByRole('button', { name: 'Se connecter avec identifiants' }).click();
1112
await this.page.getByLabel('Email').fill(persona);
12-
await this.page.getByLabel('Mot de passe').fill('zenika');
13-
await this.page.getByRole('button', { name: 'Se connecter' }).click();
13+
await this.page.getByLabel('Mot de passe', { exact: true }).fill('zenika');
14+
await this.page.getByRole('button', { name: 'Se connecter', exact: true }).click();
1415

1516
await this.page.waitForURL('/fr/home');
1617
}

client/e2e/pages/user-menu.page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export class UserMenuPage {
66
async signOut() {
77
expect(this.page.url(), 'Should not be in sign-in page when trying to sign-out').not.toMatch(/sign-in/);
88

9-
await this.page.getByLabel('Menu utilisateur').click();
9+
await this.page.getByLabel('Préférences & paramètres').click();
1010
await this.page.getByRole('menuitem', { name: 'Se déconnecter' }).click();
1111

1212
await this.page.waitForURL('/fr/sign-in');

client/package-lock.json

Lines changed: 2469 additions & 2797 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"version": "0.0.0",
44
"scripts": {
55
"ng": "ng",
6-
"start": "ng serve --no-hmr",
7-
"start:en": "ng serve --no-hmr -c development-en",
8-
"start:emulators": "ng serve --no-hmr -c development-emulators",
6+
"start": "ng serve",
7+
"start:en": "ng serve -c development-en",
8+
"start:emulators": "ng serve -c development-emulators",
99
"build": "ng build",
1010
"build:dev": "ng build -c development-remote && npm run post-build",
1111
"build:e2e": "ng build -c development,emulators --localize --base-href=\"/\" && npm run post-build",
@@ -37,56 +37,56 @@
3737
},
3838
"private": true,
3939
"dependencies": {
40-
"@angular/animations": "^19.2.0",
41-
"@angular/cdk": "^19.2.1",
42-
"@angular/common": "^19.2.0",
43-
"@angular/compiler": "^19.2.0",
44-
"@angular/core": "^19.2.0",
45-
"@angular/forms": "^19.2.0",
46-
"@angular/material": "^19.2.1",
47-
"@angular/material-date-fns-adapter": "^19.2.1",
48-
"@angular/platform-browser": "^19.2.0",
49-
"@angular/platform-browser-dynamic": "^19.2.0",
50-
"@angular/router": "^19.2.0",
51-
"@fontsource/nunito": "^5.1.1",
52-
"@material-symbols/font-600": "^0.28.2",
40+
"@angular/animations": "^19.2.14",
41+
"@angular/cdk": "^19.2.19",
42+
"@angular/common": "^19.2.14",
43+
"@angular/compiler": "^19.2.14",
44+
"@angular/core": "^19.2.14",
45+
"@angular/forms": "^19.2.14",
46+
"@angular/material": "^19.2.19",
47+
"@angular/material-date-fns-adapter": "^19.2.19",
48+
"@angular/platform-browser": "^19.2.14",
49+
"@angular/platform-browser-dynamic": "^19.2.14",
50+
"@angular/router": "^19.2.14",
51+
"@fontsource/nunito": "^5.2.6",
52+
"@material-symbols/font-500": "^0.29.3",
5353
"canvas-confetti": "^1.9.3",
5454
"date-fns": "^4.1.0",
5555
"echarts": "^5.6.0",
56-
"firebase": "^11.4.0",
56+
"firebase": "^11.10.0",
5757
"js-cookie": "^3.0.5",
5858
"ngx-echarts": "^19.0.0",
5959
"rxjs": "~7.8.2",
6060
"tslib": "^2.8.1",
61-
"zone.js": "~0.15.0"
61+
"zone.js": "~0.15.1"
6262
},
6363
"devDependencies": {
64-
"@angular/build": "^19.2.0",
65-
"@angular/cli": "^19.2.0",
66-
"@angular/compiler-cli": "^19.2.0",
67-
"@angular/localize": "^19.2.0",
68-
"@playwright/test": "^1.50.1",
69-
"@tailwindcss/postcss": "^4.0.9",
64+
"@angular/build": "^19.2.15",
65+
"@angular/cli": "^19.2.15",
66+
"@angular/compiler-cli": "^19.2.14",
67+
"@angular/localize": "^19.2.14",
68+
"@playwright/test": "^1.55.0",
69+
"@tailwindcss/postcss": "^4.1.12",
7070
"@types/canvas-confetti": "^1.9.0",
7171
"@types/jest": "^29.5.14",
7272
"@types/js-cookie": "^3.0.6",
73-
"@types/node": "^22.13.5",
74-
"angular-eslint": "^19.1.0",
75-
"autoprefixer": "^10.4.20",
76-
"concurrently": "^9.1.2",
77-
"eslint": "^9.21.0",
78-
"eslint-config-prettier": "^10.0.2",
79-
"eslint-plugin-prettier": "^5.2.3",
80-
"firebase-tools": "^13.32.0",
73+
"@types/node": "^22.17.2",
74+
"angular-eslint": "^19.8.1",
75+
"autoprefixer": "^10.4.21",
76+
"concurrently": "^9.2.0",
77+
"eslint": "^9.34.0",
78+
"eslint-config-prettier": "^10.1.8",
79+
"eslint-plugin-prettier": "^5.5.4",
80+
"firebase-tools": "^13.35.1",
8181
"jest": "^29.7.0",
82-
"jest-preset-angular": "^14.5.3",
83-
"postcss": "^8.5.3",
84-
"prettier": "^3.5.2",
85-
"prettier-plugin-organize-imports": "^4.1.0",
86-
"prettier-plugin-tailwindcss": "^0.6.11",
87-
"tailwindcss": "^4.0.9",
82+
"jest-preset-angular": "^14.6.1",
83+
"postcss": "^8.5.6",
84+
"prettier": "^3.6.2",
85+
"prettier-plugin-organize-imports": "^4.2.0",
86+
"prettier-plugin-tailwindcss": "^0.6.14",
87+
"tailwindcss": "^4.1.12",
8888
"ts-node": "^10.9.2",
89-
"typescript": "~5.7.3",
90-
"typescript-eslint": "^8.25.0"
89+
"typescript": "~5.8.3",
90+
"typescript-eslint": "^8.40.0"
9191
}
9292
}
130 KB
Loading
Lines changed: 20 additions & 0 deletions
Loading
Lines changed: 27 additions & 1 deletion
Loading

client/public/favicon_NEW.svg

Lines changed: 9 additions & 0 deletions
Loading

client/src/app/demo/color-demo/color-demo.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { ElementToBgColorPipe } from './element-to-bg-color.pipe';
2424
encapsulation: ViewEncapsulation.None,
2525
})
2626
export class ColorDemoComponent {
27-
#document = inject(DOCUMENT);
27+
private document = inject(DOCUMENT);
2828

2929
protected displayHexColor = true;
3030

@@ -122,6 +122,6 @@ export class ColorDemoComponent {
122122
});
123123

124124
protected toClipboard(color: string) {
125-
this.#document.defaultView?.navigator.clipboard.writeText(color);
125+
this.document.defaultView?.navigator.clipboard.writeText(color);
126126
}
127127
}

client/src/app/demo/color-demo/element-to-bg-color.pipe.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import { extractRgb, rgbToHex } from './element-to-bg-color.utils';
66
name: 'elementToBgColor',
77
})
88
export class ElementToBgColorPipe implements PipeTransform {
9-
#document = inject(DOCUMENT);
9+
private document = inject(DOCUMENT);
1010

1111
transform(element: HTMLElement, displayHexColor = false): string {
12-
const backgroundColor = this.#document.defaultView?.getComputedStyle(element).backgroundColor;
12+
const backgroundColor = this.document.defaultView?.getComputedStyle(element).backgroundColor;
1313
if (!backgroundColor) {
1414
return '';
1515
}

0 commit comments

Comments
 (0)