Add full standalone mode
Some checks failed
Build / build (push) Has been cancelled

This commit is contained in:
Trenton Zimmer 2025-02-09 23:51:13 -05:00
parent ba6bddc450
commit 71c222c423
2 changed files with 22 additions and 2 deletions

View File

@ -9,6 +9,7 @@
<meta name="apple-mobile-web-app-title" content="PhaseII">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="manifest" href="/data-sources/standalone.json" />
<title>PhaseWeb 3</title>
<style>
@ -44,8 +45,6 @@
};
document.addEventListener('keydown', keyHandler, false);
if (window.navigator.standalone) {document.querySelector('meta[name=viewport]').setAttribute('content', 'width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no');}
</script>
</head>
<body class="scroll-smooth">

View File

@ -0,0 +1,21 @@
{
"short_name": "PhaseII",
"name": "PhaseII eAmusement Network",
"icons": [
{
"src": "/favicon.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/icon.gif",
"sizes": "512x512",
"type": "image/gif"
}
],
"start_url": "/",
"display": "fullscreen",
"theme_color": "#1f2937",
"background_color": "#1f2937"
}