feat(pwa): add install PWA widget (#1451)

This commit is contained in:
Joaquín Sánchez 2023-01-25 16:26:51 +01:00 committed by GitHub
parent 3c888d3914
commit f96cdae1ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 73 additions and 1 deletions

View file

@ -42,6 +42,7 @@ const wideLayout = computed(() => route.meta.wideLayout ?? false)
<slot name="header" />
</div>
<div :class="{ 'xl:block': $route.name !== 'tag' }" hidden h-6 />
<PwaInstallPrompt lg:hidden />
<div :class="isHydrated && wideLayout ? 'xl:w-full sm:max-w-600px' : 'sm:max-w-600px md:shrink-0'" m-auto>
<slot />
</div>