update

working

reset

vue.js used

without footer

docker

default mode
This commit is contained in:
cpu
2025-05-06 20:19:38 +02:00
parent d741efa62d
commit 0bf368ea7a
40 changed files with 5117 additions and 2 deletions

30
index.html Normal file
View File

@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico"> <!-- Will be served from public/favicon.ico -> dist/favicon.ico -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>Nexus Timer</title>
<link rel="manifest" href="/manifest.json"> <!-- Will be served from public/manifest.json -> dist/manifest.json -->
<meta name="theme-color" content="#000000">
<link rel="apple-touch-icon" href="/icons/icon-192x192.png"> <!-- Will be served from public/icons/ -> dist/icons/ -->
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
// service-worker.js from public dir will be copied to dist root
navigator.serviceWorker.register('/service-worker.js')
.then(registration => {
console.log('ServiceWorker registration successful with scope: ', registration.scope);
})
.catch(error => {
console.log('ServiceWorker registration failed: ', error);
});
});
}
</script>
</body>
</html>