From 4170c65e176ca4db51f2bd389e98f596d7b208b5 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Tue, 23 Aug 2022 14:19:06 +0200 Subject: [PATCH] config to hide demo headers on homepage --- package.json | 3 +++ .../core/components/home/home.component.html | 23 ++++--------------- .../consultation/consultation.component.ts | 1 + .../consultation/consultation.component.html | 2 +- src/environments/environment.prod.ts | 1 + src/environments/environment.ts | 1 + 6 files changed, 11 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index 0184d257..35fc0c19 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,9 @@ "name": "framadate-funky-frontend", "version": "0.6.0", "license": "AGPL-3.0-or-later", + "engines": { + "node": ">= 16.0.0" + }, "scripts": { "ng": "ng", "start": "ng serve", diff --git a/src/app/core/components/home/home.component.html b/src/app/core/components/home/home.component.html index 2f817dcf..220c360b 100644 --- a/src/app/core/components/home/home.component.html +++ b/src/app/core/components/home/home.component.html @@ -35,7 +35,10 @@ /> -
+

Boutons de démo - Titre h1

Titre h2

@@ -74,24 +77,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/app/features/administration/consultation/consultation.component.ts b/src/app/features/administration/consultation/consultation.component.ts index 19a4c025..71afe0c1 100644 --- a/src/app/features/administration/consultation/consultation.component.ts +++ b/src/app/features/administration/consultation/consultation.component.ts @@ -21,6 +21,7 @@ export class AdminConsultationComponent implements OnInit { private _Activatedroute: ActivatedRoute, private router: Router ) { + // http://localhost:4200/#/administration/key/7106Y3a5yfX10Z400fR670I1Bld0R4df7bEZ5fY6bOw5010t7XC36d4H16L2157jK4gb7JS311J735 this.poll = this.pollService._poll.getValue(); this.form = this.pollService.form; } diff --git a/src/app/features/consultation/consultation.component.html b/src/app/features/consultation/consultation.component.html index 04d94ecd..fdfe28e9 100644 --- a/src/app/features/consultation/consultation.component.html +++ b/src/app/features/consultation/consultation.component.html @@ -48,7 +48,7 @@ {{ 'participation.fav_title' | translate }}