Initial commit

This commit is contained in:
2026-10-31 13:24:24 +01:00
commit e6805f2245
87 changed files with 16180 additions and 0 deletions
+244
View File
@@ -0,0 +1,244 @@
<!DOCTYPE html>
<html lang="nl" class="h-full bg-slate-50 text-slate-900 antialiased">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>@yield('title', 'Jouwdriedee.nl | Dé 3D Print Webshop & Printservice')</title>
<meta name="description" content="@yield('meta_description', 'Jouwdriedee.nl - Jouw ideeën tastbaar gemaakt in 3D. Unieke decoratie, tech gadgets en custom 3D printservice.')">
<!-- Google Fonts -->
<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=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap" rel="stylesheet">
@vite(['resources/css/app.css', 'resources/js/app.js'])
<style>
body { font-family: 'Plus Jakarta Sans', sans-serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }
</style>
</head>
<body class="min-h-full flex flex-col bg-slate-50 text-slate-800" x-data="{ mobileMenuOpen: false }">
<!-- Top Announcement Bar -->
<div class="bg-indigo-950 text-indigo-200 text-xs py-2 px-4 text-center font-medium border-b border-indigo-900/60">
<div class="max-w-7xl mx-auto flex items-center justify-between">
<span class="hidden sm:inline">🚀 <strong>Nieuw:</strong> Upload nu ook jouw eigen 3D CAD/STL bestanden voor maatwerk prints!</span>
<span class="sm:hidden mx-auto font-semibold">✨ Gratis verzending vanaf € 50,-</span>
<div class="hidden sm:flex items-center space-x-6 text-[11px] text-indigo-300">
<span class="flex items-center space-x-1.5">
<i data-lucide="shield-check" class="w-3.5 h-3.5 text-emerald-400"></i>
<span>Premium PLA+, PETG & TPU</span>
</span>
<span class="flex items-center space-x-1.5">
<i data-lucide="truck" class="w-3.5 h-3.5 text-amber-400"></i>
<span>Verzending binnen 2-3 werkdagen</span>
</span>
</div>
</div>
</div>
<!-- Main Navigation Header -->
<header class="sticky top-0 z-40 bg-white/90 backdrop-blur-md border-b border-slate-200/80 shadow-2xs">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between h-20">
<!-- Logo & Brand -->
<div class="flex items-center space-x-8">
<a href="{{ route('home') }}" class="flex items-center space-x-3 group">
<div class="w-11 h-11 rounded-2xl bg-gradient-to-tr from-indigo-600 via-indigo-500 to-sky-400 flex items-center justify-center text-white shadow-md shadow-indigo-500/25 group-hover:scale-105 transition-transform">
<i data-lucide="box" class="w-6 h-6 stroke-[2.2]"></i>
</div>
<div class="flex flex-col">
<div class="flex items-center space-x-1">
<span class="text-xl font-extrabold tracking-tight text-slate-900">Jouw<span class="text-indigo-600">driedee</span></span>
<span class="text-xs font-bold text-sky-500 font-mono">.nl</span>
</div>
<span class="text-[10px] tracking-wider uppercase font-semibold text-slate-400">3D Print Studio & Shop</span>
</div>
</a>
<!-- Desktop Nav Links -->
<nav class="hidden md:flex items-center space-x-1 text-sm font-semibold">
<a href="{{ route('home') }}" class="px-3.5 py-2 rounded-xl transition {{ request()->routeIs('home') ? 'bg-indigo-50 text-indigo-600 font-bold' : 'text-slate-600 hover:text-slate-900 hover:bg-slate-100/70' }}">
Home
</a>
<a href="{{ route('catalog') }}" class="px-3.5 py-2 rounded-xl transition {{ request()->routeIs('catalog*') ? 'bg-indigo-50 text-indigo-600 font-bold' : 'text-slate-600 hover:text-slate-900 hover:bg-slate-100/70' }}">
Catalogus
</a>
<a href="{{ route('custom.request') }}" class="px-3.5 py-2 rounded-xl transition flex items-center space-x-1.5 {{ request()->routeIs('custom.request') ? 'bg-indigo-50 text-indigo-600 font-bold' : 'text-slate-600 hover:text-slate-900 hover:bg-slate-100/70' }}">
<i data-lucide="printer" class="w-4 h-4 text-indigo-500"></i>
<span>Eigen STL Printen</span>
</a>
</nav>
</div>
<!-- Right Action Bar -->
<div class="flex items-center space-x-3">
<!-- Search Bar in Header -->
<form action="{{ route('catalog') }}" method="GET" class="hidden lg:flex items-center relative">
<input
type="text"
name="q"
value="{{ request('q') }}"
placeholder="Zoek een print, houder, vaas..."
class="w-64 bg-slate-100 border border-slate-200/80 rounded-xl pl-9 pr-3.5 py-2 text-xs font-medium placeholder-slate-400 focus:bg-white focus:outline-none focus:ring-2 focus:ring-indigo-500/20 focus:border-indigo-500 transition"
>
<i data-lucide="search" class="w-4 h-4 text-slate-400 absolute left-3 pointer-events-none"></i>
</form>
<!-- Cart Button with Counter -->
@php
$cartItems = session('cart', []);
$cartCount = array_sum(array_column($cartItems, 'quantity'));
@endphp
<a href="{{ route('cart.index') }}" class="relative p-2.5 rounded-xl border border-slate-200 bg-white hover:bg-slate-50 text-slate-700 transition flex items-center space-x-2 shadow-2xs group">
<i data-lucide="shopping-bag" class="w-5 h-5 text-slate-600 group-hover:text-indigo-600 transition"></i>
<span class="text-xs font-bold hidden sm:inline">Winkelwagen</span>
@if($cartCount > 0)
<span class="inline-flex items-center justify-center px-2 py-0.5 text-xs font-black text-white bg-indigo-600 rounded-full animate-pulse">
{{ $cartCount }}
</span>
@endif
</a>
<!-- Mobile Menu Trigger -->
<button @click="mobileMenuOpen = !mobileMenuOpen" type="button" class="md:hidden p-2.5 rounded-xl border border-slate-200 bg-white text-slate-700 hover:bg-slate-50">
<i data-lucide="menu" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
<!-- Mobile Menu Dropdown -->
<div x-show="mobileMenuOpen" x-cloak class="md:hidden border-t border-slate-200 bg-white px-4 pt-3 pb-6 space-y-3 shadow-lg">
<form action="{{ route('catalog') }}" method="GET" class="flex items-center relative mb-3">
<input
type="text"
name="q"
value="{{ request('q') }}"
placeholder="Zoek een print, houder..."
class="w-full bg-slate-100 border border-slate-200 rounded-xl pl-9 pr-3.5 py-2.5 text-xs placeholder-slate-400"
>
<i data-lucide="search" class="w-4 h-4 text-slate-400 absolute left-3"></i>
</form>
<div class="flex flex-col space-y-1">
<a href="{{ route('home') }}" class="px-3.5 py-2.5 rounded-xl text-sm font-semibold text-slate-700 hover:bg-slate-50">Home</a>
<a href="{{ route('catalog') }}" class="px-3.5 py-2.5 rounded-xl text-sm font-semibold text-slate-700 hover:bg-slate-50">Alle 3D Prints & Catalogus</a>
<a href="{{ route('custom.request') }}" class="px-3.5 py-2.5 rounded-xl text-sm font-semibold text-indigo-600 bg-indigo-50/70 font-bold flex items-center space-x-2">
<i data-lucide="printer" class="w-4 h-4"></i>
<span>Eigen 3D Model Printen (Upload)</span>
</a>
</div>
</div>
</header>
<!-- Global Toast / Alerts -->
@if(session('success'))
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 mt-4">
<div class="p-4 rounded-2xl bg-emerald-50 border border-emerald-200 text-emerald-900 text-sm font-semibold flex items-center justify-between shadow-xs">
<div class="flex items-center space-x-3">
<div class="w-7 h-7 rounded-lg bg-emerald-600 text-white flex items-center justify-center">
<i data-lucide="check" class="w-4 h-4 stroke-[3]"></i>
</div>
<span>{{ session('success') }}</span>
</div>
<a href="{{ route('cart.index') }}" class="text-xs font-bold underline hover:text-emerald-950">Naar winkelwagen &rarr;</a>
</div>
</div>
@endif
@if(session('error'))
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 mt-4">
<div class="p-4 rounded-2xl bg-rose-50 border border-rose-200 text-rose-900 text-sm font-semibold flex items-center space-x-3 shadow-xs">
<div class="w-7 h-7 rounded-lg bg-rose-600 text-white flex items-center justify-center">
<i data-lucide="alert-circle" class="w-4 h-4 stroke-[3]"></i>
</div>
<span>{{ session('error') }}</span>
</div>
</div>
@endif
<!-- Main Content Slot -->
<main class="flex-1">
@yield('content')
</main>
<!-- Footer -->
<footer class="bg-slate-900 text-slate-300 border-t border-slate-800 pt-16 pb-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-1 md:grid-cols-4 gap-10 pb-12 border-b border-slate-800/80">
<!-- Col 1: Brand -->
<div class="space-y-4 md:col-span-1">
<div class="flex items-center space-x-3">
<div class="w-10 h-10 rounded-xl bg-indigo-600 flex items-center justify-center text-white">
<i data-lucide="box" class="w-5 h-5"></i>
</div>
<span class="text-xl font-black text-white tracking-tight">Jouw<span class="text-indigo-400">driedee</span>.nl</span>
</div>
<p class="text-xs text-slate-400 leading-relaxed">
Van unieke interieurdecoratie en handige bureaugadgets tot industriële prototypes op maat. Geprint met professionele precisie op hypermoderne FDM- en SLA-printers.
</p>
<div class="flex items-center space-x-2 text-xs font-mono text-emerald-400 pt-1">
<span class="w-2 h-2 rounded-full bg-emerald-500 animate-ping"></span>
<span>Printers online & gereed</span>
</div>
</div>
<!-- Col 2: Snelle links -->
<div class="space-y-3">
<h3 class="text-xs font-bold uppercase tracking-wider text-white">Winkel & Producten</h3>
<ul class="space-y-2 text-xs text-slate-400">
<li><a href="{{ route('catalog') }}" class="hover:text-white transition">Alle 3D Prints</a></li>
<li><a href="{{ route('catalog', ['category' => 'home-interieur']) }}" class="hover:text-white transition">Home & Interieur</a></li>
<li><a href="{{ route('catalog', ['category' => 'bureau-tech']) }}" class="hover:text-white transition">Bureau & Tech</a></li>
<li><a href="{{ route('catalog', ['category' => 'gadgets-speelgoed']) }}" class="hover:text-white transition">Gadgets & Speelgoed</a></li>
<li><a href="{{ route('custom.request') }}" class="text-indigo-400 font-semibold hover:underline">Custom STL Uploaden</a></li>
</ul>
</div>
<!-- Col 3: Materialen Kennisbank -->
<div class="space-y-3">
<h3 class="text-xs font-bold uppercase tracking-wider text-white">3D Print Materialen</h3>
<ul class="space-y-2 text-xs text-slate-400">
<li class="flex items-center space-x-1.5"><span class="w-1.5 h-1.5 rounded-full bg-emerald-400"></span><span><strong>PLA+</strong>: Biologisch & strak</span></li>
<li class="flex items-center space-x-1.5"><span class="w-1.5 h-1.5 rounded-full bg-blue-400"></span><span><strong>PETG</strong>: Hitte- & slagvast</span></li>
<li class="flex items-center space-x-1.5"><span class="w-1.5 h-1.5 rounded-full bg-amber-400"></span><span><strong>TPU</strong>: Flexibel rubber</span></li>
<li class="flex items-center space-x-1.5"><span class="w-1.5 h-1.5 rounded-full bg-purple-400"></span><span><strong>Resin</strong>: Ultra-fijne details</span></li>
</ul>
</div>
<!-- Col 4: Contact & Zekerheden -->
<div class="space-y-3">
<h3 class="text-xs font-bold uppercase tracking-wider text-white">Contact & Klantenservice</h3>
<p class="text-xs text-slate-400">Heb je een speciale printopdracht of grote batch nodig?</p>
<div class="p-3.5 rounded-xl bg-slate-800/80 border border-slate-700/60 text-xs space-y-1.5">
<div class="flex items-center space-x-2 text-slate-300">
<i data-lucide="mail" class="w-3.5 h-3.5 text-indigo-400"></i>
<span>info@jouwdriedee.nl</span>
</div>
<div class="flex items-center space-x-2 text-slate-300">
<i data-lucide="map-pin" class="w-3.5 h-3.5 text-indigo-400"></i>
<span>Nederland (Verzending NL & BE)</span>
</div>
</div>
</div>
</div>
<div class="pt-8 flex flex-col sm:flex-row items-center justify-between text-xs text-slate-500 gap-4">
<p>&copy; {{ date('Y') }} Jouwdriedee.nl. Alle rechten voorbehouden.</p>
<div class="flex items-center space-x-4">
<span>Veilig betalen met iDEAL & Bancontact</span>
<span>•</span>
<span>Coolify Docker Deployed</span>
</div>
</div>
</div>
</footer>
</body>
</html>