@if(!empty($siteSettings['site_logo'])) {{ $siteSettings['site_name'] ?? 'Logo' }} @else
{{ $siteSettings['site_name'] ?? 'OneHost BD' }} @endif
@if(!empty($siteSettings['site_address']))
{!! nl2br(e($siteSettings['site_address'])) !!}
@endif @if(!empty($siteSettings['contact_phone']))
{{ $siteSettings['contact_phone'] }}
@endif @if(!empty($siteSettings['support_email']))
{{ $siteSettings['support_email'] }}
@endif

Follow us on

@php $socials = [ 'social_facebook' => 'fab fa-facebook-f', 'social_twitter' => 'fab fa-x-twitter', 'social_linkedin' => 'fab fa-linkedin-in', 'social_youtube' => 'fab fa-youtube', ]; @endphp @foreach($socials as $key => $icon) @if(!empty($siteSettings[$key])) @endif @endforeach
@for($col=1; $col<=3; $col++) @php $defaultTitle = $col == 1 ? 'Company' : ($col == 2 ? 'Support' : 'Resources'); $defaultLabels = [ 1 => ['About Us', 'Careers', 'Blog', 'Contact'], 2 => ['Help Center', 'Documentation', 'Community', 'Status'], 3 => ['Pricing', 'API', 'Partners', 'Affiliates'] ]; @endphp

{{ $siteSettings['footer_col'.$col.'_title'] ?? $defaultTitle }}

    @for($link=1; $link<=4; $link++) @php $label = $siteSettings['footer_col'.$col.'_label_'.$link] ?? $defaultLabels[$col][$link-1]; $url = $siteSettings['footer_col'.$col.'_url_'.$link] ?? '#'; @endphp @if(!empty(trim($label)))
  • {{ $label }}
  • @endif @endfor
@endfor

{{ $siteSettings['footer_copyright'] ?? '© 2024 OneHost BD Cloud Hosting Company. All Rights Reserved.' }}

@for($i=1; $i<=3; $i++) @php $defaultLegalLabel = $i == 1 ? 'Privacy Policy' : ($i == 2 ? 'Terms of Service' : 'Cookie Policy'); $label = $siteSettings['footer_legal'.$i.'_label'] ?? $defaultLegalLabel; $url = $siteSettings['footer_legal'.$i.'_url'] ?? '#'; @endphp @if(!empty(trim($label))) {{ $label }} @endif @endfor
@include('partials.whatsapp_btn')