You've already forked Atomcms-edit
c53a5a8a2c
- 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
88 lines
4.0 KiB
PHP
Executable File
88 lines
4.0 KiB
PHP
Executable File
<x-app-layout>
|
||
@push('title', 'Stuur een Shout')
|
||
|
||
<div class="col-span-12 lg:col-span-9 lg:w-[96%]">
|
||
<div class="flex flex-col gap-y-4">
|
||
<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>
|
||
|
||
<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
|
||
|
||
<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>
|
||
|
||
<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>
|
||
</div>
|
||
|
||
<div class="col-span-12 lg:col-span-3 lg:w-[110%] space-y-4 lg:-ml-[32px]">
|
||
<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>
|
||
|
||
<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>
|
||
</div>
|
||
</x-app-layout>
|