diff --git a/static/android-chrome-192x192.png b/static/android-chrome-192x192.png new file mode 100644 index 0000000..4988fd9 Binary files /dev/null and b/static/android-chrome-192x192.png differ diff --git a/static/android-chrome-384x384.png b/static/android-chrome-384x384.png new file mode 100644 index 0000000..912972f Binary files /dev/null and b/static/android-chrome-384x384.png differ diff --git a/static/apple-touch-icon.png b/static/apple-touch-icon.png new file mode 100644 index 0000000..12c750f Binary files /dev/null and b/static/apple-touch-icon.png differ diff --git a/static/browserconfig.xml b/static/browserconfig.xml new file mode 100644 index 0000000..f9c2e67 --- /dev/null +++ b/static/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #2b5797 + + + diff --git a/static/favicon-16x16.png b/static/favicon-16x16.png index e012c93..b1088dd 100644 Binary files a/static/favicon-16x16.png and b/static/favicon-16x16.png differ diff --git a/static/favicon-32x32.png b/static/favicon-32x32.png index 53f1792..c9dd29f 100644 Binary files a/static/favicon-32x32.png and b/static/favicon-32x32.png differ diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..9219f0e Binary files /dev/null and b/static/favicon.ico differ diff --git a/static/mstile-150x150.png b/static/mstile-150x150.png new file mode 100644 index 0000000..b361f69 Binary files /dev/null and b/static/mstile-150x150.png differ diff --git a/static/site.webmanifest b/static/site.webmanifest index 6716c6f..171832d 100644 --- a/static/site.webmanifest +++ b/static/site.webmanifest @@ -3,16 +3,24 @@ "short_name": "msfjarvis.website", "description": "Thoughts and ramblings of a young software developer", "start_url": "/posts", + "display": "standalone", "background_color": "#292a2d", "theme_color": "#a9a9b3", - "icons": [{ - "src": "favicon-16x16.png", - "sizes": "16x16", - "type": "image/png" - }, - { - "src": "favicon-32x32.png", - "sizes": "32x32", - "type": "image/png" - }] -} + "icons": [ + { + "src": "favicon-16x16.png", + "sizes": "16x16", + "type": "image/png" + }, + { + "src": "favicon-32x32.png", + "sizes": "32x32", + "type": "image/png" + }, + { + "src": "android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + } + ] +} \ No newline at end of file diff --git a/static/sw.js b/static/sw.js deleted file mode 100644 index 0cf7dd8..0000000 --- a/static/sw.js +++ /dev/null @@ -1 +0,0 @@ -self.addEventListener('fetch', (event) => {}); diff --git a/themes/hello-friend-ng/layouts/partials/head.html b/themes/hello-friend-ng/layouts/partials/head.html index 28b71a7..7aa1677 100644 --- a/themes/hello-friend-ng/layouts/partials/head.html +++ b/themes/hello-friend-ng/layouts/partials/head.html @@ -6,12 +6,6 @@ - {{ block "title" . }} @@ -30,8 +24,7 @@ if ('serviceWorker' in navigator) { <script src="https://assets.digitalclimatestrike.net/widget.js" async></script> <!-- PWA --> -<link rel="manifest" href="manifest.webmanifest" /> -<script src="https://cdn.jsdelivr.net/npm/pwacompat@2.0.9/pwacompat.min.js" integrity="sha384-VcI6S+HIsE80FVM1jgbd6WDFhzKYA0PecD/LcIyMQpT4fMJdijBh0I7Iblaacawc" crossorigin="anonymous" async></script> +<meta name="msapplication-TileColor" content="#2b5797"> {{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" true) }} {{ $style := resources.Get "scss/main.scss" | resources.ToCSS $options | resources.Minify | resources.Fingerprint }}