@php use App\Helpers\Helper; @endphp @php use App\Enum\AwardTypeEnum; @endphp
{{-- ══════════════════════════════════ SECTION HEADER ══════════════════════════════════ --}}
{{-- Left: standard section heading --}} {{-- Right: Tab switcher --}}
{{-- ══════════════════════════════════ ACHIEVEMENTS PANEL ══════════════════════════════════ --}}
{{-- Scrollable track --}}
@foreach ($achivements as $achivement) {{-- FIX 1: Replaced
wrapper with a direct
so the JS cards() selector (querySelectorAll('article, .slider-card')) picks them up correctly — and added fixed width + scroll-snap-align to match the awards panel behaviour. --}} @php $achTitle = app()->getLocale() == 'en' ? $achivement['title_en'] : $achivement['title_np']; $achDesc = app()->getLocale() == 'en' ? $achivement['short_description_en'] : $achivement['short_description_np']; @endphp {{-- tabindex lets touch devices tap a card to reveal its details (group-focus) --}}
{{ $achTitle }}

{{ $achTitle }}

{{ $achTitle }}

{{ $achDesc }}

@endforeach
{{-- Nav — updated to rounded-full secondary style --}}
{{-- ══════════════════════════════════ AWARDS PANEL ══════════════════════════════════ --}} {{-- See all: follows the active tab (Achievements / Awards) --}}
@push('scripts') @endpush @push('scripts') @endpush