Add responsive hero banner: mobile image on screens < 768px, desktop on larger
This commit is contained in:
+4
-1
@@ -1033,7 +1033,10 @@
|
||||
<!-- Hero banner image -->
|
||||
<div class="hero-banner-img">
|
||||
<a id="bannerRefLink" href="https://clickbaitpays.me/?ref=cryptoteambuild" target="_blank" rel="noopener">
|
||||
<img src="https://git.saasy.top/marty/cbp-calculator/raw/branch/main/hero-banner.jpg" alt="Join the Crypto Team Build Network — Build the ClickBaitPays team project with us" />
|
||||
<picture>
|
||||
<source srcset="https://git.saasy.top/marty/cbp-calculator/raw/branch/main/hero-banner-mobile.jpg" media="(max-width: 767px)">
|
||||
<img src="https://git.saasy.top/marty/cbp-calculator/raw/branch/main/hero-banner.jpg" alt="Join the Crypto Team Build Network — Build the ClickBaitPays team project with us" />
|
||||
</picture>
|
||||
</a>
|
||||
<script>
|
||||
(function(){
|
||||
|
||||
Reference in New Issue
Block a user