![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mcoil.corals.io/resources/views/layouts/front/ |
@section('css') @if(!empty($banner1) || !empty($banner2)) <style> @if(!empty($banner1)) .banner1 { background: #fff url('<?php echo isset( $banner1 ) ? "/public/img/images_uploaded/" . $banner1['background_img']: ''; ?>') no-repeat; background-size: cover; background-position: center; background-attachment: fixed; height: 255px; position: relative; } @media screen and (max-width:460px) { .banner1 { background: #fff url('<?php echo isset( $banner1 ) ? "/public/img/images_uploaded/" . $banner1['background_img_mobile']: ''; ?>') no-repeat; background-size: cover; background-position: center; background-attachment: fixed; height: 255px; position: relative; } } @endif @if(!empty($banner2)) .banner2 { background: #fff url('<?php echo isset($banner2) ? "/public/img/images_uploaded/" . $banner2['background_img']: ''; ?>') no-repeat; background-size: cover; background-position: center; background-attachment: fixed; height: 255px; position: relative; } @media screen and (max-width:460px) { .banner2 { background: #fff url('<?php echo isset($banner2) ? "/public/img/images_uploaded/" . $banner2['background_img_mobile']: ''; ?>') no-repeat; background-size: cover; background-position: center; background-attachment: fixed; height: 255px; position: relative; } } @endif </style> @endif @endsection @if(!empty($banner1)) <section id="hero" class="hero-section top-about banner1"> <div class="overlay-banner"> <div class="hero {{ isset( $websiteAppearanceDetails['shop_navbar_background_colour'] ) ? 'edited_before_' . $websiteAppearanceDetails['shop_navbar_background_colour']: '' }}"> <div class="container"> <div class="row"> <div class="col-md-8"> <div class="hero-content"> @if(!empty($banner1->content)){!! (isset($banner1->content)) ? $banner1->content: '' !!}@else<h1 class="hero-title">{{(isset($page_details->title))?$page_details->title:$pageTagData->title}}</h1>@endif @if(!empty($banner1->button_text))<a href="{{ $banner1->link_button }}" class="btn btn-subscribe btn-lg" title="{{ $banner1->button_text }}">{{ $banner1->button_text }}</a> @endif @if(!empty($banner1->button_text2))<a href="{{ $banner1->button_link2 }}" class="btn btn-dark btn-lg font-black" title="{{ $banner1->button_text2 }}">{{ $banner1->button_text2 }}</a> @endif </div> </div> </div> </div> </div> </div> </section> @include('layouts.front.quote-form') @else @include('layouts.front.other-menu') @endif