@extends('layouts.app') @section('title', __('layout.navigation.home')) @section('content') @php($home = trans('home')) @php($isRtl = app()->getLocale() === 'ar') @php($heroImages = ['SbaekFinal4.JPG'] + array_diff(scandir(public_path('heroimageslider')), ['.', '..', 'SbaekFinal4.JPG'])) @php($heroImages = array_filter($heroImages, function($file) { $ext = strtolower(pathinfo($file, PATHINFO_EXTENSION)); return in_array($ext, ['jpg', 'jpeg', 'png', 'gif', 'webp']); })) @push('head') @push('scripts') @endpush @endpush @php($manualQuotes = [ [ 'label' => __('USD → ILS'), 'symbol' => 'USDILS', 'buy' => '3.740', 'sell' => '3.780', 'unit' => '₪', ], [ 'label' => __('Gold → USD'), 'symbol' => 'XAUUSD', 'buy' => '2,048.00', 'sell' => '2,055.00', 'unit' => '$/oz', ], [ 'label' => __('Silver → USD'), 'symbol' => 'XAGUSD', 'buy' => '25.10', 'sell' => '25.35', 'unit' => '$/oz', ], ])
@if(!empty($heroImages))
@foreach($heroImages as $image)
@endforeach
@else

No slider images found. Please add images to the public/heroimageslider/ directory.

@endif
@if($home['hero']['badge'] === 'SG_LOGO')
SG Logo
@else {{ $home['hero']['badge'] }} @endif

{{ $home['hero']['title_main'] }} {{ $home['hero']['title_highlight'] }}

{{ $home['hero']['paragraph'] }}

{{ $home['hero']['cta_primary'] }} {{ $home['hero']['cta_secondary'] }}
@foreach($home['hero']['features'] as $feature)

{{ $feature['title'] }}

{{ $feature['text'] }}

@endforeach
@if($featuredProducts->count() > 0)

{{ __('home.featured_items') }}

{{ __('home.featured_items_subtitle') }}

@endif

{{ $home['services']['title'] }}

{{ $home['services']['subtitle'] }}

@foreach($home['services']['cards'] as $card)
{{ $card['badge'] }}

{{ $card['title'] }}

{{ $card['text'] }}

@endforeach

{{ $home['cta_banner']['title'] }}

{{ $home['cta_banner']['text'] }}

@endsection