You've already forked Atomcms-edit
87 lines
4.2 KiB
PHP
Executable File
87 lines
4.2 KiB
PHP
Executable File
<x-app-layout>
|
|
@push('title', __('Staff'))
|
|
|
|
<div class="col-span-12 lg:col-span-9 lg:w-[96%]">
|
|
<div class="flex flex-col gap-y-8">
|
|
@foreach ($employees as $employee)
|
|
<div class="bg-[#1a1d26] rounded-xl border border-gray-800 overflow-hidden">
|
|
<div class="bg-gradient-to-r from-[#252a36] to-[#1e222d] px-6 py-4 border-b border-gray-800">
|
|
<div class="flex items-center gap-3">
|
|
@if($employee->badge)
|
|
<img src="{{ asset(setting('badges_path') . $employee->badge . '.gif') }}"
|
|
alt="{{ $employee->rank_name }}"
|
|
class="w-10 h-10">
|
|
@endif
|
|
<div>
|
|
<h2 class="text-xl font-bold text-white">{{ $employee->rank_name }}</h2>
|
|
@if($employee->job_description)
|
|
<p class="text-sm text-gray-400">{{ $employee->job_description }}</p>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="p-6">
|
|
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4">
|
|
@foreach ($employee->users as $staff)
|
|
<x-community.staff-card :user="$staff" />
|
|
@endforeach
|
|
</div>
|
|
|
|
@if (count($employee->users) === 0)
|
|
<div class="text-center py-8 text-gray-500">
|
|
{{ __('We currently have no staff in this position') }}
|
|
</div>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-span-12 lg:col-span-3 lg:w-[110%] space-y-4 lg:-ml-[32px]">
|
|
<x-content.content-card icon="chat-icon" classes="border border-gray-800">
|
|
<x-slot:title>
|
|
{{ __(':hotel staff', ['hotel' => setting('hotel_name')]) }}
|
|
</x-slot:title>
|
|
|
|
<x-slot:under-title>
|
|
{{ __('About the :hotel staff', ['hotel' => setting('hotel_name')]) }}
|
|
</x-slot:under-title>
|
|
|
|
<div class="px-2 text-sm space-y-4 text-gray-300">
|
|
<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>
|
|
</x-content.content-card>
|
|
|
|
<x-content.content-card icon="chat-icon" classes="border border-gray-800">
|
|
<x-slot:title>
|
|
{{ __('Apply for staff') }}
|
|
</x-slot:title>
|
|
|
|
<x-slot:under-title>
|
|
{{ __('How to join the staff team', ['hotel' => setting('hotel_name')]) }}
|
|
</x-slot:under-title>
|
|
|
|
<div class="px-2 text-sm space-y-4 text-gray-300">
|
|
<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>
|
|
|
|
<p>
|
|
{!! __(
|
|
'You can occasionally also look at the :startTag Staff application page :endTag which will show you all of our current open positions.',
|
|
['startTag' => '<a href="/community/staff-applications" class="underline">', 'endTag' => '</a>'],
|
|
) !!}
|
|
</p>
|
|
</div>
|
|
</x-content.content-card>
|
|
</div>
|
|
</x-app-layout>
|