@extends('frontend.layouts.app') @section('title', app()->getLocale() == 'np' ? $pages->name_np : $pages->name_en) @section('meta', app()->getLocale() == 'np' ? $pages->name_np : $pages->name_en) @section('content')
Banner Image

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

Home

>

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

Navigate Fast

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

Access important pages and resources quickly to explore our website with ease.

@isset($pages)
{!! app()->getLocale() == 'np' ? $pages->description_np : $pages->description_en !!}
@php $images = is_string($pages->images) ? json_decode($pages->images, true) : $pages->images; @endphp @if (!empty($images)) @foreach ($images as $image) {{ $pages->name_en }} @endforeach @endif
@php $files = json_decode($pages->documents, true); @endphp @if (!empty($files))

{{ __('media-and-stories-detail.downloads') }}

@foreach ($files as $file) @php $filename = basename($file); $extension = pathinfo($filename, PATHINFO_EXTENSION); $filepath = public_path($file); $filesize = file_exists($filepath) ? round(filesize($filepath) / 1024 / 1024, 2) . ' MB' : ''; @endphp
{{ $filename }}
@endforeach
@endif
@endisset
@endsection @push('scripts') @include('frontend.layouts.partials.documents-format') @endpush