feature/landingPage #1

Merged
cainamilech merged 14 commits from feature/landingPage into main 2022-10-12 22:14:24 +00:00
2 changed files with 114 additions and 9 deletions
Showing only changes of commit a362b4b27d - Show all commits

View File

@ -4,6 +4,11 @@
box-sizing: border-box; /*mantem a largura do elemento determinada no widht e nao adiciona o tamanho do padding no calculo, porem ele vai estar la*/ box-sizing: border-box; /*mantem a largura do elemento determinada no widht e nao adiciona o tamanho do padding no calculo, porem ele vai estar la*/
} }
body {
font-family: 'Inter', sans-serif;
color: #000;
}
.page-header { .page-header {
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -12,7 +17,8 @@
} }
.logo-header { .logo-header {
display: block; display: block;
width: 12%;
} }
.main-banner{ .main-banner{
@ -20,14 +26,92 @@
display: block; display: block;
} }
.top-infocard{
display: flex;
align-items: center;
justify-content: center;
padding-top: 72px;
}
@media screen and (max-width: 414px) { .top-infocard-text{
.banner-main-desktop{ width: 40%;
display: none; text-align: center;
}
.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;
padding-bottom: 28px;
}
.top-infocard-description{
font-size: 16px;
line-height: 24px;
text-align: left;
}
@media screen and (min-width: 2500px) {
.top-infocard-subtitle{
font-size: 40px;
line-height: 48px;
}
.top-infocard-title{
font-size: 56px;
line-height: 68px;
}
.top-infocard-description{
font-size: 32px;
line-height: 48px;
} }
} }
@media screen and (min-width: 415px) { /*MOBILE* */
@media screen and (max-width: 1024px) {
.logo-header{
width: 55%;
}
.banner-main-desktop{
display: none;
}
.top-infocard-text{
width: 86%;
}
.top-infocard-subtitle{
font-size: 20px;
line-height: 24px;
}
.top-infocard-title{
font-size: 28px;
line-height: 34px;
padding-bottom: 10px;
}
.top-infocard-description{
font-size: 16px;
line-height: 24px;
text-align: center;
}
}
/*DESKTOP*/
@media screen and (min-width: 1025px) {
.banner-main-mobile{ .banner-main-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>
<!--pre fontes google-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<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" />
@ -8,12 +12,13 @@
<title>Desafio Landing Page</title> <title>Desafio Landing Page</title>
<link rel="stylesheet" href="/assets/styles/main.css" /> <link rel="stylesheet" href="/assets/styles/main.css" />
<!--fonte google-->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
</head> </head>
<body> <body>
<header class="page-header"> <header class="page-header">
<a href="/"> <img class="logo-header" src="/assets/images/logo-m3.svg" alt="Logo M3 Academy" />
<img class="logo-header" src="/assets/images/logo-m3.svg" alt="Logo M3 Academy" />
</a>
</header> </header>
<main> <main>
@ -22,6 +27,22 @@
<img class="main-banner banner-main-mobile" src="/assets/images/banner-top-mobile.png" alt="Banner principal mobile"> <img class="main-banner banner-main-mobile" src="/assets/images/banner-top-mobile.png" alt="Banner principal mobile">
</div> </div>
<section class="top-infocard">
<div class="top-infocard-text">
<h2 class="top-infocard-subtitle">
Loren Ipsum
</h2>
<h1 class="top-infocard-title">
dolor sit amet
</h1>
<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>
</div>
</section>
</main> </main>
</body> </body>
</html> </html>