feat(#6): Add PWA functionality and service worker

This commit is contained in:
Josh Creek
2022-10-08 00:41:44 +01:00
parent c173215b29
commit 4ba77a358a
10 changed files with 4825 additions and 744 deletions
+6
View File
@@ -26,5 +26,11 @@
<textarea id="input-lines" rows="15" cols="60" name="text"
placeholder="Enter names to be shuffled, one per line. Leave this area empty in order to use a default set of generated names."></textarea>
<button id="startSpinning">Start spinning</button>
<p id="install-app-btn-container">
<button id="install-offline-app" class="btn btn-secondary btn-xs">
<span>Install the app (you can even use it offline!)</span>
</button>
</p>
</body>
</html>