Merge pull request 'Add mobile header banner' (#9) from dev into main

Reviewed-on: #9
This commit was merged in pull request #9.
This commit is contained in:
2024-12-04 11:15:40 +01:00
2 changed files with 12 additions and 0 deletions

View File

@@ -12,3 +12,10 @@ ins[data-revive-zoneid] {
text-align: center; text-align: center;
margin-bottom: 30px; margin-bottom: 30px;
} }
@media (max-width: 576px) {
ins[data-revive-zoneid] {
max-width: 100%;
height: auto;
}
}

View File

@@ -146,4 +146,9 @@ function buildMenu($menu, $ismobile)
</ul> </ul>
</nav> </nav>
</div> </div>
@if(!isset($disableBanners) || !$disableBanners)
<div class="mobile-banner-fullwidth d-flex d-md-none">
<ins data-revive-zoneid="6" data-revive-id="{{ env('REVIVE_ID') }}"></ins>
</div>
@endif