TanchoToplineCargo/resources/views/client/niwida/inside/recruitmentArticle.blade.php

118 lines
3.1 KiB
PHP
Raw Normal View History

2024-05-05 04:47:49 +00:00
@section('header')
<title>{{ $recruitmentarticle->title }} - {{ env('APP_NAME') }}</title>
@endsection
@include('client.niwida.partials.headerincludes')
@include('client.niwida.nav')
@include('client.niwida.partials.breadcrumb', [
'title' => 'Recruitment Procedure',
'submenus' => $recruitmentarticle->title,
])
{{-- <section class="banner-background d-flex align-items-center text-center">
<div class="container position-relative" uk-scrollspy="cls: uk-animation-slide-top-medium; repeat: true">
<p class="medium-text text-light">{{$recruitmentarticle->title}}</p>
</div>
</section> --}}
@php
$data = DB::table('recruitmentarticles')
->where('alias', $recruitmentarticle->alias)
->where('status', 1)
->get();
@endphp
@if ($recruitmentarticle->alias == 'processing_procedure_and_time_frame')
<br>
<br>
<div class="container">
<div class="row">
{{-- @foreach ($recruitmentarticle as $item) --}}
@foreach ($data as $item)
<div class="col-md-6">
<div>
<img src="{{ asset($item->cover_photo) }}" alt="processing procedure and time frame"
style="object-fit:fill; max-height:600px; max-width:600px; height:100%;width:100%;">
</div>
</div>
@endforeach
</div>
</div>
@endif
@if ($recruitmentarticle->alias == 'required_documents')
<br>
<br>
<br>
<div class="container">
<div class="row">
@foreach ($data as $item)
<div class="col-md-4 col-lg-4 col-12">
<div class="pt-service-box pt-service-box-2 mb-30">
<div class="pt-service-banner">
<img src="{{ asset($item->cover_photo) }}" alt="required-documents" style="object-fit:fill; max-height:250px; max-width:550px; height:100%;width:100%;">
</div>
<div class="pt-service-box-info min-hgt-280">
<h5 class="pt-service-title text-primary">{{$item->title}}</a>
{{-- <p>this is test data</p> --}}
<p>{!!$item->text!!}</p>
</div>
</div>
</div>
@endforeach
</div>
<br>
<br>
<br>
</div>
@endif
@if ($recruitmentarticle->alias == 'selection_procedure')
<br>
<br>
<br>
<div class="row">
@foreach ($data as $item)
<div class="col-md-6 col-lg-6 col-12">
<div class="mt-30 mb-30 hvr-s3c_pp">
<div class="img-nwdprt_sec">
<img src="{{ asset($item->cover_photo) }}" alt="selection-procedure" style="object-fit:fill; max-height:250px; max-width:550px; height:100%;width:100%;">
</div>
<div class="bx-shw-bg rgt-s3c_prt-inr">
<h4>{{$item->title}}</h4>
<p>{!!$item->text!!}</p>
</div>
</div>
</div>
@endforeach
</div>
</div>
@endif
<br>
<br>
<br>
@include('client.niwida.partials.footer')