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
@@ -1,59 +1,68 @@
<x-app-layout>
@push('title', __('Create account'))
@push('title', __('Login'))
<!-- Validation Errors -->
<x-messages.flash-messages />
<div class="col-span-12 flex justify-center">
<div class="mx-auto max-w-md w-full 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="px-6 py-8 text-center"
style="background: linear-gradient(140deg, var(--color-primary) 0%, color-mix(in srgb, var(--color-primary) 80%, black) 100%);">
<h2 class="text-xl font-bold text-white">{{ __('Welcome back!') }}</h2>
<p class="text-sm mt-1" style="color: color-mix(in srgb, white 70%, transparent);">
{{ __('Login to :hotel', ['hotel' => setting('hotel_name')]) }}
</p>
</div>
<div class="col-span-12">
<div class="lg:px-[250px]">
<x-content.content-card icon="hotel-icon" classes="flex flex-col">
<x-slot:title>
{{ __('Login to :hotel', ['hotel' => setting('hotel_name')]) }}
</x-slot:title>
<div class="p-6">
<x-messages.flash-messages />
<x-slot:under-title>
{{ __('Login to :hotel and take part in the most wonderful online world!', ['hotel' => setting('hotel_name')]) }}
</x-slot:under-title>
<form method="POST" action="{{ route('login') }}">
@csrf
<form method="POST" action="{{ route('login') }}">
@csrf
<div>
<label for="username" style="color: var(--color-text);">
{{ __('Username') }}
</label>
<input name="username" type="text" value="{{ old('username') }}"
placeholder="{{ __('Username') }}" autofocus
class="w-full rounded-lg px-3 py-2 text-sm border-2 focus:ring-0"
style="background-color: var(--color-background); color: var(--color-text); border-color: color-mix(in srgb, var(--color-text-muted) 15%, transparent);" />
</div>
<div>
<div class="flex flex-col gap-y-2">
<x-form.label for="username">
{{ __('Username') }}
</x-form.label>
</div>
<div class="mt-4">
<label for="password" style="color: var(--color-text);">
{{ __('Password') }}
</label>
<input name="password" type="password"
placeholder="{{ __('Password') }}"
class="w-full rounded-lg px-3 py-2 text-sm border-2 focus:ring-0"
style="background-color: var(--color-background); color: var(--color-text); border-color: color-mix(in srgb, var(--color-text-muted) 15%, transparent);" />
</div>
<x-form.input error-bag="register" name="username" type="text" value="{{ old('username') }}"
placeholder="{{ __('Username') }}" :autofocus="true" />
</div>
@if (setting('google_recaptcha_enabled'))
<div class="mt-4 g-recaptcha" data-sitekey="{{ config('habbo.site.recaptcha_site_key') }}"></div>
@endif
<div class="mt-4">
<x-form.label for="password">
{{ __('Password') }}
</x-form.label>
@if (setting('cloudflare_turnstile_enabled'))
<div class="mt-4">
<x-turnstile />
</div>
@endif
<x-form.input error-bag="register" name="password" type="password"
placeholder="{{ __('Password') }}" />
</div>
<div class="mt-6">
<button type="submit" class="rounded-lg px-4 py-2 text-sm font-semibold transition-all duration-200 hover:opacity-90" style="background-color: var(--color-primary); color: var(--button-text-color);">
{{ __('Login') }}
</button>
</div>
@if (setting('google_recaptcha_enabled'))
<div class="mt-4 g-recaptcha" data-sitekey="{{ config('habbo.site.recaptcha_site_key') }}">
</div>
@endif
@if (setting('cloudflare_turnstile_enabled'))
<x-turnstile />
@endif
<div class="mt-4">
<x-form.primary-button>
{{ __('Login') }}
</x-form.primary-button>
</div>
</form>
</x-content.content-card>
</div>
<div class="mt-4 text-center">
<a href="{{ route('register') }}"
class="text-sm font-semibold transition-colors duration-200 hover:underline"
style="color: var(--color-primary);">
{{ __("Don't have an account? Join now!") }}
</a>
</div>
</form>
</div>
</div>
</div>
</x-app-layout>