added PWA support

This commit is contained in:
Thomas G 2022-06-21 20:53:22 +10:00
parent 67cbc3ceae
commit d7a37beff1
4 changed files with 10 additions and 2 deletions

2
.vscode/launch.json vendored
View File

@ -5,7 +5,7 @@
{
"type": "pwa-msedge",
"request": "launch",
"name": "Launch Edge against localhost",
"name": "Launch Web-App",
"url": "file:///${workspaceFolder}/index.html",
"webRoot": "${workspaceFolder}"
}

View File

@ -14,6 +14,7 @@
<link rel="apple-touch-startup-image" href="MORBLOXSplash.png"/>
<link rel="icon" type="image/x-icon" href="MORBLOX.ico">
<link rel="stylesheet" href="main.css">
<link rel="manifest" href="manifest.json">
<script type="text/javascript" src="index.js"></script>
</head>
<body>

View File

@ -138,7 +138,7 @@ html {
font-family: "Helvetica";
src: url('Helvetica.ttf') format('truetype'),;
font-style: normal;
background-color: rgb(49, 107, 223);
background-color: #316bdf;
color: white;
animation-name: animatedbackground;
animation-duration: 50s;

7
manifest.json Normal file
View File

@ -0,0 +1,7 @@
{
"name": "MORBLOX",
"lang": "en-US",
"start_url": "index.html",
"display": "standalone",
"version": "1.0.0"
}