update
continuous-integration/drone/push Build is passing Details

This commit is contained in:
186526 2024-02-26 22:13:12 +08:00
parent 3d91194116
commit 70773342f7
3 changed files with 54 additions and 25 deletions

View File

@ -125,20 +125,20 @@
</group>
<group id="footer">
<a alt="Github followers" href="https://github.com/186526" target="_blank" rel="noopener"><img
alt="Github followers" src="https://blog.186526.xyz/shields.io/github/followers/186526
alt="Github followers" src="https://186526.xyz/shields.io/github/followers/186526
" /></a>
<br>
<div>
<a alt="PGP Key" href="https://i.186526.xyz/pgp_keys.asc" target="_blank" rel="noopener">
<img alt="PGP Key" src="https://blog.186526.xyz/shields.io/keybase/pgp/186526" />
<img alt="PGP Key" src="https://186526.xyz/shields.io/keybase/pgp/186526" />
</a>
<a alt="Moe ICP 20218600" href="https://icp.gov.moe/?keyword=20218600" target="_blank" rel="noopener"><img
alt="Moe ICP 20218600"
src="https://blog.186526.xyz/shields.io/badge/%E8%90%8CICP%E5%A4%87-20218600-blue" /></a>
src="https://186526.xyz/shields.io/badge/%E8%90%8CICP%E5%A4%87-20218600-blue" /></a>
<a alt="186526.xyz Uptime" href="https://status.186526.eu.org/" target="_blank" rel="noopener"><img
alt="186526.xyz Uptime"
src="https://blog.186526.xyz/shields.io/uptimerobot/ratio/m786767672-6913a353d708838f195d30d8" /></a>
src="https://186526.xyz/shields.io/uptimerobot/ratio/m786767672-6913a353d708838f195d30d8" /></a>
<a alt="CI Status" href="https://ci.186526.xyz/186526/home-app" target="_blank" rel="noopener">
<img alt="CI Status" src="https://ci.186526.xyz/api/badges/186526/home-app/status.svg" />

View File

@ -1,22 +1,51 @@
{
"name": "It's me, 186526!",
"short_name": "186526.xyz",
"lang": "zh-CN",
"start_url": "/",
"display": "standalone",
"theme_color": "#00bdff",
"background_color": "#121212",
"icons": [
{
"src": "./maskable.png",
"sizes": "1269x1269",
"type": "image/png",
"purpose": "any maskable"
},
{
"src": "./avatar.webp",
"sizes": "512x512",
"type": "image/webp"
}
]
"name": "It's me, 186526!",
"short_name": "186526.xyz",
"lang": "zh-CN",
"start_url": "/",
"display": "standalone",
"theme_color": "#00bdff",
"background_color": "#121212",
"icons": [
{
"src": "./maskable.png",
"sizes": "1269x1269",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "./avatar.webp",
"sizes": "512x512",
"type": "image/webp"
}
],
"shortcuts": [
{
"name": "Blog",
"short_name": "Blog",
"description": "Go to check my blog",
"url": "/goto/blog",
"icons": [
{
"src": "/assets/hexo.svg",
"sizes": "500x500"
}
]
}
],
"screenshots": [
{
"src": "./assets/og.png",
"sizes": "863x451",
"type": "image/webp",
"form_factor": "wide",
"label": "Homescreen of it."
},
{
"src": "./assets/og.png",
"sizes": "863x451",
"type": "image/webp",
"label": "Homescreen of it."
}
]
}

View File

@ -31,7 +31,7 @@ window.addEventListener("DOMContentLoaded", (_ev) => {
// @ts-expect-error
document.querySelector(
"#footer > div"
).innerHTML += `<a alt="Update Commit" href="https://git.186526.xyz/186526/home-app/src/commit/${APP_VERSION}"><img alt="Update Commit" src="https://blog.186526.xyz/shields.io/badge/commit-${APP_VERSION}-blue" /></a> <img alt="Latest Update" src="https://blog.186526.xyz/shields.io/date/${APP_BUILD_TIME}?color=sucessful&label=latest%20update" />`;
).innerHTML += `<a alt="Update Commit" href="https://git.186526.xyz/186526/home-app/src/commit/${APP_VERSION}"><img alt="Update Commit" src="https://186526.xyz/shields.io/badge/commit-${APP_VERSION}-blue" /></a> <img alt="Latest Update" src="https://186526.xyz/shields.io/date/${APP_BUILD_TIME}?color=sucessful&label=latest%20update" />`;
// @ts-expect-error
document.querySelector("#footer").innerHTML = document.querySelector("#footer")?.innerHTML.replaceAll("unknown",__APP_BUILD_MACHINE__);