Adiciona os banner principais desktop e mobile

This commit is contained in:
Affonso Kopmann 2022-10-07 13:44:00 -03:00
parent 6fd2029769
commit ce0989f087
4 changed files with 22 additions and 0 deletions

View File

@ -17,3 +17,18 @@
display: block; display: block;
} }
.main-banner {
width: 100%;
}
@media screen and (max-width: 414px) {
.main-banner-desktop {
display: none;
}
}
@media screen and (min-width: 415px) {
.main-banner-mobile {
display: none;
}
}

View File

Before

Width:  |  Height:  |  Size: 570 KiB

After

Width:  |  Height:  |  Size: 570 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB

View File

@ -16,5 +16,12 @@
<img class="header-logo" src="./_assets/img/logo_m3.svg" alt="Logo M3" /> <img class="header-logo" src="./_assets/img/logo_m3.svg" alt="Logo M3" />
</a> </a>
</header> </header>
<main>
<section>
<img class="main-banner main-banner-desktop" src="./_assets/img/main-banner-desktop.jpg" alt="Banner principal Desktop" />
<img class="main-banner main-banner-mobile" src="./_assets/img/main-banner-mobile.jpg" alt="Banner principal Mobile" />
</section>
</main>
</body> </body>
</html> </html>