You've already forked Atomcms-edit
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:
@@ -3,46 +3,52 @@
|
||||
|
||||
<div class="col-span-12">
|
||||
<div class="flex flex-col gap-y-4">
|
||||
<a href="{{ route('values.index') }}" class="text-[var(--color-text)] underline flex gap-x-1 items-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-5 h-5">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M19.5 12h-15m0 0l6.75 6.75M4.5 12l6.75-6.75" />
|
||||
</svg>
|
||||
<a href="{{ route('values.index') }}" class="flex gap-x-1 items-center" style="color: var(--color-text); text-decoration: underline;">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-5 h-5">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M19.5 12h-15m0 0l6.75 6.75M4.5 12l6.75-6.75" />
|
||||
</svg>
|
||||
{{ __('Go back to values') }}
|
||||
</a>
|
||||
|
||||
{{ __('Go back to values') }}
|
||||
</a>
|
||||
<x-content.content-card icon="dragon.png">
|
||||
<x-slot:title>
|
||||
{{ $value->name }}
|
||||
</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);">
|
||||
<img src="{{ asset('/assets/images/icons/dragon.png') }}" alt="" class="w-5 h-5">
|
||||
</div>
|
||||
<div>
|
||||
<p class="text-white font-bold text-sm">{{ $value->name }}</p>
|
||||
<p class="text-xs" style="color: rgba(255,255,255,0.8)">{{ __('Here is a list of all the owned :value`s', ['value' => $value->name]) }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<x-slot:under-title>
|
||||
{{ __('Here is a list of all the owned :value`s', ['value' => $value->name]) }}
|
||||
</x-slot:under-title>
|
||||
<div class="p-4" style="color: var(--color-text)">
|
||||
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-4">
|
||||
@foreach($items as $item)
|
||||
<div class="px-3 h-[100px] rounded flex gap-4 items-center overflow-hidden" style="background-color: var(--color-background);">
|
||||
<div class="w-12 h-12 overflow-hidden rounded-full flex items-center justify-center" style="background-color: var(--color-surface);">
|
||||
<img src="{{ sprintf('%s/%s', setting('avatar_imager'), $item['user']->look) }}&headonly=1" alt="">
|
||||
</div>
|
||||
|
||||
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-4">
|
||||
@foreach($items as $item)
|
||||
<div class="px-3 h-[100px] rounded bg-[var(--color-background)] flex gap-4 items-center overflow-hidden">
|
||||
<div class="w-12 h-12 overflow-hidden rounded-full flex items-center justify-center bg-[var(--color-surface)]">
|
||||
<img src="{{ sprintf('%s/%s', setting('avatar_imager'), $item['user']->look) }}&headonly=1" alt="">
|
||||
</div>
|
||||
<div class="flex flex-col gap-y-2">
|
||||
<p style="color: var(--color-text)">{{ $item['user']->username }}</p>
|
||||
|
||||
<div class="flex flex-col gap-y-2">
|
||||
<p class="text-[var(--color-text)]">{{ $item['user']->username }}</p>
|
||||
<div class="w-full rounded h-[35px] flex items-center" style="background-color: var(--color-primary); opacity: 0.8">
|
||||
<div class="rounded-l px-2 h-full flex items-center justify-center" style="background-color: var(--color-primary)">
|
||||
<img class="h-[18px] w-[28px]" src="{{ asset('assets/images/icons/amount.png') }}" alt="">
|
||||
</div>
|
||||
|
||||
<div class="w-full rounded h-[35px] flex items-center" style="background-color: var(--color-primary); opacity: 0.8">
|
||||
<div class="rounded-l px-2 h-full flex items-center justify-center" style="background-color: var(--color-primary)">
|
||||
<img class="h-[18px] w-[28px]" src="{{ asset('assets/images/icons/amount.png') }}" alt="">
|
||||
</div>
|
||||
|
||||
<p class="w-full text-center truncate text-sm">
|
||||
{{ $item['item_count'] ?? 0 }} {{ __('owned') }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</x-content.content-card>
|
||||
<p class="w-full text-center truncate text-sm" style="color: var(--button-text-color);">
|
||||
{{ $item['item_count'] ?? 0 }} {{ __('owned') }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</x-app-layout>
|
||||
|
||||
Reference in New Issue
Block a user