feat: add mobile banner to header
This commit is contained in:
9
resources/assets/sass/layout/_home.scss
vendored
9
resources/assets/sass/layout/_home.scss
vendored
@@ -7,12 +7,15 @@
|
|||||||
@use "../components/featured";
|
@use "../components/featured";
|
||||||
@use "../components/podcast_items";
|
@use "../components/podcast_items";
|
||||||
|
|
||||||
.header_container ins[data-revive-zoneid] {
|
ins[data-revive-zoneid] {
|
||||||
margin-top: -30px;
|
margin-top: -30px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mobile-banner-fullwidth {
|
@media (min-width: 576px) {
|
||||||
margin: 1.5rem 0;
|
ins[data-revive-zoneid] {
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,12 +5,6 @@
|
|||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="mobile-banner-fullwidth">
|
|
||||||
@if(!isset($disableBanners) || !$disableBanners)
|
|
||||||
<ins data-revive-zoneid="1" data-revive-id="{{ env('REVIVE_ID') }}"></ins>
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
<div class="blog_grid" data-snapto="{}">
|
<div class="blog_grid" data-snapto="{}">
|
||||||
{{-- Desktop --}}
|
{{-- Desktop --}}
|
||||||
|
|||||||
@@ -146,4 +146,9 @@ function buildMenu($menu, $ismobile)
|
|||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
@if(!isset($disableBanners) || !$disableBanners)
|
||||||
|
<div class="mobile-banner-fullwidth">
|
||||||
|
<ins data-revive-zoneid="6" data-revive-id="{{ env('REVIVE_ID') }}"></ins>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user