feat(main): Adiciona os cards de baixo desktop

This commit is contained in:
Juan Guzzo Santana 2022-10-13 21:42:20 -03:00
parent 53135c486c
commit 37da6069d9
6 changed files with 166 additions and 84 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -1,104 +1,154 @@
<!DOCTYPE html>
<html lang="pr-BR">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<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" />
<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 Challenge</title>
<title>M3 Landing Page Challenge</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="./styles/main.css" />
</head>
<link rel="stylesheet" href="./styles/main.css" />
</head>
<body>
<!--Cabeçalho-->
<header class="page-header">
<figure>
<a href="./">
<img class="header-logo" src="./assets/svg/header-logo.svg" alt="Logo da M3 Academy" />
</a>
</figure>
</header>
<main>
<!--Banner Principal-->
<figure>
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png"
alt="Banner principal: Um notebook rodando um aplicativo de programação" />
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png"
alt="Banner principal: Um notebook rodando um aplicativo de programação" />
</figure>
<!--Primeiro Infocard-->
<article 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>
<figure class="top-infocard-figure">
<img class="top-infocard-image" src="./assets/images/top-infocard.png"
alt="Imagem de três computadores interligados">
<body>
<!--Cabeçalho-->
<header class="page-header">
<figure>
<a href="./">
<img class="header-logo" src="./assets/svg/header-logo.svg" alt="Logo da M3 Academy" />
</a>
</figure>
</article>
</header>
<!--Cards de Cima-->
<section class="top-cards">
<figure class="top-card">
<img class="top-card-image" src="./assets/images/top-card-image-01.png" alt="Icone representando loja" />
<figcaption class="top-cards-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</figcaption>
<main>
<!--Banner Principal-->
<figure>
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png"
alt="Banner principal: Um notebook rodando um aplicativo de programação" />
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png"
alt="Banner principal: Um notebook rodando um aplicativo de programação" />
</figure>
<figure class="top-card">
<img class="top-card-image" src="./assets/images/top-card-image-02.png" alt="Icone de sacola de compras" />
<!--Primeiro Infocard-->
<article 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>
<figcaption class="top-cards-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</figcaption>
</figure>
<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>
<figure class="top-card">
<img class="top-card-image" src="./assets/images/top-card-image-03.png" alt="Icone de mão com dinheiro" />
<figcaption class="top-cards-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</figcaption>
</figure>
</section>
<!--Banner do Meio-->
<section class="middle-banners">
<div class="middle-banners-wrapper">
<figure class="middle-banner middle-banner-fig-01">
<img class="middle-banner-image" src="./assets/images/middle-banner-image-01.png" alt="Macbook quase fechado">
<figure class="top-infocard-figure">
<img class="top-infocard-image" src="./assets/images/top-infocard.png"
alt="Imagem de três computadores interligados">
</figure>
<figure class="middle-banner middle-banner-fig-02">
<img class="middle-banner-image" src="./assets/images/middle-banner-image-02.png" alt="Macbook semi-aberto">
</article>
<!--Cards de Cima-->
<section class="top-cards">
<figure class="top-card">
<img class="top-card-image" src="./assets/images/top-card-image-01.png"
alt="Icone representando loja" />
<figcaption class="top-cards-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla
interdum.
</figcaption>
</figure>
<figure class="middle-banner middle-banner-fig-03">
<img class="middle-banner-image" src="./assets/images/middle-banner-image-03.png" alt="Close do Macbook">
<figure class="top-card">
<img class="top-card-image" src="./assets/images/top-card-image-02.png"
alt="Icone de sacola de compras" />
<figcaption class="top-cards-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla
interdum.
</figcaption>
</figure>
</div>
</section>
</main>
</body>
<figure class="top-card">
<img class="top-card-image" src="./assets/images/top-card-image-03.png"
alt="Icone de mão com dinheiro" />
<figcaption class="top-cards-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla
interdum.
</figcaption>
</figure>
</section>
<!--Banner do Meio-->
<section class="middle-banners">
<div class="middle-banners-wrapper">
<figure class="middle-banner middle-banner-fig-01">
<img class="middle-banner-image" src="./assets/images/middle-banner-image-01.png"
alt="Macbook quase fechado">
</figure>
<figure class="middle-banner middle-banner-fig-02">
<img class="middle-banner-image" src="./assets/images/middle-banner-image-02.png"
alt="Macbook semi-aberto">
</figure>
<figure class="middle-banner middle-banner-fig-03">
<img class="middle-banner-image" src="./assets/images/middle-banner-image-03.png"
alt="Close do Macbook">
</figure>
</div>
</section>
<section class="bottom-cards">
<figure class="bottom-card">
<img class="bottom-card-image" src="./assets/images/bottom-card-image-01.png" alt="" />
<figcaption 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.
</figcaption>
</figure>
<figure class="bottom-card">
<img class="bottom-card-image" src="./assets/images/bottom-card-image-02.png" alt="" />
<figcaption 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.
</figcaption>
</figure>
<figure class="bottom-card">
<img class="bottom-card-image" src="./assets/images/bottom-card-image-03.png" alt="" />
<figcaption 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.
</figcaption>
</figure>
<figure class="bottom-card">
<img class="bottom-card-image" src="./assets/images/bottom-card-image-04.png" alt="" />
<figcaption 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.
</figcaption>
</figure>
</section>
</main>
</body>
</html>

View File

@ -118,6 +118,7 @@ body {
gap: 2%;
position: relative;
top: 8vh;
margin-bottom: 17vh;
}
.middle-banner {
@ -129,6 +130,37 @@ body {
width: 100%
}
/* Cards de Baixo */
.bottom-cards {
width: 100%;
display: flex;
justify-content: center;
gap: 1%;
}
.bottom-card {
width: 22%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: #FFFFFF;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.bottom-card-image {
width: 22%;
margin: 10% 0 5%
}
.bottom-card-description {
width: 85%;
font-size: 16px;
line-height: 24px;
text-align: center;
}
/* Responsividade */
@media screen and (min-width: 821px) {
.main-banner-mobile {