Files
jouwdriedee/resources/views/errors/offline.blade.php
T

105 lines
5.8 KiB
PHP

<!DOCTYPE html>
<html lang="nl" class="h-full bg-slate-950 text-slate-100 antialiased">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Aan deze webshop wordt hard gewerkt! 🛠️ | Jouwdriedee.nl</title>
<link rel="icon" type="image/svg+xml" href="/images/logo-icon.svg">
<!-- Google Fonts: Fredoka & Nunito -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700;800&family=Nunito:wght@400;600;700;800;900&display=swap" rel="stylesheet">
@vite(['resources/css/app.css', 'resources/js/app.js'])
<style>
body { font-family: 'Nunito', system-ui, sans-serif; }
h1, h2, h3, h4, .font-heading { font-family: 'Fredoka', ui-rounded, 'Nunito', sans-serif; }
</style>
</head>
<body class="min-h-full flex flex-col justify-between bg-gradient-to-b from-rose-950 via-slate-950 to-slate-950 text-slate-100 p-4 sm:p-6 lg:p-8 selection:bg-rose-500 selection:text-white">
<!-- Top Logo Bar -->
<div class="max-w-4xl mx-auto w-full flex items-center justify-between py-2">
<div class="flex items-center space-x-3">
<img src="/images/logo.svg" alt="Jouwdriedee.nl" class="h-9 sm:h-11 w-auto brightness-200 invert">
</div>
<div class="inline-flex items-center space-x-2 px-3 py-1 rounded-full bg-rose-600/30 border border-rose-500/40 text-rose-300 text-xs font-bold">
<span class="w-2 h-2 rounded-full bg-rose-500 animate-ping"></span>
<span>Onderhoudsmodus</span>
</div>
</div>
<!-- Main Large Red Offline Banner / Card -->
<main class="max-w-3xl mx-auto w-full my-auto py-8">
<div class="rounded-3xl bg-slate-900/90 border-2 border-rose-500/80 shadow-2xl shadow-rose-900/50 p-6 sm:p-10 text-center relative overflow-hidden backdrop-blur-xl">
<!-- Glow effect behind content -->
<div class="absolute -top-24 -left-24 w-72 h-72 bg-rose-600/20 rounded-full blur-3xl pointer-events-none"></div>
<div class="absolute -bottom-24 -right-24 w-72 h-72 bg-amber-500/10 rounded-full blur-3xl pointer-events-none"></div>
<!-- Pulsing Alert Badge -->
<div class="inline-flex items-center space-x-2 px-4 py-1.5 rounded-full bg-rose-600 text-white font-black text-xs uppercase tracking-wider shadow-lg shadow-rose-600/40 mb-6">
<span class="w-2.5 h-2.5 rounded-full bg-white animate-pulse"></span>
<span>Webshop Tijdelijk Offline</span>
</div>
<!-- Animated 3D Printer Icon Illustration -->
<div class="w-20 h-20 sm:w-24 sm:h-24 rounded-3xl bg-rose-500/20 border border-rose-500/40 text-rose-400 mx-auto flex items-center justify-center text-4xl sm:text-5xl mb-6 shadow-inner animate-bounce" style="animation-duration: 3s;">
🖨️
</div>
<!-- Big Main Headline -->
<h1 class="font-heading text-2xl sm:text-4xl md:text-5xl font-black text-white tracking-tight leading-tight mb-4">
{{ $offlineTitle ?? 'Aan deze webshop wordt hard gewerkt!' }}
</h1>
<!-- Explanatory message -->
<p class="text-slate-300 text-sm sm:text-base max-w-xl mx-auto leading-relaxed font-medium mb-8">
{{ $offlineMessage ?? 'Onze 3D printers worden momenteel opnieuw gekalibreerd en we bouwen aan nieuwe toffe prints en functies. We zijn heel snel weer online voor bestellingen!' }}
</p>
<!-- 3 Info Columns -->
<div class="grid grid-cols-1 sm:grid-cols-3 gap-3 text-left pt-6 border-t border-slate-800">
<div class="p-4 rounded-2xl bg-slate-950/60 border border-slate-800/80">
<div class="text-xl mb-1">🛠️</div>
<h3 class="text-xs font-black text-white uppercase tracking-wider mb-1">Printstudio Update</h3>
<p class="text-[11px] text-slate-400 leading-normal">Finetunen van laagdiktes en toevoegen van nieuwe multi-color designs.</p>
</div>
<div class="p-4 rounded-2xl bg-slate-950/60 border border-slate-800/80">
<div class="text-xl mb-1">📦</div>
<h3 class="text-xs font-black text-white uppercase tracking-wider mb-1">Lopende Orders</h3>
<p class="text-[11px] text-slate-400 leading-normal">Reeds geplaatste bestellingen worden gewoon geprint en verzonden via PostNL.</p>
</div>
<div class="p-4 rounded-2xl bg-slate-950/60 border border-slate-800/80">
<div class="text-xl mb-1">✉️</div>
<h3 class="text-xs font-black text-white uppercase tracking-wider mb-1">Vragen of Contact?</h3>
<p class="text-[11px] text-slate-400 leading-normal">
Bereikbaar via <a href="mailto:info@jouwdriedee.nl" class="text-rose-400 font-bold hover:underline">info@jouwdriedee.nl</a>.
</p>
</div>
</div>
</div>
</main>
<!-- Footer with Admin Login Shortcut -->
<footer class="max-w-4xl mx-auto w-full py-4 text-center text-xs text-slate-500 flex flex-col sm:flex-row items-center justify-between gap-2 border-t border-slate-900">
<div>
&copy; {{ date('Y') }} Jouwdriedee.nl &bull; Tot snel!
</div>
<div>
<a href="{{ route('login') }}" class="text-slate-500 hover:text-slate-300 transition text-[11px] font-bold flex items-center space-x-1">
<span>Beheerder inloggen</span>
<span>&rarr;</span>
</a>
</div>
</footer>
</body>
</html>