chore: add in social icons from old site
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 15 KiB |
BIN
public/icons/icon-144x144.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
public/icons/icon-192x192.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
public/icons/icon-256x256.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
public/icons/icon-384x384.png
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
public/icons/icon-48x48.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
public/icons/icon-512x512.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
public/icons/icon-72x72.png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
public/icons/icon-96x96.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
51
public/manifest.json
Normal file
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"name": "Unicorn Utterances",
|
||||
"short_name": "Unicorn Utterances",
|
||||
"start_url": "/",
|
||||
"background_color": "#ffffff",
|
||||
"theme_color": "#127db3",
|
||||
"display": "minimal-ui",
|
||||
"cacheDigest": "2a",
|
||||
"icons": [
|
||||
{
|
||||
"src": "icons/icon-48x48.png?v=2a",
|
||||
"sizes": "48x48",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "icons/icon-72x72.png?v=2a",
|
||||
"sizes": "72x72",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "icons/icon-96x96.png?v=2a",
|
||||
"sizes": "96x96",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "icons/icon-144x144.png?v=2a",
|
||||
"sizes": "144x144",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "icons/icon-192x192.png?v=2a",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "icons/icon-256x256.png?v=2a",
|
||||
"sizes": "256x256",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "icons/icon-384x384.png?v=2a",
|
||||
"sizes": "384x384",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "icons/icon-512x512.png?v=2a",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
public/share-banner.png
Normal file
|
After Width: | Height: | Size: 112 KiB |
14
public/sw.js
Normal file
@@ -0,0 +1,14 @@
|
||||
self.addEventListener("install", function (e) {
|
||||
self.skipWaiting();
|
||||
});
|
||||
|
||||
self.addEventListener("activate", function (e) {
|
||||
self.registration
|
||||
.unregister()
|
||||
.then(function () {
|
||||
return self.clients.matchAll();
|
||||
})
|
||||
.then(function (clients) {
|
||||
clients.forEach((client) => client.navigate(client.url));
|
||||
});
|
||||
});
|
||||
10
public/uninstall-sw.js
Normal file
@@ -0,0 +1,10 @@
|
||||
if ("serviceWorker" in navigator) {
|
||||
navigator.serviceWorker
|
||||
.register("/sw.js")
|
||||
.then(serviceWorker => {
|
||||
console.log("Service Worker registered: ", serviceWorker);
|
||||
})
|
||||
.catch(error => {
|
||||
console.error("Error registering the Service Worker: ", error);
|
||||
});
|
||||
}
|
||||
@@ -7,6 +7,8 @@ import '../global.scss';
|
||||
|
||||
<html class="light">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<meta charset="utf-8"/>
|
||||
<link
|
||||
rel="preload"
|
||||
as="style"
|
||||
@@ -15,47 +17,47 @@ import '../global.scss';
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
<meta name="theme-color" content="#127db3" />
|
||||
<meta charset="utf-8"/>
|
||||
<link
|
||||
rel="apple-touch-icon"
|
||||
sizes="48x48"
|
||||
href="/icons/icon-48x48.png?v=e32c87870d4630382a9dae8cae941af6"
|
||||
href="/icons/icon-48x48.png?v=2a"
|
||||
/>
|
||||
<link
|
||||
rel="apple-touch-icon"
|
||||
sizes="72x72"
|
||||
href="/icons/icon-72x72.png?v=e32c87870d4630382a9dae8cae941af6"
|
||||
href="/icons/icon-72x72.png?v=2a"
|
||||
/>
|
||||
<link
|
||||
rel="apple-touch-icon"
|
||||
sizes="96x96"
|
||||
href="/icons/icon-96x96.png?v=e32c87870d4630382a9dae8cae941af6"
|
||||
href="/icons/icon-96x96.png?v=2a"
|
||||
/>
|
||||
<link
|
||||
rel="apple-touch-icon"
|
||||
sizes="144x144"
|
||||
href="/icons/icon-144x144.png?v=e32c87870d4630382a9dae8cae941af6"
|
||||
href="/icons/icon-144x144.png?v=2a"
|
||||
/>
|
||||
<link
|
||||
rel="apple-touch-icon"
|
||||
sizes="192x192"
|
||||
href="/icons/icon-192x192.png?v=e32c87870d4630382a9dae8cae941af6"
|
||||
href="/icons/icon-192x192.png?v=2a"
|
||||
/>
|
||||
<link
|
||||
rel="apple-touch-icon"
|
||||
sizes="256x256"
|
||||
href="/icons/icon-256x256.png?v=e32c87870d4630382a9dae8cae941af6"
|
||||
href="/icons/icon-256x256.png?v=2a"
|
||||
/>
|
||||
<link
|
||||
rel="apple-touch-icon"
|
||||
sizes="384x384"
|
||||
href="/icons/icon-384x384.png?v=e32c87870d4630382a9dae8cae941af6"
|
||||
href="/icons/icon-384x384.png?v=2a"
|
||||
/>
|
||||
<link
|
||||
rel="apple-touch-icon"
|
||||
sizes="512x512"
|
||||
href="/icons/icon-512x512.png?v=e32c87870d4630382a9dae8cae941af6"
|
||||
href="/icons/icon-512x512.png?v=2a"
|
||||
/>
|
||||
<script defer src="/uninstall-sw.js" is:inline/>
|
||||
<ThemeStyle/>
|
||||
<slot name="head"/>
|
||||
</head>
|
||||
|
||||