@@ -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" />
|
||||
|
||||
@@ -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>
|
||||
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Offline</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Koneksi terputus</h1>
|
||||
<p>Silakan cek internet Anda.</p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user