From d6c873dd919591166dd541c28b6c93278b168605 Mon Sep 17 00:00:00 2001 From: Adrian Kunz Date: Sat, 3 Aug 2024 10:46:02 +0200 Subject: [PATCH] fix(frontend): Defer cookie banner and account ad --- apps/frontend/src/app/app.component.html | 4 +++- .../src/app/dashboard/dashboard/dashboard.component.html | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/frontend/src/app/app.component.html b/apps/frontend/src/app/app.component.html index dd8d46fc..0a920f15 100644 --- a/apps/frontend/src/app/app.component.html +++ b/apps/frontend/src/app/app.component.html @@ -1,5 +1,7 @@ - +@defer { + +} diff --git a/apps/frontend/src/app/dashboard/dashboard/dashboard.component.html b/apps/frontend/src/app/dashboard/dashboard/dashboard.component.html index 33e5564c..e334fe32 100644 --- a/apps/frontend/src/app/dashboard/dashboard/dashboard.component.html +++ b/apps/frontend/src/app/dashboard/dashboard/dashboard.component.html @@ -59,7 +59,7 @@

- @if (!loggedIn) { + @defer { @if (!loggedIn) {
Account @@ -92,7 +92,7 @@

- } + }} @if (loggedIn && unclaimed && !participated) {