Skip to content

Commit 5761865

Browse files
committed
PWA prompt
1 parent c726ae2 commit 5761865

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/components/InstallPWA.astro

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
---
2+
3+
---
14
<div id="install-pwa" class="hidden">
2-
<p>Install our PWA to get easy access to the schedule!</p>
3-
<button id="install-btn">Install App</button>
5+
<p>Add website to home screen and get easy access to the schedule!</p>
6+
<button id="install-btn" class="button-link font-bold text-lg px-4 py-4 rounded-lg inline-flex items-center justify-center leading-4 transition-colors duration-200 not-prose border text-text
7+
bg-primary hover:bg-primary-hover border-transparent">Add to home screen</button>
48
</div>
59

610
<style>
@@ -14,6 +18,7 @@
1418
text-align: center;
1519
padding: 1rem;
1620
transition: all 0.3s ease;
21+
z-index: 200;
1722
}
1823

1924
#install-pwa.hidden {

0 commit comments

Comments
 (0)