From 32cd4622624799ae4884f5cede342629b2ab5719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Kilchenmann?= Date: Tue, 22 Jun 2021 15:33:14 +0200 Subject: [PATCH] chore: empty landing page instead login (DSP-1756) (#466) --- src/app/main/main.component.scss | 5 +++++ src/app/main/main.component.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/main/main.component.scss b/src/app/main/main.component.scss index 9fed8daecd..651e64be43 100644 --- a/src/app/main/main.component.scss +++ b/src/app/main/main.component.scss @@ -2,6 +2,11 @@ @import "../../assets/style/mixins"; @import "../../assets/style/responsive"; +:host { + // hide the landing page for the moment + display: none; +} + section { background-color: #fff; min-height: 38vh; diff --git a/src/app/main/main.component.ts b/src/app/main/main.component.ts index 9e0cb480da..9e294b4201 100644 --- a/src/app/main/main.component.ts +++ b/src/app/main/main.component.ts @@ -79,7 +79,7 @@ export class MainComponent implements OnInit { } else { // if session does not exist, redirect to login page // --> NOTE: this is a temporary solution for DSP-ADMIN-APP - this._router.navigate(['login']); + // this._router.navigate(['login']); } }