@yield('og:tag')
{{-- title --}}
@yield('pageHeading') {{ '| ' . $websiteInfo->website_title }}
{{-- fav icon --}}
@php
$primaryColor = '04A6FB';
$secoundaryColor = '092837';
// check, whether color has '#' or not, will return 0 or 1
function checkColorCode($color)
{
return preg_match('/^#[a-f0-9]{6}/i', $color);
}
// if, primary color value does not contain '#', then add '#' before color value
if (isset($primaryColor) && checkColorCode($primaryColor) == 0) {
$primaryColor = '#' . $primaryColor;
$secoundaryColor = '#' . $secoundaryColor;
}
// change decimal point into hex value for opacity
function rgb($color = null)
{
if (!$color) {
echo '';
}
$hex = htmlspecialchars($color);
[$r, $g, $b] = sscanf($hex, '#%02x%02x%02x');
echo "$r, $g, $b";
}
@endphp
@includeIf('frontend.partials.styles.styles-v3')
@yield('custom-styles')
@includeIf('frontend.partials.header.header-v3')
@yield('content')
@includeIf('frontend.partials.popups')
@includeIf('frontend.partials.footer.footer-v3')
{{-- cookie alert --}}
@if (!is_null($cookieAlertInfo) && $cookieAlertInfo->cookie_alert_status == 1)
@include('cookie-consent::index')
@endif
{{-- WhatsApp Chat Button --}}
@includeIf('frontend.partials.scripts.scripts-v3')
@includeIf('frontend.partials.toastr')