Adiciona os banners principais desktop e mobile

This commit is contained in:
Filipe Quintanilha Evangelista 2022-10-07 12:16:27 -03:00
parent 66685095cf
commit 8fb842a5fd
4 changed files with 27 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB

View File

@ -15,3 +15,19 @@
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">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/assets/styles/main.css">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/assets/styles/main.css" />
<title>M3 Landing Page</title>
</head>
@ -12,8 +12,15 @@
<body>
<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>
<main>
<section>
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png" alt="Banner Principal Desktop">
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner Principal Mobile">
</section>
</main>
</body>
</html>