100 lines
2.2 KiB
HTML
100 lines
2.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Offline - Tour Builder</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
background-color: #1f2937;
|
|
color: #ffffff;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.container {
|
|
max-width: 400px;
|
|
}
|
|
|
|
.icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
margin-bottom: 2rem;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 1rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
p {
|
|
color: #9ca3af;
|
|
margin-bottom: 2rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.retry-btn {
|
|
display: inline-block;
|
|
padding: 0.75rem 1.5rem;
|
|
background-color: #3b82f6;
|
|
color: #ffffff;
|
|
border: none;
|
|
border-radius: 0.5rem;
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.retry-btn:hover {
|
|
background-color: #2563eb;
|
|
}
|
|
|
|
.retry-btn:active {
|
|
background-color: #1d4ed8;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path d="M18.364 5.636a9 9 0 010 12.728M5.636 18.364a9 9 0 010-12.728" />
|
|
<path d="M15.536 8.464a5 5 0 010 7.072M8.464 15.536a5 5 0 010-7.072" />
|
|
<circle cx="12" cy="12" r="1" fill="currentColor" />
|
|
</svg>
|
|
|
|
<h1>You're Offline</h1>
|
|
|
|
<p>
|
|
It looks like you've lost your internet connection.
|
|
Some features may not be available until you're back online.
|
|
</p>
|
|
|
|
<button class="retry-btn" onclick="window.location.reload()">
|
|
Try Again
|
|
</button>
|
|
</div>
|
|
|
|
<script>
|
|
// Auto-retry when connection is restored
|
|
window.addEventListener('online', () => {
|
|
window.location.reload();
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|