TanchoToplineCargo/resources/views/client/niwida/inside/article.blade.php
2024-05-05 10:32:49 +05:45

76 lines
2.5 KiB
PHP

@section('header')
<title>{{$article->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'=>'Company Profile','submenus'=>$article->title])
@if($article->alias!='organizational-setup' && $article->alias!='iso-certificate')
<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">{{$article->title}} </p> -->
<div class="row g-5">
<div class="col-md-12">
{!!processForShortcode($article->text)!!}
</div>
</div>
</div>
</section>
@endif
@php
$iso_certificate=DB::table('companyarticles')->where('alias',$article->alias)->
where('status',1)->get();
@endphp
@if($article->alias=='iso-certificate')
<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">{{$article->title}} </p> --}}
<div class="row ">
<div class="col-md-4"></div>
@foreach($iso_certificate as $item)
@if($article->cover_photo)
<div class="col-md-4">
<img src=" {{ asset($item->cover_photo)}}" class="img-fluid pt-img-15" style="object-fit:contain; max-height:600px; max-width:600px; height:100%;width:100%;">
</div>
<div class="col-md-4"></div>
@endif
@endforeach
</div>
</div>
</section>
@endif
@if($article->alias=='organizational-setup')
<section>
<div class="container">
<div class="row">
<div class=col-md-4></div>
<div class=col-md-4> @if($article->cover_photo)
<img src=" {{ asset($article->cover_photo)}}" class="img-fluid pt-img-15" style="object-fit:contain; max-height:700px; max-width:800px; height:100%;width:100%;">
@endif
</div>
<div class=col-md-4></div>
</div>
</div>
</section>
@endif
@include('client.niwida.partials.footer')