@extends('layouts.app') @section('content') @php $arrow = ''; $featuredFrom = $featured && collect($featured['variants'])->contains(fn ($v) => $v['price'] != $featured['price']); @endphp {{-- 1. Hero slider (CMS "Slider" screen) --}}
@forelse ($slides as $i => $slide) {{ $slide['title'] }} 0) loading="lazy" @endif> Shop now @empty
Welcome

{{ $company->name }}

Shop now
@endforelse @if (count($slides) > 1) @endif
{{-- 2. Category tiles --}} @if (count($categories))
@foreach ($categories as $i => $cat) @if ($cat['image']){{ $cat['name'] }}@endif {{ $cat['name'] }}({{ $cat['count'] }} {{ $cat['count'] === 1 ? 'item' : 'items' }}) @endforeach
@endif {{-- 3. Best sellers with category tabs --}} @if (count($products))

Our Best Sellers

@if (count($tabs) > 1)
@foreach ($tabs as $t) @endforeach
@endif
{{-- 4. Signature block --}} @if ($featured)
Your signature piece

Find the perfect one to express your unique style.

{{ $featured['desc'] ? \Illuminate\Support\Str::limit($featured['desc'], 170) : 'Hand-picked favourites from ' . $company->name . ', made to be remembered.' }}

Explore the collection
@if ($featured['image']){{ $featured['name'] }}@endif {{ $featured['name'] }}{{ $featuredFrom ? 'From ' : '' }}{{ $company->money($featured['price']) }}
@endif {{-- 5. Popular / new products --}} @endif {{-- 6. Brands, or trust points when there are fewer than two brands --}}
@if (count($brands)) @foreach (array_slice($brands, 0, 6) as $b){{ $b }}@endforeach @else Free shipping on selected orders 100% authentic products {{ $company->return_days ?: 30 }} days easy returns Secure online payment @endif
{{-- 7. Feature of the week with countdown --}} @if ($featured)
@if ($lookImage)@elseif ($featured['image']){{ $featured['name'] }}@endif
Featured product of the week

{{ $featured['name'] }}

00Days
:
00Hrs
:
00Min
:
00Sec

@if ($featured['desc']){{ \Illuminate\Support\Str::limit($featured['desc'], 190) }}@else{{ $saleCount ? ($maxOff ? 'Up to ' . $maxOff . '% off' : 'Special prices') . ' on ' . $saleCount . ' ' . \Illuminate\Support\Str::plural('style', $saleCount) . ' right now.' : 'Our pick of the week.' }}@endif

Shop now at {{ $company->money($featured['price']) }}
@endif {{-- 8. Lookbook --}} @if (count($looks) >= 2)

Shop The Lookbook

Each piece crafted to complement your unique essence

@foreach ($looks as $i => $l)
@endforeach @if ($lookImage)@elseif ($looks[0]['image'])@endif Shop the look
@endif {{-- 9. Testimonials (approved customer reviews) --}} @if (count($reviews))

What Our Customers Say

@foreach ($reviews as $r)
{!! str_repeat('★', $r['rating']) . str_repeat('☆', 5 - $r['rating']) !!}
“{{ \Illuminate\Support\Str::limit($r['text'], 220) }}”
{{ $r['author'] }} Verified buyer {{ $r['product'] }}
@endforeach
@endif {{-- 10. Blog --}} @if ($blogs->count())

From The Journal

Stories, guides and news from {{ $company->name }}

@foreach ($blogs as $b) @if ($b->image_url){{ $b->title }}@endif {{ \Illuminate\Support\Carbon::parse($b->created_at)->format('M d, Y') }}

{{ $b->title }}

{{ \Illuminate\Support\Str::limit($b->excerpt, 110) }}

@endforeach
All articles
@endif @endsection @push('scripts') @endpush