You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
3.0 KiB

@extends('layout.app')
@section('title')
2 years ago
<title>{{$service->name}}</title>
@endsection
@section('content')
<section class="service-detail-banner" style="background: url('frontend/images/service-detail.png')">
<div class="service-detail-desc">
2 years ago
<h2>{{$service->name}}</h2>
</div>
</section>
2 years ago
@php $service_sections = $service->visa_service_sections()->orderby('order_by','asc')->get(); @endphp
@if($service_sections->count() > 0)
<section class="permanent-visa-section">
<div class="row">
<div class="col-md-12">
<div class="permanent-visa-head">
2 years ago
<h2>{{$service->name}}s</h2>
<p>{{$service_sections->first()->top_description}}</p>
</div>
</div>
</div>
</section>
<section class="service-detail-second">
<div class="row">
<div class="col-md-6">
<div class="service-detail-secone">
2 years ago
<h3>{{$service_sections->first()->left_title}} </h3>
<h3>{{$service_sections->first()->left_sub_title}}</h3>
<p>{!!$service_sections->first()->left_description!!}</p>
</div>
</div>
<div class="col-md-6">
<div class="service-detail-sectwo">
2 years ago
<h3>{{$service_sections->first()->right_title}}</h3>
<p>{!!$service_sections->first()->point_title!!}</p>
<ul>
2 years ago
@foreach($service_sections->first()->visa_service_section_point as $point)
<li>{{$point->point}}</li>
@endforeach
</ul>
2 years ago
<h5>{{$service_sections->first()->right_sub_title}}</h5>
<p>{{$service_sections->first()->visa_length}}</p>
</div>
</div>
</div>
</section>
2 years ago
@if($service_sections->count() > 1)
@php $second_service = $service_sections[1];@endphp
<section class="service-detail-third">
2 years ago
<div class="row">
<div class="col-md-6">
<div class="service-detail-secone">
2 years ago
<h3>{{$second_service->left_title}} </h3>
<h3>{{$second_service->left_sub_title}}</h3>
<p>{!!$second_service->left_description!!}</p>
</div>
</div>
<div class="col-md-6">
<div class="service-detail-sectwo">
2 years ago
<h3>{{$second_service->right_title}}</h3>
<p>{!!$second_service->point_title!!}</p>
<ul>
2 years ago
@foreach($second_service->visa_service_section_point as $point)
<li>{{$point->point}}</li>
@endforeach
</ul>
2 years ago
<h5>{{$second_service->right_sub_title}}</h5>
<p>{{$second_service->visa_length}}</p>
</div>
</div>
</div>
</section>
2 years ago
@endif
@endif
@endsection