Adiciona os banners principais mobile e desktop

This commit is contained in:
Saulo Klein Nery 2022-10-07 12:00:19 -03:00
parent 642aeb6056
commit 93b1f81f98
5 changed files with 27 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB

View File

@ -11,6 +11,24 @@
padding: 28px 0 28px 0;
}
.page-header-image{
.page-header-logo{
display: block;
}
.main-banner{
display: block;
object-fit: cover;
max-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

@ -14,8 +14,15 @@
<body>
<header class="page-header">
<a href="#">
<img class="page-header-logo" src="./assets/images/logo_m3_branco.svg" alt="Imagem Logo M3">
<img class="page-header-logo" src="./assets/images/logo-m3-branco.svg" alt="Logo M3"/>
</a>
</header>
<main>
<section>
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png" alt="Banner Principal Desktop"/>
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner Principal Mobile"/>
</section>
</main>
</body>
</html>