Skip to content

Commit

Permalink
Static Banner remove
Browse files Browse the repository at this point in the history
  • Loading branch information
Loydtafireyi committed Jan 20, 2021
1 parent 6a4c255 commit dcc7024
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 24 deletions.
70 changes: 70 additions & 0 deletions public/js/app.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/*!
* Bootstrap v4.4.1 (https://getbootstrap.com/)
* Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/

/*!
* Sizzle CSS Selector Engine v2.3.5
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://js.foundation/
*
* Date: 2020-03-14
*/

/*!
* Vue.js v2.6.11
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/

/*!
* jQuery JavaScript Library v3.5.0
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2020-04-10T15:07Z
*/

/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/

/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.16.1
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
32 changes: 8 additions & 24 deletions resources/views/welcome.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@

@section('content')

<!-- Hero section -->
@if($slides->count() > 0)
<!-- Hero section -->
<section class="hero-section">
<div class="hero-slider owl-carousel">
@foreach($slides as $slide)
Expand All @@ -21,16 +22,18 @@
<div class="row">
<div class="col-xl-6 col-lg-7 text-white">
<span>{{ $slide->heading }}</span>
<p>{{ $slide->description }}</p>
<p>{{ Str::limit($slide->description, 100) }}</p>
<a href="/{{ $slide->link }}" class="site-btn sb-line">BUY NOW</a>
<a href="{{ route('contact-us') }}" class="site-btn sb-white">INQUIRE</a>
<a href="{{ route('contact-us') }}" class="inquire site-btn sb-white">INQUIRE</a>
</div>
</div>
@if($slide->from_price != null)
<div class="offer-card text-white">
<span>from</span>
<h3>$1</h3>
<h3>${{ $slide->from_price}}</h3>
<p>SHOP NOW</p>
</div>
@endif
</div>
</div>
@endforeach
Expand Down Expand Up @@ -75,6 +78,7 @@
</div>
</section>
<!-- Features section end -->
@endif


<!-- letest product section -->
Expand Down Expand Up @@ -199,24 +203,4 @@
</section>
<!-- Product filter section end -->


<!-- Banner section -->
<section class="banner-section">
<div class="container d-flex justify-content-between">
<div class="banner set-bg col-6" data-setbg="{{ asset('frontend/img/banner-bg.jpg') }}">
<div class="tag-new">NEW</div>
<span>New Recipes</span>
<h2>SWEET PASTRIES</h2>
<a href="#" class="site-btn">SHOP NOW</a>
</div>
<div class="banner set-bg col-6 ml-2" data-setbg="{{ asset('frontend/img/banner-bg.jpg') }}">
<div class="tag-new">NEW</div>
<span>New Recipes</span>
<h2>SWEET PASTRIES</h2>
<a href="#" class="site-btn">SHOP NOW</a>
</div>
</div>
</section>
<!-- Banner section end -->

@endsection

0 comments on commit dcc7024

Please sign in to comment.