Complete Hubbly theme conversion: all pages rewritten with CSS variable theming

- Converted all views from Dusk components (x-content.content-card, x-form.*) to inline Hubbly style
- All pages use consistent card pattern: rounded-lg, gradient headers, color-mix borders
- Added Hubbly-style homepage with 2-column layout, login card, swiper news carousel
- Rewrote navigation with Alpine.js dropdowns, CSS variable colors, Hubbly assets
- Updated profile page with Hubbly cards, fixed data bugs (friend/guild relationships)
- Rewrote register page to match Hubbly layout: banner header, avatar preview with Frank GIF, 2-column form, avatar carousel selector, border-4 inputs
- Rewrote login, settings, help center, radio, applications, utility pages
- All colors use CSS variables controlled by Filament theme editor
- Added Hubbly assets: banner, Frank GIF, navigation icons, online badge
- Removed all dependencies on x-content.* and x-form.* components
This commit is contained in:
root
2026-06-27 17:01:02 +02:00
parent 61bb70ac1d
commit c53a5a8a2c
68 changed files with 4708 additions and 4608 deletions
@@ -3,74 +3,85 @@
<div class="col-span-12 lg:col-span-9 lg:w-[96%]">
<div class="flex flex-col gap-y-4">
<x-content.content-card icon="chat-icon" classes="border dark:border-gray-900">
<x-slot:title>
Stuur een Shout naar de DJ
</x-slot:title>
<div class="rounded-lg overflow-hidden" style="background-color: var(--color-surface); border: 1px solid color-mix(in srgb, var(--color-text-muted) 15%, transparent);">
<div class="relative w-full" style="background: linear-gradient(140deg, var(--color-primary) 0%, color-mix(in srgb, var(--color-primary) 80%, black) 100%);">
<div class="flex items-center h-full px-4 py-3 gap-3">
<div class="w-8 h-8 rounded-full flex items-center justify-center text-lg shadow-lg" style="background-color: color-mix(in srgb, var(--color-primary) 30%, transparent);">
💬
</div>
<div>
<p class="text-white font-bold text-sm">Stuur een Shout naar de DJ</p>
<p class="text-xs" style="color: rgba(255,255,255,0.8)">Stuur een bericht naar de DJ!</p>
</div>
</div>
</div>
<x-slot:under-title>
Stuur een bericht naar de DJ!
</x-slot:under-title>
<div class="p-4 text-sm space-y-4" style="color: var(--color-text)">
@if (auth()->check())
@if (session('success'))
<div class="px-4 py-3 rounded" style="background-color: color-mix(in srgb, #22c55e 15%, transparent); border: 1px solid color-mix(in srgb, #22c55e 30%, transparent); color: #22c55e;">
{{ session('success') }}
</div>
@endif
<div class="px-2 text-sm space-y-4 dark:text-gray-200">
@if (auth()->check())
@if (session('success'))
<div class="bg-green-100 dark:bg-green-900/30 border border-green-400 dark:border-green-600 text-green-700 dark:text-green-300 px-4 py-3 rounded mb-4">
{{ session('success') }}
</div>
@endif
<form action="{{ route('radio.shouts.store') }}" method="POST" class="mb-4">
@csrf
<div>
<label class="block text-sm font-medium mb-2" style="color: var(--color-text-muted)">Jouw bericht (max 280 karakters)</label>
<div class="flex gap-2">
<input
type="text"
name="message"
required
maxlength="280"
class="w-full rounded-lg border px-3 py-2 text-sm focus:outline-none"
style="background-color: var(--color-background); border-color: color-mix(in srgb, var(--color-text-muted) 20%, transparent); color: var(--color-text);"
onfocus="this.style.borderColor='var(--color-primary)'"
onblur="this.style.borderColor='color-mix(in srgb, var(--color-text-muted) 20%, transparent)'"
placeholder="Plaats je shout voor de DJ...">
<button type="submit" class="px-4 py-2 rounded-lg font-semibold border-2 transition whitespace-nowrap" style="background-color: var(--color-primary); color: var(--button-text-color); border-color: var(--color-primary);">
📤 Stuur
</button>
</div>
</div>
</form>
<form action="{{ route('radio.shouts.store') }}" method="POST" class="mb-4">
@csrf
<div>
<label class="block text-sm font-medium dark:text-gray-300 mb-2">Jouw bericht (max 280 karakters)</label>
<div class="flex gap-2">
<input
type="text"
name="message"
required
maxlength="280"
class="flex-1 px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-[var(--color-primary)] dark:bg-gray-800 dark:border-gray-700 dark:text-gray-200"
placeholder="Plaats je shout voor de DJ...">
<button type="submit" class="bg-[var(--color-primary)] hover:bg-[var(--color-primary)] text-white px-4 py-2 rounded transition whitespace-nowrap">
📤 Stuur
</button>
<div class="p-4 rounded-lg" style="background-color: color-mix(in srgb, #3b82f6 10%, transparent); border: 1px solid color-mix(in srgb, #3b82f6 20%, transparent); color: #3b82f6;">
<p>
<span class="font-semibold"> Je shout is verstuurd!</span><br>
De DJ kan je bericht lezen in het admin paneel. Bedankt voor je bericht!
</p>
</div>
@else
<div class="p-3 rounded text-center" style="background-color: color-mix(in srgb, var(--color-background) 50%, transparent);">
<p style="color: var(--color-text-muted);">
<a href="/login" style="color: var(--color-primary); text-decoration: underline;">Log in</a> om een shout te sturen
</p>
</div>
@endif
</div>
</div>
</div>
</form>
<div class="bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 p-4 rounded-lg">
<p class="text-blue-800 dark:text-blue-300">
<span class="font-semibold"> Je shout is verstuurd!</span><br>
De DJ kan je bericht lezen in het admin paneel. Bedankt voor je bericht!
</p>
</div>
@else
<div class="bg-gray-100 dark:bg-gray-800 p-3 rounded text-center">
<p class="text-gray-500 mb-2">
<a href="/login" class="text-[var(--color-primary)] hover:underline">Log in</a> om een shout te sturen
</p>
</div>
@endif
</div>
</x-content.content-card>
</div>
</div>
<div class="col-span-12 lg:col-span-3 lg:w-[110%] space-y-4 lg:-ml-[32px]">
<x-content.content-card icon="info-icon" classes="border dark:border-gray-900">
<x-slot:title>
Shout Info
</x-slot:title>
<div class="rounded-lg overflow-hidden" style="background-color: var(--color-surface); border: 1px solid color-mix(in srgb, var(--color-text-muted) 15%, transparent);">
<div class="relative w-full" style="background: linear-gradient(140deg, var(--color-primary) 0%, color-mix(in srgb, var(--color-primary) 80%, black) 100%);">
<div class="flex items-center h-full px-4 py-3 gap-3">
<div class="w-8 h-8 rounded-full flex items-center justify-center text-lg shadow-lg" style="background-color: color-mix(in srgb, var(--color-primary) 30%, transparent);">
</div>
<div>
<p class="text-white font-bold text-sm">Shout Info</p>
<p class="text-xs" style="color: rgba(255,255,255,0.8)">Hoe werkt het?</p>
</div>
</div>
</div>
<x-slot:under-title>
Hoe werkt het?
</x-slot:under-title>
<div class="px-2 text-sm space-y-4 dark:text-gray-200">
<p>Stuur shouts die de DJ live kan lezen tijdens de show!</p>
<p class="text-xs text-gray-500">Houd het vriendelijk en respectvol.</p>
<div class="p-4 text-sm space-y-4" style="color: var(--color-text)">
<p>Stuur shouts die de DJ live kan lezen tijdens de show!</p>
<p class="text-xs" style="color: var(--color-text-muted)">Houd het vriendelijk en respectvol.</p>
</div>
</div>
</x-content.content-card>
</div>
</x-app-layout>