Deploy Ladill Frontdesk / deploy (push) Successful in 26s
Sync mobile-header-btn partials, mobile x-btn.create, and update dashboard header actions for consistent mobile FABs. Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
740 B
PHP
23 lines
740 B
PHP
@props([
|
|
'desktopSchedule' => 'Pre-register',
|
|
'desktopCheckIn' => 'Check in visitor',
|
|
'scheduleLabel' => 'Pre-register visitor',
|
|
'checkInLabel' => 'Check in visitor',
|
|
])
|
|
|
|
<div {{ $attributes->merge(['class' => 'flex shrink-0 items-center gap-2']) }}>
|
|
@include('partials.mobile-header-btn', [
|
|
'href' => route('frontdesk.visits.schedule'),
|
|
'label' => $scheduleLabel,
|
|
'desktopLabel' => $desktopSchedule,
|
|
'variant' => 'outline',
|
|
'showDesktopIcon' => false,
|
|
])
|
|
@include('partials.mobile-header-btn', [
|
|
'href' => route('frontdesk.visits.create'),
|
|
'label' => $checkInLabel,
|
|
'desktopLabel' => $desktopCheckIn,
|
|
'variant' => 'primary',
|
|
])
|
|
</div>
|