This commit is contained in:
Omar Najjar 2024-07-06 23:56:13 +10:00
parent 44a0c58664
commit a85a6560d5
3 changed files with 10 additions and 7 deletions

View file

@ -5,6 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Instinct App</title>
<link href="https://fonts.googleapis.com/css2?family=Syne:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="manifest" href="./manifest.json">
<meta name="theme-color" content="#000000">
<style>
:root {
--primary-neon: rgba(0, 255, 0, 0.9);
@ -141,7 +143,7 @@
box-shadow: var(--neon-shadow-pulse);
}
90% {
box-shadow: var(--neon-shadow);
box-shadow: var (--neon-shadow);
border-color: var(--primary-neon);
color: var(--primary-neon);
text-shadow: var(--neon-shadow-text);

View file

@ -2,7 +2,7 @@
"name": "Instinct",
"short_name": "Instinct",
"description": "A description of your app",
"start_url": "./index.html",
"start_url": "./",
"display": "standalone",
"background_color": "#000000",
"theme_color": "#000000",
@ -18,5 +18,4 @@
"type": "image/png"
}
]
}
}

View file

@ -1,8 +1,10 @@
const CACHE_NAME = 'instinct-app-cache';
const urlsToCache = [
'/instinct/',
'/instinct/index.html',
'/instinct/manifest.json',
'/',
'/index.html',
'/manifest.json',
'/icon-192x192.png',
'/icon-512x512.png'
];
self.addEventListener('install', (event) => {