@extends('frontend.layouts.app') @section('title', $data->name_en) @php use App\Helpers\Helper; @endphp @section('content') {{-- Hero Section --}} @include('frontend.partials.hero', [ 'mainHeading' => __('pages.main_heading_' . $route1), 'subHeading' => __('pages.sub_heading_' . $route1), 'breadcrumb1' => [ 'name' => __('route.home'), 'route' => route('home'), ], 'breadcrumb2' => [ 'name' => __('route.' . $route1), 'route' => route($route1), ], 'breadcrumb3' => [ 'name' => app()->getLocale() == 'en' ? $data->name_en : (isset($data->name_np) ? $data->name_np : $data->name_en), 'route' => route($route2, $data->slug), 'class' => 'text-gray-400', ], 'breadcrumb4' => null, ]) {{-- Main Content --}}
{{-- Left Section (80%) --}}
@isset($data)

{{ app()->getLocale() == 'en' ? $data->name_en : (isset($data->name_np) ? $data->name_np : $data->name_en) }}

{{ app()->getLocale() == 'en' ? $data->short_description_en : (isset($data->short_description_np) ? $data->short_description_np : $data->short_description_en) }}

{!! Helper::stripInlineStyle( app()->getLocale() === 'en' ? $data->description_en : $data->description_np ?? $data->description_en, ) !!}
@php $images = is_array($data->images) ? $data->images : json_decode($data->images, true); @endphp @if (!empty($images))
@endif @endisset
{{-- Right Section (20%) --}}
@endsection