Add responsive hero banner: mobile image on screens < 768px, desktop on larger

This commit is contained in:
Marty Bostick
2026-07-29 20:31:09 +00:00
parent e2aed5bf88
commit 03fdbe87e6
2 changed files with 4 additions and 1 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

+4 -1
View File
@@ -1033,7 +1033,10 @@
<!-- Hero banner image --> <!-- Hero banner image -->
<div class="hero-banner-img"> <div class="hero-banner-img">
<a id="bannerRefLink" href="https://clickbaitpays.me/?ref=cryptoteambuild" target="_blank" rel="noopener"> <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> </a>
<script> <script>
(function(){ (function(){