feature/banner #2

Merged
NicollyVieira merged 3 commits from feature/banner into main 2022-10-10 12:47:24 +00:00
4 changed files with 36 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 KiB

View File

@ -11,11 +11,24 @@
</head>
<body>
<!-- Header -->
<header class="page-header">
<a href="/">
<img class="header-logo" src="./assets/svgs/logo-m3.svg" alt="logo da M3" />
</a>
</header>
<main>
<!-- banner -->
<div>
<figure>
<!-- banner desktop -->
<img class="main-banner main-banner-desktop" src="/assets/images/main-banner-desktop.png" alt="imagem de um computador">
<!-- banner mobile -->
<img class="main-banner main-banner-mobile" src="/assets/images/main-banner-mobile.png" alt="imagem de um computador">
</figure>
</div>
</main>
</body>
</html>

View File

@ -15,3 +15,26 @@
.header-logo {
display: block;
}
/*Banner*/
.main-banner {
width: 100%;
}
.main-banner-desktop {
display: block;
}
.main-banner-mobile {
display: none;
}
@media screen and (max-width: 414px) {
.main-banner-desktop {
display: none;
}
.main-banner-mobile {
display: block;
}
}