Initial commit

This commit is contained in:
root
2026-05-09 17:28:23 +02:00
commit 9d73f82529
5575 changed files with 281989 additions and 0 deletions
+105
View File
@@ -0,0 +1,105 @@
<x-app-layout>
@push('title', __('Staff'))
<div class="col-span-12 lg:col-span-9 space-y-8">
@foreach ($employees as $employee)
@php
$sectionColor = $employee->staff_color ?? '#eeb425';
@endphp
<div class="bg-white dark:bg-gray-800 rounded-2xl border-2 overflow-hidden transition-all duration-300"
style="border-color: {{ $sectionColor }}30; box-shadow: 0 8px 32px {{ $sectionColor }}10;">
<div class="px-6 py-5 border-b flex items-center gap-4 transition-all duration-300"
style="background: linear-gradient(135deg, {{ $sectionColor }}12 0%, transparent 100%); border-color: {{ $sectionColor }}30;">
@if($employee->badge)
<div class="relative">
<img src="{{ asset(setting('badges_path') . $employee->badge . '.gif') }}"
alt="{{ $employee->rank_name }}"
class="w-14 h-14 -lg">
</div>
@endif
<div class="flex-1">
<div class="flex items-center gap-3">
<h2 class="text-2xl font-extrabold tracking-tight"
style="color: {{ $sectionColor }};">
{{ $employee->rank_name }}
</h2>
</div>
@if($employee->job_description)
<p class="text-sm text-gray-500 dark:text-gray-400 mt-0.5">{{ $employee->job_description }}</p>
@endif
</div>
<div class="flex items-center gap-4">
<span class="px-4 py-1.5 rounded-full text-sm font-bold"
style="background-color: {{ $sectionColor }}20; color: {{ $sectionColor }}; border: 1px solid {{ $sectionColor }}40;">
{{ count($employee->users) }} {{ count($employee->users) == 1 ? __('member') : __('members') }}
</span>
<span class="text-4xl font-black tracking-tighter"
style="color: {{ $sectionColor }}; text-shadow: 0 0 20px {{ $sectionColor }}60;">
>>
</span>
</div>
</div>
<div class="p-6">
@if(count($employee->users) > 0)
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-5">
@foreach ($employee->users as $staff)
<x-community.staff-card :user="$staff" />
@endforeach
</div>
@else
<div class="text-center py-16">
<div class="w-20 h-20 mx-auto mb-4 rounded-full bg-gray-100 dark:bg-gray-700 flex items-center justify-center">
<svg class="w-10 h-10 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0z"></path>
</svg>
</div>
<p class="text-lg text-gray-500 dark:text-gray-400 font-medium">{{ __('No staff members in this position') }}</p>
<p class="text-sm text-gray-400 dark:text-gray-500 mt-1">{{ __('Check back later for updates') }}</p>
</div>
@endif
</div>
</div>
@endforeach
</div>
<div class="col-span-12 lg:col-span-3 space-y-4">
<div class="bg-white dark:bg-gray-800 rounded-xl border border-gray-200 dark:border-gray-700 overflow-hidden">
<div class="absolute left-0 top-0 bottom-0 w-1.5 bg-gradient-to-b from-amber-400 to-amber-500"></div>
<div class="p-5">
<div class="flex items-center justify-between mb-3">
<h3 class="text-lg font-bold" style="color: var(--color-text)">
{{ setting('hotel_name') }} {{ __('Staff') }}
</h3>
<span style="color: var(--color-primary);" class="text-2xl font-black">>></span>
</div>
<p class="text-xs uppercase tracking-wider mb-4" style="color: var(--color-text-muted)">{{ __('About our team') }}</p>
<div class="space-y-3 text-sm" style="color: var(--color-text)">
<p>{{ __('The :hotel staff team is one big happy family, each staff member has a different role and duties to fulfill.', ['hotel' => setting('hotel_name')]) }}</p>
<p>{{ __('Most of our team usually consists of players that have been around :hotel for quite a while, but this does not mean we only recruit old & known players, we recruit those who shine out to us!', ['hotel' => setting('hotel_name')]) }}</p>
</div>
</div>
</div>
<div class="rounded-xl border overflow-hidden" style="background-color: var(--color-surface); border-color: var(--color-text-muted);">
<div class="absolute left-0 top-0 bottom-0 w-1.5" style="background: linear-gradient(to bottom, var(--color-primary), var(--color-primary));"></div>
<div class="p-5">
<div class="flex items-center justify-between mb-3">
<h3 class="text-lg font-bold" style="color: var(--color-text)">
{{ __('Join the Team') }}
</h3>
<span style="color: var(--color-primary);" class="text-2xl font-black">>></span>
</div>
<p class="text-xs uppercase tracking-wider mb-4" style="color: var(--color-text-muted)">{{ __('Become a staff member') }}</p>
<div class="space-y-3 text-sm" style="color: var(--color-text)">
<p>{{ __('Every now and then staff applications may open up. Once they do we always make sure to post a news article explaining the process - So make sure you keep an eye out for those in you are interested in joining the :hotel staff team.', ['hotel' => setting('hotel_name')]) }}</p>
<a href="/community/staff-applications" class="inline-flex items-center gap-2 mt-2 px-4 py-2 rounded-lg font-semibold text-sm transition-all hover:scale-105"
style="background: var(--color-primary); color: var(--button-text-color);">
{{ __('View Open Positions') }}
<span class="text-lg">>></span>
</a>
</div>
</div>
</div>
</div>
</x-app-layout>