Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
51a67e0ca2 | |||
f3aa95ee91 | |||
ade1866856 | |||
f2cd5d8252 | |||
cec104d109 | |||
08a48e77ad | |||
c6852b81f2 | |||
a2ba1aa84f | |||
037fd52488 | |||
f6fc22aa64 | |||
9a2d5040e0 |
BIN
assets/images/banner-principal-mobile.png
Normal file
After Width: | Height: | Size: 341 KiB |
BIN
assets/images/banner-principal.png
Normal file
After Width: | Height: | Size: 1.5 MiB |
BIN
assets/images/bottom-card1.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
assets/images/bottom-card2.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/images/bottom-card3.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
assets/images/bottom-card4.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
assets/images/bottom-infocard-img-desktop.png
Normal file
After Width: | Height: | Size: 447 KiB |
BIN
assets/images/botttom-inforcard-img-mobile.png
Normal file
After Width: | Height: | Size: 247 KiB |
BIN
assets/images/computers.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
assets/images/logo-face.png
Normal file
After Width: | Height: | Size: 287 B |
BIN
assets/images/logo-insta.png
Normal file
After Width: | Height: | Size: 490 B |
BIN
assets/images/logo-youtube.png
Normal file
After Width: | Height: | Size: 351 B |
BIN
assets/images/logoM3.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
assets/images/midle-banner-principal-mobile.png
Normal file
After Width: | Height: | Size: 141 KiB |
BIN
assets/images/midle-banner-principal.png
Normal file
After Width: | Height: | Size: 949 KiB |
BIN
assets/images/top-card1.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
assets/images/top-card2.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
assets/images/top-card3.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
313
assets/styles/main.css
Normal file
@ -0,0 +1,313 @@
|
||||
*{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Inter', sans-serif;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 28px 0;
|
||||
|
||||
background: #000;
|
||||
}
|
||||
|
||||
.header-logo {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.banner-img, .midle-banner-img {
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.top-infocard {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 80px 0 96px;
|
||||
}
|
||||
|
||||
.top-infocard-text {
|
||||
max-width: 766px;
|
||||
margin-right: 124px;
|
||||
}
|
||||
|
||||
.top-infocard-subtitle {
|
||||
font-weight: 400;
|
||||
font-size: 32px;;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.top-infocard-title {
|
||||
font-weight: 500;
|
||||
font-size: 48px;
|
||||
text-transform: uppercase;
|
||||
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.top-infocard-description {
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.top-cards {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, max-content);
|
||||
gap: 20px;
|
||||
justify-content: center;
|
||||
padding: 74px 0;
|
||||
|
||||
background: #f0f0f0;
|
||||
}
|
||||
|
||||
.top-card{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 26px 26px 34px;
|
||||
|
||||
background: #fff;
|
||||
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
||||
}
|
||||
|
||||
.top-card-img {
|
||||
display: block;
|
||||
margin-bottom: 26px;
|
||||
}
|
||||
|
||||
.top-card-description {
|
||||
max-width: 300px;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.bottom-cards {
|
||||
background: linear-gradient(180deg, #00C8FF 0%, #15ACD6 100%);
|
||||
margin-top: 140px;
|
||||
}
|
||||
|
||||
.bottom-cards-wrapper {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, max-content);
|
||||
justify-content: center;
|
||||
gap: 20px;
|
||||
position: relative;
|
||||
top: -60px;
|
||||
}
|
||||
|
||||
.bottom-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 36px 32px 66px;
|
||||
|
||||
background: #fff;
|
||||
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.23);
|
||||
}
|
||||
|
||||
.bottom-card-img {
|
||||
display: block;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.bottom-card-description {
|
||||
max-width: 368px;
|
||||
line-height: 24px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.bottom-infocard{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 142px 0 180px;
|
||||
}
|
||||
|
||||
.bottom-infocard-img {
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
.bottom-infocard-text {
|
||||
max-width: 550px;
|
||||
}
|
||||
|
||||
.bottom-infocard-title {
|
||||
margin-bottom: 18px;
|
||||
font-size: 32px;
|
||||
line-height: 20px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.bottom-infocard-description {
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.footer{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
background: #000;
|
||||
|
||||
padding: 38px 0 ;
|
||||
}
|
||||
|
||||
.footer-icons {
|
||||
display: flex;
|
||||
list-style: none;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.footer-icon {
|
||||
margin: 0 8px;
|
||||
}
|
||||
|
||||
.footer-text {
|
||||
font-weight: 400;
|
||||
font-size: 10px;
|
||||
line-height: 12px;
|
||||
text-transform: uppercase;
|
||||
|
||||
color: #BDBDBD;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.midle-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@media screen and (min-width: 415px) {
|
||||
.main-banner-mobile {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.midle-banner-mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width:768px ) {
|
||||
.top-cards{
|
||||
grid-template-columns: 1fr;
|
||||
padding: 36px 26px;
|
||||
}
|
||||
|
||||
.bottom-cards {
|
||||
margin-top: 114px;
|
||||
padding: 0 26px;
|
||||
}
|
||||
|
||||
.bottom-cards-wrapper {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.bottom-card-description{
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.footer {
|
||||
padding-bottom: 26px;
|
||||
}
|
||||
|
||||
.footer-text {
|
||||
text-align: center;
|
||||
max-width: 280px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 992px) {
|
||||
.top-infocard{
|
||||
flex-direction: column;
|
||||
padding: 84px 26px 158px;
|
||||
}
|
||||
|
||||
.top-infocard-text{
|
||||
margin-right: 0;
|
||||
margin-bottom: 68px;
|
||||
}
|
||||
|
||||
.top-infocard-subtitle{
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.top-infocard-title{
|
||||
font-size: 28px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.top-infocard-img{
|
||||
width: 100%;
|
||||
max-width: 240px;
|
||||
}
|
||||
|
||||
.bottom-infocard {
|
||||
flex-direction: column;
|
||||
padding: 80px 0 136px;
|
||||
}
|
||||
|
||||
.bottom-infocard-img {
|
||||
width: 100%;
|
||||
max-width: 596px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
.bottom-infocard-title {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.bottom-infocard-text {
|
||||
padding: 0 26px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 769px) and (max-width: 1200px) {
|
||||
.top-cards {
|
||||
grid-template-columns: repeat(2, max-content);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 769px) and (max-width: 992px) {
|
||||
.bottom-card-description {
|
||||
max-width: 280px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 993px) and (max-width: 1280px) {
|
||||
.top-infocard-text{
|
||||
max-width: 520px;
|
||||
margin-right: 70px;
|
||||
}
|
||||
|
||||
.bottom-infocard-img {
|
||||
max-width: 480px;
|
||||
}
|
||||
|
||||
.bottom-infocard-title {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.bottom-infocard-text {
|
||||
max-width: 400px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
107
index.html
Normal file
@ -0,0 +1,107 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="pt-br">
|
||||
<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" />
|
||||
<link rel="stylesheet" href="./assets/styles/main.css" />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https: //fonts.googleapis.com/css2? família= Inter:wght@400;500;600 & display=swap" rel="stylesheet">
|
||||
|
||||
<title>M3 - Landing Page</title>
|
||||
</head>
|
||||
<body>
|
||||
<header class="header">
|
||||
<a href="/">
|
||||
<img class="header-logo" src="./assets/images/logoM3.png" alt="Logo M3-Academy">
|
||||
</a>
|
||||
</header>
|
||||
<main>
|
||||
<section class="banner">
|
||||
<img class="banner-img main-banner-desktop" src="./assets/images/banner-principal.png" alt="Banner Principal Desktop" />
|
||||
<img class="banner-img main-banner-mobile " src="./assets/images/banner-principal-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-img" src="./assets/images/computers.png" alt="Monitores">
|
||||
</section>
|
||||
|
||||
<section class="top-cards">
|
||||
<div class="top-card">
|
||||
<img class="top-card-img" src="./assets/images/top-card1.png" alt="Imagem do Primeiro Card" />
|
||||
<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-img" src="./assets/images/top-card2.png" alt="Imagem do Segundo Card" />
|
||||
<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-img" src="./assets/images/top-card3.png" alt="Imagem do Terceiro Card" />
|
||||
<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="midle-banner">
|
||||
<img class="midle-banner-img midle-banner-desktop" src="./assets/images/midle-banner-principal.png" alt="Banner do Meio Principal Desktop" />
|
||||
<img class="midle-banner-img midle-banner-mobile " src="./assets/images/midle-banner-principal-mobile.png" alt="Banner do Meio Mobile" />
|
||||
</section>
|
||||
|
||||
<section class="bottom-cards">
|
||||
<div class="bottom-cards-wrapper">
|
||||
<div class="bottom-card">
|
||||
<img class="bottom-card-img" src="./assets/images/bottom-card1.png" alt="Card de Método de Pagamento: Dinheiro"/>
|
||||
<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-img" src="./assets/images/bottom-card2.png" alt="Card de Método de Compra: Desktop"/>
|
||||
<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-img" src="./assets/images/bottom-card3.png" alt="Card de Método de Pagamento: Pix"/>
|
||||
<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-img" src="./assets/images/bottom-card4.png" alt="Card de Método de Compra: Mobile"/>
|
||||
<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-img" src="./assets/images/bottom-infocard-img-desktop.png" alt="Banner de óculos">
|
||||
<div class="bottom-infocard-text">
|
||||
<h1 class="bottom-infocard-title"> Lorem ipsum dolor sit amet</h1>
|
||||
<p class="bottom-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>
|
||||
|
||||
<footer class="footer">
|
||||
<ul class="footer-icons">
|
||||
<li class="footer-icon">
|
||||
<a href="#" target="_blank">
|
||||
<img class="footer-img" src="./assets/images/logo-insta.png" alt="Ícone Instagram"/>
|
||||
</a>
|
||||
</li>
|
||||
<li class="footer-icon">
|
||||
<a href="#">
|
||||
<img class="footer-img" src="/assets/images/logo-face.png" alt="Ícone Facebook">
|
||||
</a>
|
||||
</li>
|
||||
<li class="footer-icon">
|
||||
<a href="#">
|
||||
<img class="footer-img" src="/assets/images/logo-youtube.png" alt="Ícone 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>
|