Merge pull request #3 from tobiichi3227/main

feat: add pwa support
This commit was merged in pull request #3.
This commit is contained in:
Moon
2023-12-06 21:34:56 +08:00
committed by GitHub
7 changed files with 33 additions and 0 deletions

View File

@@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Daily Fortune Generator</title>
<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">
<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>

View 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"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 KiB

BIN
images/lifeadventurer.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 KiB