@props([ 'store' => null, 'categories' => [], 'totalProducts' => 0, 'is_logged_in' => false ])
{{ $store['name'] ?? 'Store Name' }}

{{ $store['name'] ?? 'Awesome Store' }}

{{ $store['description'] ?? 'We provide high-quality tech gadgets and accessories at unbeatable prices.' }}

@if(!empty($store['location']))
{{ $store['location'] }}
@endif @if(!empty($store['email']))
{{ $store['email'] }}
@endif @if(!empty($store['phone']))
{{ $store['phone'] }}
@endif
{{ $totalProducts }} Products
{{ count($categories) }} Categories
@if(!empty($categories))
Categories: @foreach($categories as $category) {{ $category }} @endforeach
@endif
@if($is_logged_in) @else @endif
@once @endonce