183 lines
6.5 KiB
PHP
183 lines
6.5 KiB
PHP
@section('header')
|
|
<title>{{ $cruiserecruiment->title }} - {{ env('APP_NAME') }}</title>
|
|
@endsection
|
|
@include('client.niwida.partials.headerincludes')
|
|
@include('client.niwida.nav')
|
|
|
|
{{-- <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">{{$article->title}}</p>
|
|
</div>
|
|
</section> --}}
|
|
@include('client.niwida.partials.breadcrumb', [
|
|
'title' => 'Cruise Recruitment',
|
|
'submenus' => $cruiserecruiment->title,
|
|
])
|
|
|
|
<section class="chairman pt-5 custom-background">
|
|
<div class="container">
|
|
|
|
{{-- <p class="custom-text fs-5 text-uppercase" uk-scrollspy="cls: uk-animation-slide-left-medium; repeat: true">{{$cruiserecruiment->title}} </p> --}}
|
|
|
|
@if ($cruiserecruiment->alias == 'about-us')
|
|
<div class="row g-5">
|
|
|
|
<div class="col-md-4">
|
|
{!! processForShortcode($cruiserecruiment->text) !!}
|
|
|
|
|
|
</div>
|
|
@if ($cruiserecruiment->cover_photo)
|
|
<div class="col-md-8">
|
|
<img src= " {{ asset($cruiserecruiment->cover_photo) }}" class="img-fluid pt-img-15"
|
|
style="object-fit:contain">
|
|
|
|
|
|
|
|
</div>
|
|
@endif
|
|
|
|
|
|
</div>
|
|
@endif
|
|
|
|
|
|
@if ($cruiserecruiment->alias == 'contact-us')
|
|
<p>this is cruise recuise contact</p>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
@if ($cruiserecruiment->alias != 'contact-us' && $cruiserecruiment->alias != 'about-us' && $cruiserecruiment->alias != 'hot-jobs')
|
|
<section class="row">
|
|
@php
|
|
|
|
$data=DB::table('otherarticles')->where('alias',$cruiserecruiment->alias)
|
|
->where('status',1)->get();
|
|
|
|
@endphp
|
|
{{-- @foreach ($cruiserecruiment->ref as $cruiserecruiment) --}}
|
|
@foreach($data as $item)
|
|
<div class="col-md-4">
|
|
<div class="container">
|
|
|
|
<div class="card">
|
|
<img class="card-img-top" src="{{ asset($item->cover_photo) }}"
|
|
alt="Card image cap">
|
|
<div class="card-body">
|
|
<h5 class="card-title">{!! processForShortcode($item->title) !!}</h5>
|
|
<p class="card-text">{!! processForShortcode($item->text) !!}</p>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
{{-- <div class="col-md-4">
|
|
<div class="container">
|
|
|
|
<div class="card">
|
|
<img class="card-img-top" src="{{ asset($cruiserecruiment->cover_photo) }}"
|
|
alt="Card image cap">
|
|
<div class="card-body">
|
|
<h5 class="card-title">{!! processForShortcode($cruiserecruiment->title) !!}</h5>
|
|
<p class="card-text">{!! processForShortcode($cruiserecruiment->text) !!}</p>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<div class="container">
|
|
|
|
<div class="card">
|
|
<img class="card-img-top" src="{{ asset($cruiserecruiment->cover_photo) }}"
|
|
alt="Card image cap">
|
|
<div class="card-body">
|
|
<h5 class="card-title">{!! processForShortcode($cruiserecruiment->title) !!}</h5>
|
|
<p class="card-text">{!! processForShortcode($cruiserecruiment->text) !!}</p>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div> --}}
|
|
|
|
|
|
|
|
|
|
</section>
|
|
@endif
|
|
@if ($cruiserecruiment->alias == 'hot-jobs')
|
|
|
|
<section class="row">
|
|
@php
|
|
|
|
$data=DB::table('otherarticles')->where('alias',$cruiserecruiment->alias)
|
|
->where('status',1)->get();
|
|
// dd($data);
|
|
|
|
@endphp
|
|
{{-- @foreach ($cruiserecruiment->ref as $cruiserecruiment) --}}
|
|
@foreach($data as $item)
|
|
<div class="col-md-12">
|
|
<div class="container">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-body text-dark">
|
|
<h5 class="card-title">{!! processForShortcode($item->title) !!}</h5>
|
|
<p class="card-text">{!!processForShortcode($item->text) !!}</p>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
{{-- <div class="col-md-4">
|
|
<div class="container">
|
|
|
|
<div class="card">
|
|
<img class="card-img-top" src="{{ asset($cruiserecruiment->cover_photo) }}"
|
|
alt="Card image cap">
|
|
<div class="card-body">
|
|
<h5 class="card-title">{!! processForShortcode($cruiserecruiment->title) !!}</h5>
|
|
<p class="card-text">{!! processForShortcode($cruiserecruiment->text) !!}</p>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<div class="container">
|
|
|
|
<div class="card">
|
|
<img class="card-img-top" src="{{ asset($cruiserecruiment->cover_photo) }}"
|
|
alt="Card image cap">
|
|
<div class="card-body">
|
|
<h5 class="card-title">{!! processForShortcode($cruiserecruiment->title) !!}</h5>
|
|
<p class="card-text">{!! processForShortcode($cruiserecruiment->text) !!}</p>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div> --}}
|
|
|
|
|
|
|
|
|
|
</section>
|
|
@endif
|
|
</div>
|
|
</section>
|
|
@include('client.niwida.partials.footer')
|