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

Reviewed-on: #1
This commit is contained in:
Matheus Brollo Dauter 2022-10-13 19:12:29 +00:00
commit d41618eca5
22 changed files with 513 additions and 0 deletions

BIN
src/assets/Group.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
src/assets/coin 1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

BIN
src/assets/insta.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 492 B

BIN
src/assets/laptop 1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
src/assets/money (1) 2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
src/assets/shop 1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 965 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
src/assets/youtube 2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

BIN
src/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

140
src/index.html Normal file
View File

@ -0,0 +1,140 @@
<!DOCTYPE html>
<html lang="en">
<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">
<title>Desafio Landing Page</title>
<link rel="stylesheet" href="styles/style.css">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
</head>
<body>
<article>
<div class="home">
<header>
<a href="#"><img src="assets/Logo-M3Academy 1 (1).png" alt="Logo-M3Academy"></a>
</header>
</div>
<main>
<section>
<img class="main-banner-desktop" src="assets/img/Rectangle 9.png" alt="Imagem de Laptop com codigos na tela.">
<img class="main-banner-mobile" src="assets/img/Rectangle 9 (1).png" alt="Imagem de Laptop com codigos na tela.">
</section>
<article>
<div class="cicle-text">
<h2 id="title1">Lorem ipsum</h2>
<h1 id="title2">dolor sit amet</h1>
<p>
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>
<img class="cicle-img" src="assets/fxemoji_threenetworkedcomputers.png" alt="ciclo de 3 computadores.">
</section>
<section class="blocks">
<div class="block">
<img class="block-img" src="assets/shop 1.png" alt="Icone de uma loja.">
<p class="block-text">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
<div class="block">
<img class="block-img" src="assets/shopping-bag (1) 1.png" alt="Icone de uma sacola de compras.">
<p class="block-text">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
<div class="block">
<img class="block-img" src="assets/coin 1.png" alt="Icone de dinheiro.">
<p class="block-text">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
</section>
</article>
<section class="blocks2">
<div class="blocks-wrapper">
<div class="block-desktop">
<div class="img-square"><img class="block-img2" src="assets/img/Rectangle 13.png" alt="Imagem de um laptop"></div>
<div class="img-square"><img class="block-img2" src="assets/img/Rectangle 16.png" alt="Imagem de um laptop"></div>
<div class="img-square"><img class="block-img2" src="assets/img/Rectangle 17.png" alt="Imagem de um laptop"></div>
</div>
<div class="img-square-mobile">
<img class="block-img2" src="assets/img/Rectangle 13.png" alt="Imagem de um laptop">
<img class="block-img2" src="assets/img/Rectangle 16.png" alt="Imagem de um laptop">
</div>
<div class="img-square-mobile2">
<img class="block-img3" src="assets/img/Rectangle 17.png" alt="Imagem de um laptop">
</div>
</div>
</section>
<section class="blocks3">
<div class="block">
<img class="block-img" src="assets/money (1) 2.png" alt="Icone de dinheiro.">
<p class="block-text2">
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="block">
<img class="block-img" src="assets/coin 1.png" alt="Icone de dinheiro.">
<p class="block-text2">
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="block">
<img class="block-img" src="assets/laptop 1.png" alt="Icone de um laptop.">
<p class="block-text2">
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="block">
<img class="block-img" src="assets/Group.png" alt="Icone de um celular.">
<p class="block-text2">
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>
</section>
<article>
<section class="bottom-img">
<img class="bottom-banner-mobile" src="assets/img/Rectangle 15 (1).png" alt="Imagem de um Oculos com uma tela de códigos atrás.">
</section>
<div class="bottom-text">
<h2>Lorem ipsum dolor sit amet</h2>
<p>
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 class="bottom-img2">
<img class="bottom-banner-desktop" src="assets/img/Rectangle 15.png" alt="Imagem de um Oculos com uma tela de códigos atrás.">
</section>
</article>
</main>
<footer>
<picture>
<img src="assets/insta.png" alt="Icone do instagram">
<img src="assets/facebook-logo.png" alt="Icone do facebook">
<img src="assets/youtube 2.png" alt="Icone do youtube">
</picture>
<p>
Copyright © 2020 - Loja Comércio Eletrônico CNPJ: 000.000.000/0001-00
</p>
</footer>
</article>
</body>
</html>

373
src/styles/style.css Normal file
View File

@ -0,0 +1,373 @@
@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500&display=swap');
* {
margin: 0px;
padding: 0px;
font-weight: 400;
}
body {
font-family: 'Bebas Neue', cursive;
font-family: 'Inter', sans-serif;
}
header {
background-color: black;
text-align: center;
padding: 18px;
}
.home img {
max-width: 226px;
max-height: 43px;
width: auto;
height: auto;
}
.main-banner-desktop {
width: 100%;
}
.main-banner-mobile {
width: 100%;
}
article {
text-align: center;
}
.cicle-text {
max-width: 766px;
margin: auto;
padding: 20px;
}
.cicle-text h1 {
font-size: 3em;
text-transform: uppercase;
font-weight: 500;
padding-bottom: 28px;
}
.cicle-text h2 {
font-size: 2em;
text-transform: uppercase;
padding-top: 73px;
font-weight: 400;
}
.cicle-text p {
text-align: center;
line-height: 24px;
}
.cicle-img {
width: 350px;
height: 350px;
margin: auto;
padding-top: 73px;
padding-bottom: 179px;
}
.blocks {
display: grid;
grid-template-columns: repeat(3, max-content);
gap: 20px;
justify-content: center;
padding-bottom: 80px;
background-color: white;
}
.block {
display: flex;
flex-direction: column;
align-items: center;
padding: 26px 26px 34px;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.block-img {
display: block;
margin-bottom: 26px;
}
.block-text {
max-width: 300px;
font-size: 1em;
line-height: 24px;
}
.blocks2 {
margin-bottom: 190px;
padding: 0px 72px 0px 72px;
background: #E0E0E0;
}
.blocks-wrapper {
position: relative;
top: 62px;
}
.block-desktop {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 40px;
}
.block-img2 {
width: 100%;
}
.blocks3 {
display: grid;
grid-template-columns: repeat(4, max-content);
gap: 16px;
justify-content: center;
padding-bottom: 108px;
background-color: white;
}
.block-text2 {
max-width: 370px;
font-size: 1em;
line-height: 24px;
}
.bottom-text {
margin: auto;
width: 550px;
}
.bottom-text h1 {
font-size: 2em;
line-height: 38px;
font-weight: 600;
}
.bottom-text p {
line-height: 24px;
padding-bottom: 10%;
}
.bottom-img2 {
padding-bottom: 116px;
}
footer {
background-color: black;
height: 128px;
}
footer p {
color: #BDBDBD;
font-size: 0.625em;
}
picture img {
padding: 40px 10px 20px 10px;
}
@media screen and (min-width: 340) and(max-width: 397px) {
.bottom-text p {
padding: 9px 32px 0px 32px;
line-height: 20px;
height: auto;
}
}
@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) {
.cicle-text h1 {
padding-bottom: 10px;
}
.cicle-text p {
width: 357px;
margin: auto;
}
.cicle-img {
width: 239px;
height: 239px;
padding-top: 65px;
padding-bottom: 90px;
margin: auto;
}
.blocks {
grid-template-columns: 1fr;
padding: 36px 26px;
}
.blocks3 {
grid-template-columns: 1fr;
padding: 36px 26px;
}
}
@media screen and (min-width: 356px) and (max-width: 1024px) {
.bottom-text p {
line-height: 24px;
padding: 9px 32px 20% 32px;
}
}
@media screen and (max-width: 1024px) {
.cicle-text p {
text-align: center;
width: auto;
}
.img-square-mobile {
margin: auto;
display: flex;
justify-content: center;
align-items: center;
gap: 14px;
}
.img-square-mobile2 {
margin: auto;
display: flex;
justify-content: center;
align-items: center;
padding-top: 23px;
}
.block-img2 {
width: 100%;
max-width: 177px;
}
.block-img3 {
width: 100%;
max-width: 368px;
}
.bottom-banner-desktop {
display: none;
}
.bottom-banner-mobile {
width: 99%;
}
.bottom-img {
padding: 100px 0 50px 0;
}
.bottom-img2 {
padding: 0px;
}
.bottom-text {
text-align: center;
width: auto;
}
.bottom-text h2 {
font-weight: 600;
line-height: 30px;
}
}
@media screen and (max-width: 500px) {
.block-img3 {
width: 160%;
}
}
@media screen and (max-width: 400px) {
.block-img2 {
width: 75%;
}
}
@media screen and (min-width: 1025px) {
.img-square-mobile, .img-square-mobile2 {
display: none;
}
.bottom-banner-mobile {
display: none;
}
.bottom-text h2 {
font-weight: 600;
}
}
@media screen and (max-width: 1024px) {
.img-square {
display: none;
}
}
@media screen and (min-width: 769px) and (max-width: 1200px) {
.blocks {
grid-template-columns: repeat(2, max-content);
padding: 36px 26px;
}
}
@media screen and (min-width: 769px) and (max-width: 1400px) {
.bottom-banner-desktop {
width: 963.33px;
height: 195.50px;
}
}
@media screen and (min-width: 769px) and (max-width: 1800px) {
.blocks3 {
grid-template-columns: repeat(2, max-content);
padding: 36px 26px;
}
}
@media screen and (min-width: 2000px) {
.cicle-text h1 {
font-size: 3.8em;
}
.bottom-text h1 {
font-size: 2.5em;
}
.cicle-text h2 {
font-size: 2.5em;
}
.bottom-text h2 {
font-size: 2.5em;
}
p {
font-size: 1.5em;
}
.block-text, .block-text2 {
font-size: 1.4em;
}
footer > p {
font-size: 1.3em;
}
}