@php $uniqueProducts = $products->unique('id')->values(); $discountedProducts = $uniqueProducts ->filter(fn ($product) => $product->compare_price && $product->compare_price > $product->price) ->sortByDesc(fn ($product) => $product->compare_price - $product->price) ->take(12); $latestProducts = $uniqueProducts->whereNotIn('id', $nearbyProducts->pluck('id'))->sortByDesc('created_at')->take(12); @endphp

Ruang Medis, teman sehat keluarga dengan pelayanan hebat dan harga hemat.

Dikirim ke

{{ $customerLocationLabel }}

Atur
@forelse($vouchers as $voucher)@empty
Voucher baru akan tampil di sini.
@endforelse

Belanja sesuai kebutuhan

@if($products->isEmpty())

Temukan kebutuhan kesehatan Anda

Coba nama produk, merek, atau jelajahi kategori populer.

@else @if($latestProducts->isNotEmpty()) @endif @endif
@foreach([ ['badge-check', 'Apotek tepercaya', 'Legalitas dan apoteker telah kami cek.'], ['shield', 'Produk lebih tenang', 'Klasifikasi dan izin edar kami perhatikan.'], ['truck', 'Pengiriman mudah dipantau', 'Pesanan kamu bisa dipantau sampai tujuan.'], ] as [$icon, $title, $copy])
{{ $title }}{{ $copy }}
@endforeach
@if($latestArticles->isNotEmpty())

Ruang baca sehat

Tips sehat untuk keseharian

Lihat lebih banyak
@php($featuredArticle = $latestArticles->first()) @if($featuredArticle->coverUrl()){{ $featuredArticle->cover_alt ?: $featuredArticle->title }}@endif
Info Sehat

{{ $featuredArticle->title }}

@foreach($latestArticles->skip(1) as $article)@if($article->coverUrl()){{ $article->cover_alt ?: $article->title }}@else
@endif
Info Sehat

{{ $article->title }}

@endforeach
@endif