@yield('title')
@yield('page-specific-styles')
@yield('page-specific-head-scripts')
@if(isset($_COOKIE['theme']) && $_COOKIE['theme'] == "dark-theme")
@else
@php
if(!isset($_COOKIE['theme']))
{
setcookie('theme', 'light-theme', strtotime("+1 year"), '/');
}
@endphp
@endif
@php
$apiKey = getApiAuthKey();
@endphp
@include('layouts.header')
@yield('content')
@include('layouts.footer')
@yield('page-specific-scripts')