diff --git a/src/app/core/components/home/home.component.html b/src/app/core/components/home/home.component.html index 809839d0..35f739b4 100644 --- a/src/app/core/components/home/home.component.html +++ b/src/app/core/components/home/home.component.html @@ -53,7 +53,7 @@
+
+
+

+ {{ 'home.search_title' | translate }} +

+
+ {{ 'home.search_subtitle' | translate }}
+ + + + +
diff --git a/src/app/core/components/home/home.component.ts b/src/app/core/components/home/home.component.ts index d3d66529..27024051 100644 --- a/src/app/core/components/home/home.component.ts +++ b/src/app/core/components/home/home.component.ts @@ -1,4 +1,4 @@ -import { ChangeDetectorRef, Component, Inject } from '@angular/core'; +import { ChangeDetectorRef, Component, Inject, OnInit } from '@angular/core'; import { environment } from '../../../../environments/environment'; import { StorageService } from '../../services/storage.service'; import { ApiService } from '../../services/api.service'; @@ -11,7 +11,7 @@ import { Title } from '@angular/platform-browser'; templateUrl: './home.component.html', styleUrls: ['./home.component.scss'], }) -export class HomeComponent { +export class HomeComponent implements OnInit { public environment = environment; public AppTitle = environment.appTitle; public nonexistent_email = ''; @@ -26,7 +26,10 @@ export class HomeComponent { private api: ApiService, private cd: ChangeDetectorRef ) { - this.titleService.setTitle(environment.appTitle + ' - Accueil '); + this.titleService.setTitle(environment.appTitle + ' - Landing '); + } + ngOnInit() { + this.openModalFindPoll(); } searchMyPolls() { diff --git a/src/app/core/services/language.service.ts b/src/app/core/services/language.service.ts index 0b3b2d4c..e8e6c618 100644 --- a/src/app/core/services/language.service.ts +++ b/src/app/core/services/language.service.ts @@ -57,7 +57,6 @@ export class LanguageService { } private setLanguageFromStorage(): void { - console.log('this.storageService.language', this.storageService.language); if (this.storageService.language && this.translate.getLangs().includes(this.storageService.language)) { this.setLanguage(this.storageService.language); } diff --git a/src/assets/favicons/android-chrome-192x192.png b/src/assets/favicons/android-chrome-192x192.png new file mode 100644 index 00000000..0a22b7ac Binary files /dev/null and b/src/assets/favicons/android-chrome-192x192.png differ diff --git a/src/assets/favicons/android-chrome-512x512.png b/src/assets/favicons/android-chrome-512x512.png new file mode 100644 index 00000000..14c3071f Binary files /dev/null and b/src/assets/favicons/android-chrome-512x512.png differ diff --git a/src/assets/favicons/apple-touch-icon.png b/src/assets/favicons/apple-touch-icon.png new file mode 100644 index 00000000..9a739ecb Binary files /dev/null and b/src/assets/favicons/apple-touch-icon.png differ diff --git a/src/assets/favicons/favicon-16x16.png b/src/assets/favicons/favicon-16x16.png new file mode 100644 index 00000000..7dff15ad Binary files /dev/null and b/src/assets/favicons/favicon-16x16.png differ diff --git a/src/assets/favicons/favicon-32x32.png b/src/assets/favicons/favicon-32x32.png new file mode 100644 index 00000000..f6628e24 Binary files /dev/null and b/src/assets/favicons/favicon-32x32.png differ diff --git a/src/assets/favicons/favicon.ico b/src/assets/favicons/favicon.ico new file mode 100644 index 00000000..dd015748 Binary files /dev/null and b/src/assets/favicons/favicon.ico differ diff --git a/src/index.html b/src/index.html index 8e4a546e..789eaef0 100644 --- a/src/index.html +++ b/src/index.html @@ -4,9 +4,10 @@ - - - + + + +