@php $darkMode = (isset($_COOKIE['dark_mode']) && $_COOKIE['dark_mode'] == 'yes') ? 'yes' : 'no'; @endphp