@extends('frontend.layouts.app') @section('title', app()->getLocale() === 'np' ? $service->name_np : $service->name_en) @section('meta', app()->getLocale() === 'np' ? $service->description_np : $service->description_en) @section('content')
{{ app()->getLocale() === 'np' ? $service->name_np : $service->name_en }}

{{ app()->getLocale() === 'np' ? 'हुलास रेमिटेन्स बारेमा' : 'About Hulas Remittance' }}

{{ app()->getLocale() === 'np' ? $service->name_np : $service->name_en }}

@isset($service->file)
{{ app()->getLocale() === 'np' ? $service->name_np : $service->name_en }}
@endisset

@if (app()->getLocale() === 'np' && isset($service->description_np)) {!! $service->description_np !!} @elseif(isset($service->description_en)) {!! $service->description_en !!} @else {{ __('service-detail.no_description') }} @endif

{{ __('service-detail.how_it_works.title') }}

{{ __('service-detail.how_it_works.subtitle') }}

{{ __('service-detail.how_it_works.description') }}

@isset($service->translation_names) @foreach ($service->translation_names as $index => $name) @php $hasLink = isset($service->external_link) && isset($service->external_link[$index]) && !empty($service->external_link[$index]); $cardTag = $hasLink ? 'a' : 'div'; $cardAttr = $hasLink ? 'href="' . $service->external_link[$index] . '" target="_blank"' : ''; // Localized name $localizedName = app()->getLocale() === 'np' ? $service->translation_names_np[$index] ?? $name : $name; // Localized description if (app()->getLocale() === 'np' && isset($service->translation_descriptions_np)) { $localizedDesc = $service->translation_descriptions_np[$index] ?? ($service->translation_descriptions[$index] ?? null); } else { $localizedDesc = $service->translation_descriptions[$index] ?? null; } @endphp
@isset($service->translation_icons) @if (isset($service->translation_icons[$index])) {{ $localizedName }} @endif @endisset

{{ $localizedName }}

@if ($localizedDesc)

@endif @if ($hasLink)
@endif
@endforeach @endisset
@endsection @push('scripts') @endpush