Files
jouwdriedee/resources/views/admin/content/index.blade.php
T
2026-10-31 23:13:42 +01:00

530 lines
35 KiB
PHP

@extends('layouts.admin')
@section('title', 'Layout & Teksten Aanpassen | Jouwdriedee Beheer')
@section('content')
<div class="space-y-6" x-data="{ activeTab: 'hero' }">
<!-- Header Section -->
<div class="flex flex-col sm:flex-row sm:items-center justify-between pb-6 border-b border-slate-800 gap-4">
<div>
<div class="inline-flex items-center space-x-2 text-xs text-amber-400 font-bold uppercase tracking-wider mb-1">
<i data-lucide="palette" class="w-4 h-4"></i>
<span>Shop Content & Stijl CMS</span>
</div>
<h1 class="font-heading text-2xl sm:text-3xl font-black text-white">Layout & Teksten Beheer</h1>
<p class="text-xs sm:text-sm text-slate-400 mt-1">
Pas alle teksten, titels, USP's, call-to-actions en de lay-out van jouw webshop direct aan. Wijzigingen zijn onmiddellijk live zichtbaar voor bezoekers!
</p>
</div>
<div class="flex items-center space-x-2 self-start sm:self-auto">
<a href="{{ route('home') }}" target="_blank" class="px-4 py-2 rounded-xl bg-slate-800 hover:bg-slate-700 text-slate-200 text-xs font-bold transition flex items-center space-x-1.5 border border-slate-700">
<i data-lucide="eye" class="w-4 h-4 text-sky-400"></i>
<span>Bekijk Live Shop</span>
</a>
<form action="{{ route('admin.content.reset') }}" method="POST" onsubmit="return confirm('Weet je zeker dat je alle teksten wilt resetten naar de standaard fabrieksinstellingen?')">
@csrf
<button type="submit" class="px-3 py-2 rounded-xl bg-slate-800/80 hover:bg-rose-950/60 text-slate-400 hover:text-rose-300 text-xs font-bold transition border border-slate-700/80">
Reset Naar Standaard
</button>
</form>
</div>
</div>
<!-- Main Form -->
<form action="{{ route('admin.content.update') }}" method="POST" class="space-y-6">
@csrf
<!-- Tabs Navigation -->
<div class="flex items-center space-x-2 overflow-x-auto pb-2 border-b border-slate-800 text-xs font-bold">
<button
type="button"
@click="activeTab = 'hero'"
:class="activeTab === 'hero' ? 'bg-amber-400 text-slate-950 shadow-sm' : 'bg-slate-800 text-slate-300 hover:bg-slate-700'"
class="px-4 py-2.5 rounded-xl transition flex items-center space-x-1.5 whitespace-nowrap cursor-pointer"
>
<i data-lucide="sparkles" class="w-3.5 h-3.5"></i>
<span>1. Homepage Hero</span>
</button>
<button
type="button"
@click="activeTab = 'usp'"
:class="activeTab === 'usp' ? 'bg-amber-400 text-slate-950 shadow-sm' : 'bg-slate-800 text-slate-300 hover:bg-slate-700'"
class="px-4 py-2.5 rounded-xl transition flex items-center space-x-1.5 whitespace-nowrap cursor-pointer"
>
<i data-lucide="shield-check" class="w-3.5 h-3.5"></i>
<span>2. Waarom Jouwdriedee (USP's)</span>
</button>
<button
type="button"
@click="activeTab = 'sections'"
:class="activeTab === 'sections' ? 'bg-amber-400 text-slate-950 shadow-sm' : 'bg-slate-800 text-slate-300 hover:bg-slate-700'"
class="px-4 py-2.5 rounded-xl transition flex items-center space-x-1.5 whitespace-nowrap cursor-pointer"
>
<i data-lucide="layers" class="w-3.5 h-3.5"></i>
<span>3. Categorieën & Bestsellers</span>
</button>
<button
type="button"
@click="activeTab = 'announcement'"
:class="activeTab === 'announcement' ? 'bg-amber-400 text-slate-950 shadow-sm' : 'bg-slate-800 text-slate-300 hover:bg-slate-700'"
class="px-4 py-2.5 rounded-xl transition flex items-center space-x-1.5 whitespace-nowrap cursor-pointer"
>
<i data-lucide="megaphone" class="w-3.5 h-3.5"></i>
<span>4. Bovenbalk (Meldingen)</span>
</button>
<button
type="button"
@click="activeTab = 'footer'"
:class="activeTab === 'footer' ? 'bg-amber-400 text-slate-950 shadow-sm' : 'bg-slate-800 text-slate-300 hover:bg-slate-700'"
class="px-4 py-2.5 rounded-xl transition flex items-center space-x-1.5 whitespace-nowrap cursor-pointer"
>
<i data-lucide="info" class="w-3.5 h-3.5"></i>
<span>5. Footer & Contact</span>
</button>
<button
type="button"
@click="activeTab = 'brand'"
:class="activeTab === 'brand' ? 'bg-amber-400 text-slate-950 shadow-sm' : 'bg-slate-800 text-slate-300 hover:bg-slate-700'"
class="px-4 py-2.5 rounded-xl transition flex items-center space-x-1.5 whitespace-nowrap cursor-pointer"
>
<i data-lucide="settings" class="w-3.5 h-3.5"></i>
<span>6. Algemeen & Thema</span>
</button>
</div>
<!-- ==================================================== -->
<!-- TAB 1: HOMEPAGE HERO -->
<!-- ==================================================== -->
<div x-show="activeTab === 'hero'" class="space-y-6">
<div class="p-6 rounded-3xl bg-slate-900 border border-slate-800 space-y-5">
<div class="border-b border-slate-800 pb-3">
<h3 class="font-heading font-black text-lg text-white">Homepage Hero Bovenkant</h3>
<p class="text-xs text-slate-400">De eerste sectie die bezoekers zien bij het openen van de winkel.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Pill Badge Tekst (bovenaan hero)</label>
<input
type="text"
name="hero_badge"
value="{{ setting('hero_badge', 'Nederlandse 3D Printstudio • Bambu Lab Precisie') }}"
class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2.5 text-xs text-white focus:outline-none focus:ring-2 focus:ring-amber-400"
>
</div>
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Uitgelichte Kaart Badge (rechts op foto)</label>
<input
type="text"
name="hero_card_badge"
value="{{ setting('hero_card_badge', 'Meest gekozen print') }}"
class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2.5 text-xs text-white focus:outline-none focus:ring-2 focus:ring-amber-400"
>
</div>
</div>
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Hero Hoofdtitel (Grote H1)</label>
<input
type="text"
name="hero_title"
value="{{ setting('hero_title', 'Kleurrijke 3D prints, fidget toys & collectibles.') }}"
class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2.5 text-sm font-black text-white focus:outline-none focus:ring-2 focus:ring-amber-400"
>
<p class="text-[11px] text-slate-500">Kies een pakkende, speelse titel die meteen duidelijk maakt wat er te koop is.</p>
</div>
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Hero Subtitel / Introductietekst</label>
<textarea
name="hero_subtitle"
rows="3"
class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2.5 text-xs text-white focus:outline-none focus:ring-2 focus:ring-amber-400 leading-relaxed"
>{{ setting('hero_subtitle', 'Van soepel bewegende kristaldraken en geometrische Pokémon planters tot filmprops op schaal. Haarscherp geprint in hoogwaardig Bio-PLA+, stevig PETG of flexibel TPU in jouw favoriete kleur!') }}</textarea>
</div>
<!-- Knoppen in de hero -->
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 pt-2 border-t border-slate-800">
<div class="space-y-2 p-4 rounded-2xl bg-slate-950/60 border border-slate-800">
<span class="text-xs font-black text-amber-400 block">Primaire Actieknop (Gele knop)</span>
<div class="space-y-1.5">
<label class="text-[11px] text-slate-400 font-bold block">Knoptekst</label>
<input type="text" name="hero_primary_btn_text" value="{{ setting('hero_primary_btn_text', 'Bekijk de Collectie') }}" class="w-full bg-slate-900 border border-slate-700 rounded-xl px-3 py-2 text-xs text-white">
</div>
<div class="space-y-1.5">
<label class="text-[11px] text-slate-400 font-bold block">Link URL</label>
<input type="text" name="hero_primary_btn_url" value="{{ setting('hero_primary_btn_url', '/catalogus') }}" class="w-full bg-slate-900 border border-slate-700 rounded-xl px-3 py-2 text-xs text-white">
</div>
</div>
<div class="space-y-2 p-4 rounded-2xl bg-slate-950/60 border border-slate-800">
<span class="text-xs font-black text-violet-400 block">Secundaire Actieknop (Lila knop)</span>
<div class="space-y-1.5">
<label class="text-[11px] text-slate-400 font-bold block">Knoptekst</label>
<input type="text" name="hero_secondary_btn_text" value="{{ setting('hero_secondary_btn_text', 'Fidget Toys & Slugs') }}" class="w-full bg-slate-900 border border-slate-700 rounded-xl px-3 py-2 text-xs text-white">
</div>
<div class="space-y-1.5">
<label class="text-[11px] text-slate-400 font-bold block">Link URL</label>
<input type="text" name="hero_secondary_btn_url" value="{{ setting('hero_secondary_btn_url', '/catalogus?category=fidget-toys') }}" class="w-full bg-slate-900 border border-slate-700 rounded-xl px-3 py-2 text-xs text-white">
</div>
</div>
</div>
<!-- 3 Statistieken / Kwaliteitsbadges -->
<div class="pt-4 border-t border-slate-800">
<span class="text-xs font-black text-slate-200 block mb-3">3 Kwaliteitskenmerken onder de knoppen</span>
<div class="grid grid-cols-1 md:grid-cols-3 gap-3">
<div class="p-3 bg-slate-950 border border-slate-800 rounded-2xl space-y-1.5">
<label class="text-[10px] uppercase font-bold text-slate-400 block">Stat 1 Waarde & Label</label>
<input type="text" name="hero_stat_1_val" value="{{ setting('hero_stat_1_val', '0.12 mm') }}" class="w-full bg-slate-900 border border-slate-700 rounded-lg px-2.5 py-1.5 text-xs text-white font-black">
<input type="text" name="hero_stat_1_lbl" value="{{ setting('hero_stat_1_lbl', 'Minimale laaghoogte') }}" class="w-full bg-slate-900 border border-slate-700 rounded-lg px-2.5 py-1 text-xs text-slate-400">
</div>
<div class="p-3 bg-slate-950 border border-slate-800 rounded-2xl space-y-1.5">
<label class="text-[10px] uppercase font-bold text-slate-400 block">Stat 2 Waarde & Label</label>
<input type="text" name="hero_stat_2_val" value="{{ setting('hero_stat_2_val', 'Bambu Lab') }}" class="w-full bg-slate-900 border border-slate-700 rounded-lg px-2.5 py-1.5 text-xs text-white font-black">
<input type="text" name="hero_stat_2_lbl" value="{{ setting('hero_stat_2_lbl', 'X1-Carbon Precisie') }}" class="w-full bg-slate-900 border border-slate-700 rounded-lg px-2.5 py-1 text-xs text-slate-400">
</div>
<div class="p-3 bg-slate-950 border border-slate-800 rounded-2xl space-y-1.5">
<label class="text-[10px] uppercase font-bold text-slate-400 block">Stat 3 Waarde & Label</label>
<input type="text" name="hero_stat_3_val" value="{{ setting('hero_stat_3_val', '2-3 Dagen') }}" class="w-full bg-slate-900 border border-slate-700 rounded-lg px-2.5 py-1.5 text-xs text-white font-black">
<input type="text" name="hero_stat_3_lbl" value="{{ setting('hero_stat_3_lbl', 'Verzending via PostNL') }}" class="w-full bg-slate-900 border border-slate-700 rounded-lg px-2.5 py-1 text-xs text-slate-400">
</div>
</div>
</div>
</div>
</div>
<!-- ==================================================== -->
<!-- TAB 2: WAAROM JOUWDRIEDEE (USP'S) -->
<!-- ==================================================== -->
<div x-show="activeTab === 'usp'" class="space-y-6">
<div class="p-6 rounded-3xl bg-slate-900 border border-slate-800 space-y-5">
<div class="border-b border-slate-800 pb-3">
<h3 class="font-heading font-black text-lg text-white">Waarom Jouwdriedee? (Voordelen & USP's)</h3>
<p class="text-xs text-slate-400">De 4 kleurrijke informatieblokken onderaan de homepage.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Sectie Tag / Label</label>
<input type="text" name="usp_tag" value="{{ setting('usp_tag', 'Waarom Jouwdriedee.nl?') }}" class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-xs text-white">
</div>
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Sectie Hoofdtitel</label>
<input type="text" name="usp_title" value="{{ setting('usp_title', 'Kwaliteit en passie in elke printlaag') }}" class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-xs text-white font-black">
</div>
</div>
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Sectie Subtitel</label>
<textarea name="usp_subtitle" rows="2" class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-xs text-white leading-relaxed">{{ setting('usp_subtitle', 'Geen vage levertijden of ruwe prints. Elk model wordt in eigen werkplaats gekalibreerd, geprint en gecontroleerd voordat het veilig verpakt op de post gaat.') }}</textarea>
</div>
<!-- 4 USP Cards -->
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 pt-2 border-t border-slate-800">
<!-- Kaart 1 -->
<div class="p-4 rounded-2xl bg-slate-950/70 border border-violet-500/30 space-y-2">
<span class="text-xs font-black text-violet-400 block">Voordeel 1 (Paars blok)</span>
<input type="text" name="usp_1_title" value="{{ setting('usp_1_title', 'Bambu Lab Precisie') }}" class="w-full bg-slate-900 border border-slate-700 rounded-xl px-3 py-1.5 text-xs text-white font-bold">
<textarea name="usp_1_desc" rows="2" class="w-full bg-slate-900 border border-slate-700 rounded-xl px-3 py-1.5 text-xs text-slate-300">{{ setting('usp_1_desc', 'Haarscherpe lagen vanaf 0.12mm. Vaste toleranties waardoor scharnieren moeiteloos bewegen.') }}</textarea>
</div>
<!-- Kaart 2 -->
<div class="p-4 rounded-2xl bg-slate-950/70 border border-amber-500/30 space-y-2">
<span class="text-xs font-black text-amber-400 block">Voordeel 2 (Geel blok)</span>
<input type="text" name="usp_2_title" value="{{ setting('usp_2_title', '16+ Kleurvariaties') }}" class="w-full bg-slate-900 border border-slate-700 rounded-xl px-3 py-1.5 text-xs text-white font-bold">
<textarea name="usp_2_desc" rows="2" class="w-full bg-slate-900 border border-slate-700 rounded-xl px-3 py-1.5 text-xs text-slate-300">{{ setting('usp_2_desc', 'Van glanzend Silk Goud en Galaxy Zwart tot mat pastel en glow-in-the-dark filament.') }}</textarea>
</div>
<!-- Kaart 3 -->
<div class="p-4 rounded-2xl bg-slate-950/70 border border-emerald-500/30 space-y-2">
<span class="text-xs font-black text-emerald-400 block">Voordeel 3 (Groen blok)</span>
<input type="text" name="usp_3_title" value="{{ setting('usp_3_title', 'Veilig & Duurzaam PLA+') }}" class="w-full bg-slate-900 border border-slate-700 rounded-xl px-3 py-1.5 text-xs text-white font-bold">
<textarea name="usp_3_desc" rows="2" class="w-full bg-slate-900 border border-slate-700 rounded-xl px-3 py-1.5 text-xs text-slate-300">{{ setting('usp_3_desc', 'Gemaakt van hernieuwbare plantaardige zetmelen. Geurloos, gifvrij en stevig in gebruik.') }}</textarea>
</div>
<!-- Kaart 4 -->
<div class="p-4 rounded-2xl bg-slate-950/70 border border-sky-500/30 space-y-2">
<span class="text-xs font-black text-sky-400 block">Voordeel 4 (Blauw blok)</span>
<input type="text" name="usp_4_title" value="{{ setting('usp_4_title', 'Snelle Verzending') }}" class="w-full bg-slate-900 border border-slate-700 rounded-xl px-3 py-1.5 text-xs text-white font-bold">
<textarea name="usp_4_desc" rows="2" class="w-full bg-slate-900 border border-slate-700 rounded-xl px-3 py-1.5 text-xs text-slate-300">{{ setting('usp_4_desc', 'Met zorg verpakt in beschermend materiaal. Binnen 2-3 werkdagen verzonden via PostNL.') }}</textarea>
</div>
</div>
<div class="space-y-1.5 pt-2">
<label class="block text-xs font-bold text-slate-300">Knop onder de voordelen</label>
<input type="text" name="usp_btn_text" value="{{ setting('usp_btn_text', 'Bekijk alle 3D prints in de winkel') }}" class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-xs text-white">
</div>
</div>
</div>
<!-- ==================================================== -->
<!-- TAB 3: CATEGORIEËN & BESTSELLERS SECTIES -->
<!-- ==================================================== -->
<div x-show="activeTab === 'sections'" class="space-y-6">
<div class="p-6 rounded-3xl bg-slate-900 border border-slate-800 space-y-5">
<div class="border-b border-slate-800 pb-3">
<h3 class="font-heading font-black text-lg text-white">Categorieën & Collecties Sectie</h3>
<p class="text-xs text-slate-400">Titels van het blok met Fidget Toys, Pokémon en Film & Gaming.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Categorieën Tag</label>
<input type="text" name="categories_tag" value="{{ setting('categories_tag', 'Collecties') }}" class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-xs text-white">
</div>
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Categorieën Hoofdtitel</label>
<input type="text" name="categories_title" value="{{ setting('categories_title', 'Ontdek per categorie') }}" class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-xs text-white font-black">
</div>
</div>
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Categorieën Omschrijving</label>
<input type="text" name="categories_subtitle" value="{{ setting('categories_subtitle', 'Selecteer een categorie voor alle beschikbare modellen, formaten en kleurstalen.') }}" class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-xs text-white">
</div>
</div>
<div class="p-6 rounded-3xl bg-slate-900 border border-slate-800 space-y-5">
<div class="border-b border-slate-800 pb-3">
<h3 class="font-heading font-black text-lg text-white">Populaire Modellen (Uitgelichte Prints)</h3>
<p class="text-xs text-slate-400">Titels van de product-showcase op de homepage.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Showcase Tag</label>
<input type="text" name="featured_tag" value="{{ setting('featured_tag', 'Selectie') }}" class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-xs text-white">
</div>
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Showcase Hoofdtitel</label>
<input type="text" name="featured_title" value="{{ setting('featured_title', 'Populaire modellen') }}" class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-xs text-white font-black">
</div>
</div>
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Showcase Omschrijving</label>
<input type="text" name="featured_subtitle" value="{{ setting('featured_subtitle', 'Elk item wordt op bestelling geprint in jouw gewenste kleur en met de hand nagekeken.') }}" class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-xs text-white">
</div>
</div>
</div>
<!-- ==================================================== -->
<!-- TAB 4: BOVENBALK (ANNOUNCEMENT BAR) -->
<!-- ==================================================== -->
<div x-show="activeTab === 'announcement'" class="space-y-6">
<div class="p-6 rounded-3xl bg-slate-900 border border-slate-800 space-y-5">
<div class="border-b border-slate-800 pb-3">
<h3 class="font-heading font-black text-lg text-white">Bovenbalk (Top Announcement Bar)</h3>
<p class="text-xs text-slate-400">De dunne balk helemaal bovenaan de website voor mededelingen en levertijd.</p>
</div>
<div class="flex items-center space-x-3 p-3.5 rounded-2xl bg-slate-950 border border-slate-800">
<input
type="checkbox"
name="announcement_enabled"
id="announcement_enabled"
value="1"
{{ setting('announcement_enabled', '1') == '1' ? 'checked' : '' }}
class="w-4 h-4 rounded text-amber-400 focus:ring-amber-400 bg-slate-900 border-slate-700"
>
<label for="announcement_enabled" class="text-xs font-bold text-slate-200 cursor-pointer">
Bovenbalk tonen op de website
</label>
</div>
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Hoofdmededeling (Links op desktop, gecentreerd op mobiel)</label>
<input
type="text"
name="announcement_text"
value="{{ setting('announcement_text', 'Nederlandse 3D Printstudio • Haarscherpe afwerking op Bambu Lab printers') }}"
class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2.5 text-xs text-white"
>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Badge 1 (Bijv. Gratis verzending)</label>
<input
type="text"
name="announcement_badge_1"
value="{{ setting('announcement_badge_1', 'Gratis verzending vanaf € 50,-') }}"
class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-xs text-white"
>
</div>
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Badge 2 (Bijv. Levertijd)</label>
<input
type="text"
name="announcement_badge_2"
value="{{ setting('announcement_badge_2', 'Verzending binnen 2-3 werkdagen') }}"
class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-xs text-white"
>
</div>
</div>
</div>
</div>
<!-- ==================================================== -->
<!-- TAB 5: FOOTER & CONTACT -->
<!-- ==================================================== -->
<div x-show="activeTab === 'footer'" class="space-y-6">
<div class="p-6 rounded-3xl bg-slate-900 border border-slate-800 space-y-5">
<div class="border-b border-slate-800 pb-3">
<h3 class="font-heading font-black text-lg text-white">Voettekst (Footer Informatie & Contact)</h3>
<p class="text-xs text-slate-400">Teksten in de donkere voettekst onderaan alle pagina's.</p>
</div>
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Korte Bedrijfsomschrijving</label>
<textarea
name="footer_description"
rows="3"
class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2.5 text-xs text-white leading-relaxed"
>{{ setting('footer_description', 'Gespecialiseerd in het 3D printen van gedetailleerde modellen, soepel bewegende fidget toys en iconische popculture figuren. Gemaakt met hoogwaardige filamenten op hypermoderne FDM-printers.') }}</textarea>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Printer Status Badge</label>
<input
type="text"
name="footer_status_text"
value="{{ setting('footer_status_text', 'Printers gekalibreerd & actief') }}"
class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-xs text-white"
>
</div>
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Contact E-mailadres</label>
<input
type="email"
name="footer_email"
value="{{ setting('footer_email', 'info@jouwdriedee.nl') }}"
class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-xs text-white"
>
</div>
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Verzendmethode Tekst</label>
<input
type="text"
name="footer_shipping_text"
value="{{ setting('footer_shipping_text', 'Snelle verzending via PostNL') }}"
class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-xs text-white"
>
</div>
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Betaalmethoden & Betrouwbaarheid</label>
<input
type="text"
name="footer_payment_text"
value="{{ setting('footer_payment_text', 'iDEAL & Bancontact • PostNL Track & Trace') }}"
class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-xs text-white"
>
</div>
</div>
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Copyright Tekst (onderste regel)</label>
<input
type="text"
name="footer_copyright"
value="{{ setting('footer_copyright', 'Alle 3D prints worden op bestelling vervaardigd.') }}"
class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-xs text-white"
>
</div>
</div>
</div>
<!-- ==================================================== -->
<!-- TAB 6: BRAND & THEMA -->
<!-- ==================================================== -->
<div x-show="activeTab === 'brand'" class="space-y-6">
<div class="p-6 rounded-3xl bg-slate-900 border border-slate-800 space-y-5">
<div class="border-b border-slate-800 pb-3">
<h3 class="font-heading font-black text-lg text-white">Algemeen & Branding</h3>
<p class="text-xs text-slate-400">Shopnaam, zoekmachine omschrijving en algemene instellingen.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Webshop Naam</label>
<input
type="text"
name="site_name"
value="{{ setting('site_name', 'Jouwdriedee.nl') }}"
class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2.5 text-xs text-white"
>
</div>
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">Shop Slogan / Ondertitel</label>
<input
type="text"
name="site_tagline"
value="{{ setting('site_tagline', '3D Prints, Fidgets & Collectibles') }}"
class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2.5 text-xs text-white"
>
</div>
</div>
<div class="space-y-1.5">
<label class="block text-xs font-bold text-slate-300">SEO Meta Omschrijving</label>
<textarea
name="meta_description"
rows="2"
class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-xs text-white leading-relaxed"
>{{ setting('meta_description', 'Jouwdriedee.nl - Kleurrijke en gedetailleerde 3D prints, soepele fidget toys, Pokémon planters en toffe collectibles. Met zorg en precisie geprint in Nederland!') }}</textarea>
</div>
<div class="space-y-1.5 pt-2 border-t border-slate-800">
<label class="block text-xs font-bold text-slate-300">Thema Kleurenpalet</label>
@php $currentTheme = setting('theme_palette', 'default'); @endphp
<select name="theme_palette" class="w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2.5 text-xs text-white font-bold">
<option value="default" {{ $currentTheme === 'default' ? 'selected' : '' }}>Speels Kleurrijk (Geel, Koraalroze & Zacht Paars) [Standaard]</option>
<option value="violet" {{ $currentTheme === 'violet' ? 'selected' : '' }}>Neon Lila & Cyaan (Fris en modern)</option>
<option value="emerald" {{ $currentTheme === 'emerald' ? 'selected' : '' }}>Eco Mint & Goud (Natuurlijk & Rustig)</option>
</select>
</div>
</div>
</div>
<!-- Sticky Save Action Bar -->
<div class="sticky bottom-4 z-20 p-4 rounded-2xl bg-slate-900/95 backdrop-blur-md border border-amber-400/30 shadow-2xl flex items-center justify-between">
<div class="flex items-center space-x-2 text-xs text-slate-300 font-bold">
<span class="w-2.5 h-2.5 rounded-full bg-emerald-400 animate-pulse"></span>
<span>Wijzigingen worden direct live opgeslagen in de database.</span>
</div>
<button
type="submit"
class="px-6 py-3 rounded-xl bg-amber-400 hover:bg-amber-300 text-slate-950 font-black text-xs sm:text-sm transition flex items-center space-x-2 shadow-lg shadow-amber-400/20 cursor-pointer"
>
<i data-lucide="save" class="w-4 h-4"></i>
<span>Opslaan & Direct Publiceren</span>
</button>
</div>
</form>
</div>
@endsection