-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.component.html
More file actions
41 lines (38 loc) · 1.19 KB
/
app.component.html
File metadata and controls
41 lines (38 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<app-snack-bar></app-snack-bar>
<div class="app-container bg-[#fffff]/90" [class.carousel-layout]="isCarouselPage">
<header>
<app-header></app-header>
</header>
<main
id="main-content"
role="main"
[attr.aria-label]="'COMMON.MAIN_CONTENT' | translate"
class="relative container mx-auto min-h-screen max-w-5xl px-2 pt-[240px] pb-8"
>
<router-outlet />
</main>
<footer>
<app-footer></app-footer>
</footer>
<app-bottom-nav></app-bottom-nav>
<app-pwa-install-banner></app-pwa-install-banner>
<!-- Update-Benachrichtigung -->
@if (updateAvailable) {
<div
class="fixed right-0 bottom-20 left-0 mx-auto w-11/12 max-w-md rounded-lg bg-blue-100 p-4 shadow-lg"
role="status"
aria-live="polite"
>
<div class="flex items-center justify-between">
<p class="text-sm text-blue-800">{{ 'UPDATE.AVAILABLE_MESSAGE' | translate }}</p>
<button
(click)="updateApp()"
class="rounded bg-blue-600 px-4 py-2 text-xs font-bold text-white hover:bg-blue-700"
[attr.aria-label]="'UPDATE.ACTION_ARIA' | translate"
>
{{ 'UPDATE.ACTION' | translate }}
</button>
</div>
</div>
}
</div>