Merge pull request 'feat(index): Adicionado o Infocard do topo desktop e mobile' (#3) from feature/top-infocard into development

Reviewed-on: #3
This commit is contained in:
Wellington Duarte Santos 2022-10-10 18:03:33 +00:00
commit 693b22215a
3 changed files with 108 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -1,6 +1,5 @@
* { * {
margin: 0; margin: 0;
padding: 0;
box-sizing: border-box; box-sizing: border-box;
} }
@ -9,6 +8,8 @@ body{
color: #000000; color: #000000;
} }
/*** HEADER ***/
.page-header{ .page-header{
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -21,6 +22,8 @@ body{
display: block; display: block;
} }
/*** MAIN BANNER ***/
.main-banner-desktop{ .main-banner-desktop{
display: block; display: block;
width: 100%; width: 100%;
@ -30,13 +33,77 @@ body{
width: 100%; width: 100%;
} }
/*** TOP INFOCARD ***/
.top-infocard {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 74px;
}
.top-infocard-subtitle{
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.top-infocard-title{
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.top-infocard-description{
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 28px;
max-width: 40%;
}
.top-infocard-image{
margin-top: 74px;
}
@media screen and (max-width: 1024px){ @media screen and (max-width: 1024px){
/*** MAIN BANNER ***/
.main-banner-desktop{ .main-banner-desktop{
display: none; display: none;
} }
/*** TOP INFOCARD ***/
.top-infocard{
padding: 0 28px 0;
}
.top-infocard-subtitle{
font-size: 20px;
line-height: 24px;
text-align: center;
}
.top-infocard-title{
text-align: center;
font-size: 28px;
line-height: 34px;
}
.top-infocard-description{
max-width: 100%;
text-align: center;
}
.top-infocard-image{
margin-top: 65px;
}
} }
@media screen and (min-width: 1025px){ @media screen and (min-width: 1025px){
/*** MAIN BANNER ***/
.main-banner-mobile{ .main-banner-mobile{
display: none; display: none;
} }

View File

@ -1,6 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="pt-br"> <html lang="pt-br">
<head> <head>
<!-- FONT FAMILY -->
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
<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" />
@ -9,18 +13,48 @@
<link rel="stylesheet" href="./css/style.css" /> <link rel="stylesheet" href="./css/style.css" />
</head> </head>
<body> <body>
<!-- HEADER -->
<header class="page-header"> <header class="page-header">
<img src="./assets/logoM3.svg" alt="" /> <img src="./assets/logoM3.svg" alt="" />
</header> </header>
<div> <!-- MAIN BANNER -->
<img src="./assets/main-banner-desktop.png" alt="" class="main-banner-desktop"> <!-- MAIN BANNER DESKTOP-->
</div> <figure>
<img src="./assets/main-banner-desktop.png" alt="Banner principal, imagem de um notebook" class="main-banner-desktop">
<div> </figure>
<!-- MAIN BANNER MOBILE-->
<figure>
<img src="./assets/main-banner-mobile.png" alt="" class="main-banner-mobile"> <img src="./assets/main-banner-mobile.png" alt="" class="main-banner-mobile">
</div> </figure>
<!-- TOP INFOCARD -->
<section class="top-infocard">
<!-- SUBTITLE -->
<p class="top-infocard-subtitle">
Lorem ipsum
</p>
<!-- TITLE -->
<p class="top-infocard-title">
dolor sit amet
</p>
<!-- DESCRITION -->
<p class="top-infocard-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Cras euismod enim non dui fringilla interdum.
Curabitur ut tortor sed lacus egestas vulputate vel sit amet velit. Nulla suscipit magna dui.
</p>
<!-- IMAGE -->
<figure>
<img src="./assets/top-infocard-image.png" alt="Conexão entre computadores" class="top-infocard-image">
</figure>
</section>
</body> </body>
</html> </html>