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*/
}
body {
font-family: 'Inter', sans-serif;
color: #000;
}
.page-header {
display: flex;
justify-content: center;
@ -13,6 +18,7 @@
.logo-header {
display: block;
width: 12%;
}
.main-banner{
@ -20,14 +26,92 @@
display: block;
}
.top-infocard{
display: flex;
align-items: center;
justify-content: center;
padding-top: 72px;
}
@media screen and (max-width: 414px) {
.banner-main-desktop{
display: none;
.top-infocard-text{
width: 40%;
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{
display: none;
}

View File

@ -1,6 +1,10 @@
<!DOCTYPE html>
<html lang="pt-BR">
<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 http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@ -8,12 +12,13 @@
<title>Desafio Landing Page</title>
<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>
<body>
<header class="page-header">
<a href="/">
<img class="logo-header" src="/assets/images/logo-m3.svg" alt="Logo M3 Academy" />
</a>
</header>
<main>
@ -22,6 +27,22 @@
<img class="main-banner banner-main-mobile" src="/assets/images/banner-top-mobile.png" alt="Banner principal mobile">
</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>
</body>
</html>