feat(figure): adicionando os banners pricipais em desktop e mobile

feat(style): aplicando responsividade aos banners
This commit is contained in:
Gustavo Rallenson Gonçalves Da Silva 2022-10-10 20:46:16 -03:00
parent 3b31cf1643
commit 0298252591
4 changed files with 46 additions and 27 deletions

View File

@ -1,6 +1,28 @@
.Page-Header{display: flex;
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.Page-Header{
display: flex;
justify-content: center;
padding: 28px 0;
padding: 30px 0;
background: #000000;
}
.main-banner{
display: block;
width: 100%;
}
.Header-Logo{
display: block;
}
@media screen and (max-width: 1023px) {
.MainBannerDesktop{
display: none;
}
}
@media screen and (min-width: 1024px) {
.MainBannerMobile{
display: none;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 KiB

View File

@ -1,28 +1,25 @@
<!DOCTYPE html>
<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="/challenge-landing-page-Gustavo_Rallenson/assets/Css/Styles.css">
<title>Desafio Landing page</title>
</head>
<body>
<header class="Page-Header">
<a href="#Page-Header">
<img class="Header-Logo" src="/challenge-landing-page-Gustavo_Rallenson/assets/Image/Logo-M3Academy 1.svg" alt="Logo M3">
</a>
</header>
<main>
<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="/challenge-landing-page-Gustavo_Rallenson/assets/Css/Styles.css">
<title>Desafio Landing page</title>
</head>
<body>
<header class="Page-Header">
<a href="/challenge-landing-page-Gustavo_Rallenson/index.html">
<img class="Header-Logo" src="/challenge-landing-page-Gustavo_Rallenson/assets/Image/Logo-M3Academy 1.svg" alt="Logo M3">
</a>
</header>
<main>
<figure>
<img class="main-banner MainBannerDesktop" src="/challenge-landing-page-Gustavo_Rallenson/assets/Image/Top-banner-desktop.png" alt="Banner Principal desktop"/>
<img class="main-banner MainBannerMobile"" src="/challenge-landing-page-Gustavo_Rallenson/assets/Image/Top-banner-mobile.png" alt="Banner Principal mobile"/>
</figure>
</main>
<footer>
</footer>
</body>
</main>
<footer></footer>
</body>
</html>