Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-05-04 16:10:29 +07:00
co-authored by Copilot
parent 247535b292
commit 34816455cb
9 changed files with 216 additions and 1 deletions
+8 -1
View File
@@ -15,10 +15,17 @@
name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="robots" content="noindex, nofollow" />
<title>Admin | {{ $title ?? 'Database Petani' }}</title>
<title>AgroMonev | {{ $title ?? 'Database Petani' }}</title>
<meta name="description" content="" />
<link rel="manifest" href="/manifest.json">
<meta name="theme-color" content="#0d6efd">
<link rel="apple-touch-icon" href="/icons/icon-192.png">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<link rel="icon" type="image/x-icon" href="../../assets/img/favicon/favicon.ico" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
+10
View File
@@ -112,5 +112,15 @@
}
</style> -->
@stack('scripts')
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('/service-worker.js')
.then(reg => console.log('SW registered:', reg.scope))
.catch(err => console.error('SW failed:', err));
});
}
</script>
</body>
</html>