Latest comments
- @vuson1709@vuson1709
I found the solution, here is my updated code:
function Banner() { return ( <picture> <source media="(min-width:800px )" srcSet={BannerDesktop} /> <img src={BannerMobile} alt="Banner Mobile" className="banner-mobile" /> </picture> ); }