@extends('web.layouts.master') @php $header = \App\Models\PageSetup::page('home'); @endphp @if(isset($header)) @section('title', $header->meta_title) @section('top_meta_tags') @if(isset($header->meta_description)) @else @endif @if(isset($header->meta_keywords)) @else @endif @endsection @endif @section('social_meta_tags') @if(isset($setting)) @endif @endsection @section('content') @if(count($sliders) > 0) @foreach($sliders as $slider) {{ $slider->title }} {!! $slider->description !!} @php $page_contact = \App\Models\PageSetup::page('contact-us'); @endphp @if(isset($page_contact)) {{ __('common.contact_us') }} @endif @if(isset($slider->link)) {{ __('common.read_more') }} @endif @endforeach @endif @if(isset($about) || count($counters) > 0) @if(isset($about)) {{ $about->title }} {!! $about->description !!} @php $page_about = \App\Models\PageSetup::page('about-us'); @endphp @if(isset($page_about)) {{ __('common.read_more') }} @endif @if(isset($about->mission_title)) {{ $about->mission_title }} {!! $about->mission_desc !!} @endif @if(isset($about->vision_title)) {{ $about->vision_title }} {!! $about->vision_desc !!} @endif @endif @if(count($counters) > 0) @foreach($counters as $counter) 0 {{ $counter->title }} @endforeach @endif @endif @php $section_services = \App\Models\Section::section('services'); @endphp @if(count($services) > 0 && isset($section_services)) {{ $section_services->title }} {!! $section_services->description !!} @foreach($services as $service) {{ __('common.read_more') }} {{ $service->title }} {!! strip_tags($service->short_desc) !!} @endforeach @endif @php $section_portfolio = \App\Models\Section::section('portfolio'); @endphp @if(count($portfolios) > 0 && isset($section_portfolio)) {{ $section_portfolio->title }} {!! $section_portfolio->description !!} {{ __('common.all') }} @foreach($portfolio_categories as $portfolio_category) {{ $portfolio_category->title }} @endforeach @foreach($portfolios as $portfolio) @foreach($portfolio->categories as $category) > {{ $category->title }} @endforeach {{ $portfolio->title }} {{ __('common.read_more') }} @endforeach @php $page_portfolio = \App\Models\PageSetup::page('portfolio'); @endphp @if(isset($page_portfolio)) {{ __('common.view_more') }} @endif @endif @php $section_team = \App\Models\Section::section('team'); @endphp @if(count($members) > 0 && isset($section_team)) {{ $section_team->title }} {!! $section_team->description !!} @foreach($members as $member) {{ $member->title }} {{ $member->designation->title }}@if(isset($member->designation->department)), {{ $member->designation->department }}@endif @if(isset($member->email)) {{ $member->email }} @endif @if(isset($member->phone)) {{ $member->phone }} @endif @if(isset($member->facebook)) @endif @if(isset($member->twitter)) @endif @if(isset($member->instagram)) @endif @if(isset($member->linkedin)) @endif @endforeach @endif @php $section_testimonials = \App\Models\Section::section('testimonials'); @endphp @if(count($testimonials) > 0 && isset($section_testimonials)) {{ $section_testimonials->title }} {!! $section_testimonials->description !!} @foreach($testimonials as $testimonial) {!! $testimonial->description !!} {{ $testimonial->title }} {{ $testimonial->designation }}@if(isset($testimonial->organization)), {{ $testimonial->organization }}@endif @endforeach @endif @php $section_blog = \App\Models\Section::section('blog'); @endphp @if(count($articles) > 0 && isset($section_blog)) {{ $section_blog->title }} {!! $section_blog->description !!} @foreach($articles as $key => $article) @if($key == 0) {{ __('common.read_more') }} {!! str_limit(strip_tags($article->title), 50, ' ...') !!} {!! str_limit(strip_tags($article->description), 110, ' ...') !!} {{ date('d M, Y', strtotime($article->created_at)) }} @endif @endforeach @foreach($articles as $key => $article) @if($key > 0) {{ __('common.read_more') }} {!! str_limit(strip_tags($article->title), 50, ' ...') !!} {!! str_limit(strip_tags($article->description), 110, ' ...') !!} {{ date('d M, Y', strtotime($article->created_at)) }} @endif @endforeach @endif @php $section_process = \App\Models\Section::section('process'); @endphp @if(count($processes) > 0 && isset($section_process)) {{ $section_process->title }} {!! $section_process->description !!} @foreach($processes as $key => $process) {{ $key + 1 }}{{ $process->title }} {!! $process->description !!} @endforeach @endif @php $section_clients = \App\Models\Section::section('clients'); @endphp @if(count($clients) > 0 && isset($section_clients)) @foreach($clients as $client) @endforeach @endif @endsection