Merge pull request 'lorenacoelho' (#1) from lorenacoelho into main

Reviewed-on: #1
This commit is contained in:
Lorena Camila Coelho Máximo 2022-10-14 02:25:29 +00:00
commit 6983c6b644
21 changed files with 453 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 950 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 B

271
assets/styles/main.css Normal file
View File

@ -0,0 +1,271 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
color: #000000;
font-family: 'Inter', sans-serif;
}
.page-header {
display: flex;
padding: 29px 0;
background: #000000;
justify-content: center;
}
.header-logo {
display: block;
}
.main-banner {
width: 100%;
}
.top-infocard {
display: flex;
flex-flow: column;
align-items: center;
padding-bottom: 179px;
justify-content: center;
}
.top-infocard-subtitle {
font-size: 32px;
font-weight: 400;
line-height: 39px;
text-transform: uppercase;
}
.top-infocard-title {
font-size: 48px;
font-weight: 500;
line-height: 58px;
margin-bottom: 28px;
text-transform: uppercase;
}
.top-infocard-text {
padding: 73px 0;
max-width: 766px;
text-align: center;
}
.top-infocard-description {
font-size: 16px;
line-height: 24px;
text-align: justify;
}
.top-cards {
gap: 21px;
display: grid;
justify-content: center;
grid-template-columns: repeat(3, max-content);
}
.top-card {
display: flex;
align-items: center;
background: #FFFFFF;
flex-direction: column;
padding: 26px 25px 36px;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.top-card-image {
margin-bottom: 27px;
}
.top-card-description {
font-size: 16px;
max-width: 300px;
line-height: 24px;
text-align: center;
}
.middle-banners {
background: #E0E0E0;
margin: 80px 0 62px;
}
.middle-banners-wrapper {
gap: 39px;
display: flex;
padding: 0 72px;
justify-content: center;
position: relative;
top: 62px;
}
.middle-banner {
gap: 39px;
display: flex;
}
.middle-banner img {
width: 100%;
height: 100%;
}
.bottom-cards {
padding-top: 129px;
}
.bottom-cards-wrapper {
display: grid;
grid-template-columns: repeat(4, max-content);
justify-content: center;
gap: 16px;
}
.bottom-card {
display: flex;
flex-direction: column;
align-items: center;
padding: 35px 32px 58px;
background: #FFFFFF;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.bottom-card-image {
display: block;
margin-bottom: 14px;
}
.bottom-card-description {
max-width: 367px;
font-size: 16px;
line-height: 24px;
text-align: center;
}
.bottom-infocard {
display: flex;
text-align: center;
align-items: center;
padding: 142px 0 180px;
justify-content: center;
flex-flow: column-reverse;
}
.bottom-infocard-image {
width: 100%;
max-width: 1360px;
}
.bottom-infocard-text {
padding-bottom: 50px;
max-width: 550px;
}
.bottom-infocard-title {
margin-bottom: 18px;
font-weight: 600;
font-size: 32px;
line-height: 1;
}
.bottom-infocard-description {
font-size: 16px;
line-height: 24px;
}
.page-footer {
display: flex;
flex-direction: column;
align-items: center;
padding: 38px 0;
background: #000000;
}
.footer-icons {
display: flex;
list-style: none;
margin-bottom: 16px;
}
.footer-icon {
margin: 0 8px;
}
.footer-text {
font-size: 10px;
line-height: 12px;
text-transform: uppercase;
color: #BDBDBD;
}
@media screen and (max-width: 414px) {
.main-banner-desktop {
display: none;
}
}
@media screen and (min-width: 415px) {
.main-banner-mobile {
display: none;
}
}
@media screen and (max-width: 768px) {
.top-cards {
grid-template-columns: 1fr;
padding: 0 26px;
}
.footer-text {
max-width: 280px;
text-align: center;
}
}
@media screen and (max-width: 992px) {
.top-infocard {
padding: 0 28px 90px;
}
.top-infocard-text {
padding-bottom: 65px;
}
.top-infocard-subtitle {
font-size: 20px;
line-height: 24px;
}
.top-infocard-title {
font-size: 28px;
line-height: 34px;
margin-bottom: 15px;
}
.top-infocard-description {
text-align: center;
}
.top-infocard-image {
max-width: 240px;
}
.bottom-cards-wrapper {
grid-template-columns: repeat(1, max-content);
}
}
@media screen and (min-width: 769px) and (max-width: 1200px) {
.top-cards {
grid-template-columns: repeat(2, max-content);
}
}
@media screen and (min-width: 992px) and (max-width: 1770px) {
.bottom-cards-wrapper {
grid-template-columns: repeat(2, max-content);
}
}

182
index.html Normal file
View File

@ -0,0 +1,182 @@
<!DOCTYPE html>
<html lang="pt-br">
<head>
<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">
<title>M3 Landing Page - DESAFIO 01</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./assets/styles/main.css" />
</head>
<body>
<header class="page-header">
<a href="/">
<img class="header-logo" src="./assets/images/Logo-M3Academy.png" 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>
<section class="top-infocard">
<div class="top-infocard-text">
<h2 class="top-infocard-subtitle">Lorem 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>
<img class="top-infocard-image" src="./assets/images/top-infocard-image.png"
alt="Banner de Infocard do Topo" />
</section>
<section class="top-cards">
<div class="top-card">
<img class="top-card-image" src="/assets/images/top-cards-image-01.png"
alt="Imagem do Primeiro Card do Topo" />
<p class="top-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla
interdum.
</p>
</div>
<div class="top-card">
<img class="top-card-image" src="/assets/images/top-cards-image-02.png"
alt="Imagem do Segundo Card do Topo" />
<p class="top-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla
interdum.
</p>
</div>
<div class="top-card">
<img class="top-card-image" src="/assets/images/top-cards-image-03.png"
alt="Imagem do Terceiro Card do Topo" />
<p class="top-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla
interdum.
</p>
</div>
</section>
<section class="middle-banners">
<div class="middle-banners-wrapper">
<div class="middle-banner">
<div>
<img class="middle-banner-one" src="./assets/images/middle-banner-01.png"
alt="Banner do Meio Um" />
</div>
<div>
<img class="middle-banner-two" src="./assets/images/middle-banner-02.png"
alt="Banner do Meio Dois" />
</div>
</div>
<div class="middle-banner">
<img class="middle-banner-three" src="./assets/images/middle-banner-03.png"
alt="Banner do Meio Tres" />
</div>
</div>
</section>
<section class="bottom-cards">
<div class="bottom-cards-wrapper">
<div class="bottom-card">
<img class="bottom-card-image" src="/assets/images/bottom-banner-01.png"
alt="Imagem do Primeiro Card do de Baixo" />
<p class="bottom-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla
interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui
fringilla interdum.
</p>
</div>
<div class="bottom-card">
<img class="bottom-card-image" src="/assets/images/bottom-banner-02.png"
alt="Imagem do Segundo Card do de Baixo" />
<p class="bottom-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla
interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui
fringilla interdum.
</p>
</div>
<div class="bottom-card">
<img class="bottom-card-image" src="/assets/images/bottom-banner-03.png"
alt="Imagem do Terceiro Card do de Baixo" />
<p class="bottom-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla
interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui
fringilla interdum.
</p>
</div>
<div class="bottom-card">
<img class="bottom-card-image" src="/assets/images/bottom-banner-04.png"
alt="Imagem do Quarto Card do de Baixo" />
<p class="bottom-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla
interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui
fringilla interdum.
</p>
</div>
</div>
</section>
<section class="bottom-infocard">
<img class="bottom-infocard-image" src="/assets/images/bottom-info-card-desktop-image.png"
alt="Banner do Infocard de Baixo" />
<div class="bottom-infocard-text">
<h2 class="bottom-infocard-title">
Lorem ipsum dolor sit amet.</h2>
<p class="bottom-infocard-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vulputate sapien non libero faucibus
interdum. In eget tincidunt ipsum. Quisque a tellus at lectus blandit tempor. Ut tristique auctor mi
eget hendrerit. Curabitur venenatis felis vitae sagittis venenatis. Donec finibus turpis vitae
lectus interdum rutrum vitae sed augue.
</p>
</div>
</section>
</main>
<footer class="page-footer">
<ul class="footer-icons">
<li class="footer-icon">
<a href="#" target="_blank">
<img src="/assets/images/instagram-icon.png" alt="ícone do Instagram" />
</a>
</li>
<li class="footer-icon">
<a href="#" target="_blank">
<img src="/assets/images/facebook-icon.png" alt="ícone do Facebook" />
</a>
</li>
<li class="footer-icon">
<a href="#" target="_blank">
<img src="/assets/images/youtube-icon.png" alt="ícone do Youtube" />
</a>
</li>
</ul>
<p class="footer-text">
Copyright © 2020 - Loja Comércio Eletrônico CNPJ: 000.000.000/0001-00
</p>
</footer>
</body>
</html>