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
69 lines
2.7 KiB
PHP
Executable File
69 lines
2.7 KiB
PHP
Executable File
<x-app-layout>
|
|
@push('title', __('Login'))
|
|
|
|
<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="p-6">
|
|
<x-messages.flash-messages />
|
|
|
|
<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 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>
|
|
|
|
@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'))
|
|
<div class="mt-4">
|
|
<x-turnstile />
|
|
</div>
|
|
@endif
|
|
|
|
<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>
|
|
|
|
<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>
|