@extends('app::layouts.app') @section('content') @php $menuCategories = $categories->take(8); $heroListing = $featuredListings->first() ?? $recentListings->first(); $heroImage = $heroListing?->getFirstMediaUrl('listing-images'); $listingCards = $recentListings->take(6); $trendGradients = [ 'from-emerald-500 to-teal-600', 'from-rose-500 to-pink-600', 'from-fuchsia-500 to-rose-600', 'from-sky-500 to-blue-600', 'from-amber-500 to-orange-600', 'from-cyan-500 to-indigo-600', 'from-red-500 to-rose-600', 'from-violet-500 to-purple-600', ]; @endphp

OpenClassify Marketplace

İlan ücreti ödemeden ürününü hızla sat!

{{ __('messages.hero_subtitle') }}

OpenClassify

Ürün, kategori, satıcı ara

@if($heroImage) {{ $heroListing?->title }} @else
🚗

Görsel eklendiğinde burada öne çıkan ilan yer alacak.

@endif

Trend Kategoriler

Tümünü Gör
@foreach($menuCategories as $index => $category)
{{ $category->icon ?? '📦' }}

{{ $category->name }}

@endforeach

Popüler İkinci El İlanlar

@forelse($listingCards as $listing) @php $listingImage = $listing->getFirstMediaUrl('listing-images'); $priceLabel = $listing->price ? number_format((float) $listing->price, 0).' '.$listing->currency : __('messages.free'); $locationLabel = trim(collect([$listing->city, $listing->country])->filter()->join(', ')); $isFavorited = in_array($listing->id, $favoriteListingIds ?? [], true); @endphp
@if($listingImage) {{ $listing->title }} @else
@endif
@if($listing->is_featured) Öne Çıkan @endif Büyük İlan
@auth
@csrf
@else @endauth
Elden al, kartla öde!

{{ $priceLabel }}

{{ $listing->title }}

12 taksit
{{ $locationLabel !== '' ? $locationLabel : 'Konum belirtilmedi' }} {{ $listing->created_at->diffForHumans() }}
İlan detayını aç
@empty
Henüz ilan bulunmuyor.
@endforelse

{{ __('messages.sell_something') }}

Dakikalar içinde ücretsiz ilan oluştur, binlerce alıcıya ulaş.

@auth Hemen İlan Ver @else Ücretsiz Başla @endauth
@endsection