feat(home): Adiciona Infocard de Baixo desktop e mobile

This commit is contained in:
Savio Carvalho Moraes 2022-10-12 16:16:13 -03:00
parent 384181c558
commit 37f819373a
4 changed files with 69 additions and 1 deletions

View File

@ -127,7 +127,7 @@ body {
display: grid; display: grid;
grid-template-columns: repeat(4, 1fr); grid-template-columns: repeat(4, 1fr);
gap: 16px; gap: 16px;
margin: 0 auto 72px; margin: 0 auto 0;
width: 92%; width: 92%;
} }
@ -153,10 +153,41 @@ body {
text-align: center; text-align: center;
} }
.bottom-infocard {
display: flex;
flex-direction: column;
align-items: center;
padding: 108px 280px 0px;
}
.bottom-infocard-text {
margin-bottom: 50px;
max-width: 41%;
}
.bottom-infocard-subtitle {
font-weight: 600;
font-size: 32px;
line-height: 39px;
text-align: center;
}
.bottom-infocard-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
text-align: center;
}
.bottom-banner-desktop {
width: 100%;
}
@media screen and (max-width: 1024px) { @media screen and (max-width: 1024px) {
.main-banner-desktop { .main-banner-desktop {
display: none; display: none;
} }
.bottom-banner-desktop {
display: none;
}
.top-infocard { .top-infocard {
padding: 73px 32px 90px; padding: 73px 32px 90px;
margin: 0 auto 0; margin: 0 auto 0;
@ -211,9 +242,28 @@ body {
.bottom-card-description { .bottom-card-description {
font-size: 14px; font-size: 14px;
} }
.bottom-infocard {
flex-direction: column-reverse;
margin: 0;
padding: 0;
width: 100%;
}
.bottom-infocard-text {
margin-top: 50px;
max-width: 100%;
margin: 50px 32px 88px;
}
.bottom-infocard-subtitle {
font-size: 24px;
line-height: 29px;
margin-bottom: 9px;
}
} }
@media screen and (min-width: 1024px) { @media screen and (min-width: 1024px) {
.main-banner-mobile { .main-banner-mobile {
display: none; display: none;
} }
.bottom-banner-mobile {
display: none;
}
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 KiB

View File

@ -146,6 +146,24 @@
</figure> </figure>
</section> </section>
<section class="bottom-infocard">
<div class="bottom-infocard-text">
<h2 class="bottom-infocard-subtitle">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>
<figure>
<img class="bottom-banner bottom-banner-desktop"
src="./assets/imagens/bottom-infocard-image-desktop.png" alt="Banner do Infocard de Baixo Desktop">
</figure>
<figure>
<img class="bottom-banner bottom-banner-mobile" src="./assets/imagens/bottom-infocard-image-mobile.png"
alt="Banner do Infocard de Baixo Mobile">
</figure>
</section>
</main> </main>
</body> </body>