feat(home): cria banner principal desktop e mobile

This commit is contained in:
Andrea Matsunaga 2022-10-11 14:36:36 -03:00
parent dfe2c3f00a
commit f455bdc1e7
5 changed files with 25 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 KiB

View File

@ -14,4 +14,20 @@
.header-logo {
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

@ -12,9 +12,16 @@
<body>
<header class="page-header">
<a href="/">
<img class="header-logo" src="./assets/img/png_jpg/Logo M3 [branco] (4) 1.png" alt="Logo M3">
<img class="header-logo" src="./assets/img/png_jpg/m3-logo.png" alt="Logo M3">
</a>
</header>
<main>
<div >
<img class="main-banner main-banner-desktop" src="./assets/img/png_jpg/main-banner-desktop.png" alt="Banner Principal Desktop">
<img class="main-banner main-banner-mobile" src="./assets/img/png_jpg/main-banner-mobile.png" alt="Banner Principal Mobile">
</div>
</main>
</body>
</html>