@extends('client.layout.master') @php use App\Models\Translation; $locale = app()->getLocale(); @endphp @section('title', Translation::getValue('about_title', $locale)) @section('content') {{ $about->getTranslation('title', $locale) }} {{ __('Home') }} {{ $about->getTranslation('title', $locale) }} @if($about->galleries->count()) @foreach($about->galleries as $image) @endforeach @endif @if($about->getTranslation('subtitle', $locale)) {!! str_replace(['', ''], '', $about->getTranslation('subtitle', $locale)) !!} @endif @if($about->getTranslation('intro', $locale)) {!! $about->getTranslation('intro', $locale) !!} @endif @foreach($about->sections as $section) {!! str_replace(['', ''], '', $section->getTranslation('title', $locale)) !!} {!! $section->getTranslation('content', $locale) !!} @endforeach @if($about->ceoMessage) @if($about->ceoMessage->image) @endif {!! strip_tags($about->ceoMessage->getTranslation('title', $locale), '') !!} {!! $about->ceoMessage->getTranslation('message', $locale) !!} @if($about->ceoMessage->signature) {{ $about->ceoMessage->signature }} @endif @endif @if($products->count()) {{ __('Our Products') }} @foreach($products as $product) {{ $product->getTranslation('name', $locale) }} {{ number_format($product->price, 2) }} {{ $product->currency }} @endforeach @endif @endsection
', '
{!! $section->getTranslation('content', $locale) !!}
{!! $about->ceoMessage->getTranslation('message', $locale) !!}