Adiciona banners principais desktop e mobile

This commit is contained in:
Eleonora Otz de Mendonça Soares 2022-10-09 20:41:47 -03:00
parent ac868c95f2
commit 6c1e8984db
2 changed files with 26 additions and 1 deletions

View File

@ -21,8 +21,24 @@
display: block;
}
.main-banner {
width: 100%;
}
@media screen and (max-width: 392px) {
.header-logo {
width: 180px
}
}
@media screen and (max-width: 414px) {
.main-banner-desktop {
display: none;
}
}
@media screen and (min-width: 415px) {
.main-banner-mobile {
display: none;
}
}

View File

@ -17,10 +17,19 @@
</head>
<body>
<!-- Header da landing page M3 Academy -->
<header class="page-header">
<a href="/">
<img class="header-logo" src="./assets/images/m3-academy-logo.svg" alt="Logo M3 m3-academy-logo" />
</a>
</header>
</header>
<!-- Banner principal -->
<div>
<figure class="main-banner">
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png" alt="Banner principal" />
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner principal" />
</figure>
</div>
</body>
</html>