Adiciona os banners pricipais desktop e mobile

This commit is contained in:
Naian Felix dos Santos 2022-10-08 05:54:59 -03:00
parent 9f6ad40da7
commit 13a1b50734
4 changed files with 29 additions and 9 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB

View File

@ -7,8 +7,8 @@
.page-header { .page-header {
display: flex; display: flex;
justify-content: center; justify-content: center;
background: #000000;
padding: 28px 0; padding: 28px 0;
background: #000000;
} }
@ -16,3 +16,19 @@
display: block; 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

@ -2,9 +2,9 @@
<html lang="pt-br"> <html lang="pt-br">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>M3 Lading Page</title> <title>M3 Lading Page</title>
@ -13,10 +13,14 @@
<body> <body>
<header class="page-header"> <header class="page-header">
<a href="/"> <img class="header-logo" src="assets/images/m3-logo.svg" alt="Logo M3">
<img class="header-logo" src="assets/images/m3-logo.svg" alt="Logo M3" />
</a>
</header> </header>
<main>
<section>
<img class="main-banner-desktop" src="./assets/images/main-banner-desktop.png" alt="Banner Principal Desktop">
<img class="main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner Principal Mobile">
</section>
</main>
</body> </body>
</html> </html>