Added service worker

This commit is contained in:
Brandon Rozek 2022-11-22 22:24:30 -05:00
parent a40bd139e9
commit e357c43f0f
4 changed files with 27 additions and 1 deletions

8
content/offline.md Normal file
View file

@ -0,0 +1,8 @@
---
title: Offline
description: Your device is offline.
layout: offline
---
Your device is offline. You may have some pages cached for offline viewing,
otherwise please wait for the internet to reconnect to continue browsing.

BIN
static/img/avatar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 MiB

18
static/manifest.json Normal file
View file

@ -0,0 +1,18 @@
{
"lang": "en",
"short_name": "Brandon Rozek",
"name": "Brandon Rozek",
"description": "Brandon Rozek's Website",
"icons": [
{
"src": "/img/avatar.png",
"sizes": "300x300",
"type": "image/png",
"purpose": "any"
}
],
"start_url": "/",
"display": "minimal-ui",
"background_color": "#ffffff",
"theme_color": "#ffffff"
}

@ -1 +1 @@
Subproject commit 1f1e07b4bfe1bdb7b1665f4c9c0160c4cfefe6fe
Subproject commit 5214da544e32313b075a9cdc442e327899e2d6ef