| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/elite-events-storybook/ |
Upload File : |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#1a1a2e">
<title>Offline - Elite Events</title>
<link rel="icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/icons/apple-touch-icon.png">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary: #1a1a2e;
--primary-light: #2d2d4a;
--text: #1f2937;
--text-muted: #6b7280;
--bg: #f9fafb;
--bg-card: #ffffff;
}
@media (prefers-color-scheme: dark) {
:root {
--primary: #4f46e5;
--primary-light: #6366f1;
--text: #f9fafb;
--text-muted: #9ca3af;
--bg: #111827;
--bg-card: #1f2937;
}
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: var(--bg);
color: var(--text);
padding: 1rem;
}
.container {
text-align: center;
max-width: 400px;
padding: 2rem;
background: var(--bg-card);
border-radius: 1rem;
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.icon-container {
width: 100px;
height: 100px;
margin: 0 auto 1.5rem;
background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
@media (prefers-color-scheme: dark) {
.icon-container {
background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
}
}
.icon {
width: 50px;
height: 50px;
color: #92400e;
}
@media (prefers-color-scheme: dark) {
.icon {
color: #fbbf24;
}
}
h1 {
font-size: 1.75rem;
font-weight: 700;
margin-bottom: 0.75rem;
color: var(--text);
}
p {
color: var(--text-muted);
margin-bottom: 1.5rem;
line-height: 1.6;
}
.button-group {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
button {
background: var(--primary);
color: white;
border: none;
padding: 0.875rem 1.5rem;
border-radius: 0.5rem;
font-size: 1rem;
font-weight: 500;
cursor: pointer;
transition: background-color 0.2s, transform 0.1s;
}
button:hover {
background: var(--primary-light);
}
button:active {
transform: scale(0.98);
}
.button-secondary {
background: transparent;
color: var(--primary);
border: 2px solid var(--primary);
}
.button-secondary:hover {
background: var(--primary);
color: white;
}
.features {
margin-top: 2rem;
padding-top: 1.5rem;
border-top: 1px solid #e5e7eb;
text-align: left;
}
@media (prefers-color-scheme: dark) {
.features {
border-top-color: #374151;
}
}
.features h3 {
font-size: 0.875rem;
font-weight: 600;
color: var(--text-muted);
margin-bottom: 1rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.feature-list {
list-style: none;
}
.feature-list li {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.5rem 0;
color: var(--text-muted);
font-size: 0.875rem;
}
.feature-icon {
width: 20px;
height: 20px;
color: #10b981;
}
@media (prefers-color-scheme: dark) {
.feature-icon {
color: #34d399;
}
}
</style>
</head>
<body>
<div class="container">
<div class="icon-container">
<svg class="icon" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M18.364 5.636a9 9 0 010 12.728m0 0l-2.829-2.829m2.829 2.829L21 21M15.536 8.464a5 5 0 010 7.072m0 0l-2.829-2.829m-4.243 2.829a4.978 4.978 0 01-1.414-2.83m-1.414 5.658a9 9 0 01-2.167-9.238m7.824 2.167a1 1 0 111.414 1.414m-1.414-1.414L3 3m8.293 8.293l1.414 1.414" />
</svg>
</div>
<h1>You're Offline</h1>
<p>It looks like you've lost your internet connection. Don't worry - some features are still available!</p>
<div class="button-group">
<button onclick="window.location.reload()">
Try Again
</button>
<button class="button-secondary" onclick="goHome()">
Go to Home
</button>
</div>
<div class="features">
<h3>Available Offline</h3>
<ul class="feature-list">
<li>
<svg class="feature-icon" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
Browse previously viewed products
</li>
<li>
<svg class="feature-icon" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
View your saved cart items
</li>
<li>
<svg class="feature-icon" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
Queue changes for later sync
</li>
</ul>
</div>
</div>
<script>
function goHome() {
window.location.href = '/';
}
// Check if back online
window.addEventListener('online', function() {
window.location.reload();
});
</script>
</body>
</html>