@props(['content' => config('global.h_content')]) @php $content = json_decode(json_encode($content, false)) @endphp
@guest

{{ $content->message }}: Entrar

@endguest @auth

{{ $content->message }}: Acessar

@endauth
@if(count((array)$content->main_items) > 1)
{{ $content->main_category }} Categories
@endif
@if($content->user_menu->type !== null) @switch ($content->user_menu->type) @case ('menu')
User menu
@break @default
@endswitch @endif @if($content->cart->type !== null) @switch ($content->cart->type) @case ('cart') @break @default
    @foreach ($content->cart->items as $item)
  • {{$item->name}}
    {{$item->name}}
    @money($item->price) x {{$item->count}}
  • @endforeach
Subtotal:
@money($content->cart->total)
Checkout
@endswitch @endif
@if (0 == 0)
@if($content->search->type !== null) @switch ($content->search->type) @case ('bar') @break @default @endswitch @endif @if($content->phone->type !== null) @switch ($content->phone->type) @case ('full') @break @default @endswitch @endif
@endif