@php $a = $announcement ?? null; $action = $a ? route('admin.announcements.update', $a->id) : route('admin.announcements.store'); @endphp
@csrf @if ($a) @method('PATCH') @endif {{-- ── Section 1: Message ── --}}
01 {{ __('Message') }}
{{ __('One short sentence works best. Visible on every authenticated page.') }}
@php $tones = ['info' => 'Info (dark ink)', 'promo' => 'Promo (dark wood)', 'warning' => 'Warning (amber)', 'success' => 'Success (green)']; @endphp
{{-- ── Section 2: Link & visibility ── --}}
02 {{ __('Link & visibility') }}
{{ __('Optional. Whole bar becomes a clickable link when set.') }}
{{ __('Optional CTA chip shown next to the message.') }}
{{-- ── Section 3: Scheduling ── --}}
03 {{ __('Scheduling') }}
{{ __('All times below are interpreted in this timezone, then stored.') }}
{{ __('Blank = visible from now.') }}
{{ __('Blank = never expires.') }}
{{ __('Lower numbers appear first in the marquee.') }}
{{ __('Cancel') }}