feat(home): Adiciona banner principal mobile

This commit is contained in:
Manuela Luana Schumacker Tavares 2022-10-10 14:07:24 -03:00
parent 758a7af924
commit b9f1bfcc59
4 changed files with 23 additions and 4 deletions

View File

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB

View File

@ -5,8 +5,9 @@
box-sizing: border-box; box-sizing: border-box;
} }
/*Definindo escopos*/ /*Definindo escopos*/
.page-banner-principal-mobile,
.page-logo, .page-logo,
.page-banner-principal{ .page-banner-principal-desktop{
width: 100%; width: 100%;
} }
/*Estilo menu/header*/ /*Estilo menu/header*/
@ -22,4 +23,19 @@
display: block; display: block;
} }
/*Banner mobile*/
.page-banner-principal-mobile{
display: none;
}
@media screen and (max-width: 1024px){
.page-banner-principal-mobile{
display: block;
}
.page-banner-principal-desktop{
display: none;
}
}

View File

@ -17,9 +17,12 @@
<a href="/"><img class="logo-m3academy" src="./assets/svgs/logo-m3academy.svg" alt="Logo M3 Academy"></a> <a href="/"><img class="logo-m3academy" src="./assets/svgs/logo-m3academy.svg" alt="Logo M3 Academy"></a>
</nav> </nav>
</header> </header>
<!--Banner Principal--> <!--Banner Principal desktop e mobile-->
<div> <div>
<figure><img class="page-banner-principal" src="./assets/images/banner-principal.png" alt="Banner Principal"></figure> <figure>
<img class="page-banner-principal-desktop" src="./assets/images/banner-principal-desktop.png" alt="Banner Principal Desktop">
<img class="page-banner-principal-mobile" src="./assets/images/banner-principal-mobile.png" alt="Banner Principal Mobile">
</figure>
</div> </div>
</body> </body>