@extends('front.includes.master') @section('main-content') @include('front.includes.slider') @foreach($mainFeatures->children as $feature) @if(\App::getLocale()=='en') {{ $feature->lookup_name_en}} @else {{ $feature->lookup_name}} @endif @endforeach @php $i=0; @endphp @foreach($categories as $category) @if(\App::getLocale()=='en') {{$category->title_en}} @else {{$category->title}} @endif @php $i++; @endphp @endforeach @php $x=0; @endphp @foreach($categories as $category) @foreach($category->products as $product) @if(\App::getLocale()=='en') {{$category->title_en}} @else {{$category->title}} @endif @if(\App::getLocale()=='en') {{$product->title_en}} @else {{$product->title}} @endif {{$product->price}} @endforeach @php $x++; @endphp @endforeach {{ __('admin.web.Read Article') }} {{ __('admin.web.Categories')}} @foreach($categories as $category) @if(\App::getLocale()=='en') {{$category->title_en}} @else {{$category->title}} @endif @endforeach {{ __('admin.web.Read Article') }} {{ __('admin.web.New arrival')}} @foreach ( $newProducts as $newProduct) {{ __('admin.web.New')}} @if(\App::getLocale()=='en') {{$newProduct->title_en}} @else {{$newProduct->title}} @endif @endforeach @endsection