Files
Atomcms-edit/resources/themes/atom/views/value.blade.php
T
root c53a5a8a2c 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
2026-06-27 17:01:02 +02:00

55 lines
2.6 KiB
PHP
Executable File

<x-app-layout>
@push('title', __('Rare values'))
<div class="col-span-12">
<div class="flex flex-col gap-y-4">
<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>
<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>
<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="flex flex-col gap-y-2">
<p style="color: 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>
<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>