feat: add pwa support
Co-authored-by: LifeAdventurer <life0adventurer@gmail.com>
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Daily Fortune Generator</title>
|
<title>Daily Fortune Generator</title>
|
||||||
<link rel="icon" href="../images/lifeadventurer.jpg">
|
<link rel="icon" href="../images/lifeadventurer.jpg">
|
||||||
|
<link rel="manifest" href="./manifest.json">
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
|
||||||
<script src="https://unpkg.com/vue@3.3.8/dist/vue.global.js"></script>
|
<script src="https://unpkg.com/vue@3.3.8/dist/vue.global.js"></script>
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
|
||||||
|
|||||||
32
fortune_generator/manifest.json
Normal file
32
fortune_generator/manifest.json
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"short_name": "Fontune Generator",
|
||||||
|
"name": "Fontune Generator",
|
||||||
|
"description": "Get your daily fortune with just a click.",
|
||||||
|
"background_color": "#1a1b1e",
|
||||||
|
"theme_color": "#1a1b1e",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "../images/lifeadventurer-192*192.png",
|
||||||
|
"sizes": "192x192",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "../images/lifeadventurer-512*512.png",
|
||||||
|
"sizes": "512x512",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "../images/lifeadventurer-180*180.png",
|
||||||
|
"sizes": "180x180",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "../images/lifeadventurer-270*270.png",
|
||||||
|
"sizes": "270x270",
|
||||||
|
"type": "image/png"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"start_url": "/index.html",
|
||||||
|
"display": "standalone",
|
||||||
|
"orientation": "portrait"
|
||||||
|
}
|
||||||
BIN
images/lifeadventurer-180*180.png
Normal file
BIN
images/lifeadventurer-180*180.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
BIN
images/lifeadventurer-192*192.png
Normal file
BIN
images/lifeadventurer-192*192.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
BIN
images/lifeadventurer-270*270.png
Normal file
BIN
images/lifeadventurer-270*270.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 99 KiB |
BIN
images/lifeadventurer-512*512.png
Normal file
BIN
images/lifeadventurer-512*512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 284 KiB |
BIN
images/lifeadventurer.png
Normal file
BIN
images/lifeadventurer.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 367 KiB |
Reference in New Issue
Block a user