@stack('css')
@php // Get the user agent string $userAgent = $_SERVER['HTTP_USER_AGENT']; // Check if the user agent string contains any keywords indicating a mobile device $isMobile = (bool)preg_match("/(android|iphone|ipod|opera mini|blackberry|windows phone)/i", $userAgent); @endphp @stack('scripts')