@php $text = \App\Helper\Helper::text('home.highlighted'); $lang = App::getLocale(); $input = config('app.APP_DOMAIN'); if (!str_starts_with($input, 'http')) { $input = 'https://' . $input; } $host = parse_url($input, PHP_URL_HOST); $subdomain = explode('.', $host)[0]; @endphp @if ($text !== null && $text->activo && $text->{"textVisible_$subdomain"})
@if ($text->{"link_$lang"}) @endif {!! $text->{"content_$lang"} !!} @if ($text->{"link_$lang"}) @endif {{-- duplicado para loop contínuo --}} @if ($text->{"link_$lang"}) @endif {!! $text->{"content_$lang"} !!} @if ($text->{"link_$lang"}) @endif
@endif
{{-- --}} @include('layout.offcanvas-menus', [ 'categories' => $categories ?? [], ])
    @auth
  • @endauth @guest
  • @endguest @if (!Request::is('*/checkout*'))
  • 0
  • @endif
  • {{ config('app.country') }}
@include('layout.categories-sub-menu', [ 'categories' => $categories ?? [] ])
@section('banner') @include('home.banner') @endsection @include('layout.account-menus') @include('layout.cart-menu')