Skip to content

Commit

Permalink
pwa
Browse files Browse the repository at this point in the history
  • Loading branch information
Julius Figge committed Sep 9, 2023
1 parent 5dca508 commit ca368fc
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 2 deletions.
2 changes: 2 additions & 0 deletions _includes/layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
{#- Renders the CSS bundle using a separate file, if you can't set CSP directive style-src: 'unsafe-inline' #}
{#- <link rel="stylesheet" href="{% getBundleFileUrl "css" %}"> #}

{#- PWA #}
<link rel="manifest" href="/manifest.json">
<script>
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("/service-worker.js");
Expand Down
Binary file added public/img/jeujeus_128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/img/jeujeus_192.jpeg
Binary file not shown.
Binary file added public/img/jeujeus_192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/jeujeus_48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/img/jeujeus_512.jpeg
Binary file not shown.
Binary file added public/img/jeujeus_512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/jeujeus_96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 14 additions & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,24 @@
"name": "JeuJeus Blog",
"icons": [
{
"src": "/img/jeujeus_192.jpeg",
"src": "/img/jeujeus_48.png",
"type": "image/png",
"sizes": "48x48"
},{
"src": "/img/jeujeus_96.png",
"type": "image/png",
"sizes": "96x96"
},{
"src": "/img/jeujeus_128.png",
"type": "image/png",
"sizes": "128x128"
},{
"src": "/img/jeujeus_192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "/img/jeujeus_512.jpeg",
"src": "/img/jeujeus_512.png",
"type": "image/png",
"sizes": "512x512"
}
Expand Down

0 comments on commit ca368fc

Please sign in to comment.