feat: Criação da Sessão do Footer com banner Desktop e Mobile

This commit is contained in:
José Carlos Lins 2022-10-10 15:00:17 -03:00
parent e128b550a8
commit 710fb0ceab
8 changed files with 148 additions and 10 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 KiB

View File

@ -21,7 +21,7 @@ body{
display: block; display: block;
} }
.main-banner { .main-banner, .footer-banner {
width: 100%; width: 100%;
display: block; display: block;
} }
@ -114,22 +114,77 @@ body{
margin-top: 62px; margin-top: 62px;
} }
/* .middle-banner-image img { .footer-cards {
width: 100%; display: grid;
} */ grid-template-columns: repeat(4, max-content);
gap: 16px;
justify-content: center;
padding-bottom: 108px;
padding-top: 192px;
}
.footer-card {
display: flex;
flex-direction: column;
align-items: center;
background: #FFFFFF;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
padding: 36px 32px 64px;
}
.footer-card-image {
display: block;
margin-bottom: 16px;
}
.footer-card-description {
max-width: 367px;
text-align: center;
line-height: 24px;
font-size: 16px;
}
.section-footer {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
padding-bottom: 116px;
}
.section-footer-text{
width: 28%;
text-align: center;
}
.section-footer-title {
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
.section-footer-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
padding-bottom: 50px;
}
/* RESPONSIVIDADE */ /* RESPONSIVIDADE */
@media screen and (max-width: 414px) { @media screen and (max-width: 414px) {
.main-banner-desktop { .main-banner-desktop, .section-footer-image-desktop {
display: none; display: none;
} }
} }
@media screen and (min-width: 415px) { @media screen and (min-width: 415px) {
.main-banner-mobile, .middle-banner-mobile { .main-banner-mobile, .middle-banner-mobile, .section-footer-image-mobile {
display: none; display: none;
} }
} }
@ -146,7 +201,6 @@ body{
} }
@media screen and (max-width: 1024px) { @media screen and (max-width: 1024px) {
.top-infocard-text { .top-infocard-text {
width: 100%; width: 100%;
@ -168,9 +222,31 @@ body{
width: 100%; width: 100%;
max-width: 240px; max-width: 240px;
} }
.section-footer {
flex-direction: column-reverse;
} }
@media screen and (max-width: 2040px) { .footer-banner {
padding-bottom: 50px;
}
.section-footer-text{
width: 100%;
text-align: center;
padding: 0 32px;
}
.section-footer-title {
font-size: 24px;
line-height: 29px;
padding-bottom: 8px;
}
}
@media screen and (max-width: 1919px) {
.middle-banner { .middle-banner {
max-height: 398px; max-height: 398px;
} }
@ -179,6 +255,24 @@ body{
width: 420px; width: 420px;
margin-top: 46px; margin-top: 46px;
} }
.footer-cards {
display: grid;
grid-template-columns: repeat(2, max-content);
}
}
@media screen and (max-width: 968px){
.footer-cards {
grid-template-columns: 1fr;
padding: 80px 24px 98px;
justify-content: center;
}
.footer-card-description {
max-width: 302px;
font-size: 14px;
}
} }
@media screen and (max-width: 1530px) { @media screen and (max-width: 1530px) {
@ -216,7 +310,7 @@ body{
.banner-grid-3 { .banner-grid-3 {
grid-area: banner-grid-3; grid-area: banner-grid-3;
margin-top: 24px; margin-top: 18px;
} }
.middle-banner-image { .middle-banner-image {

View File

@ -64,5 +64,49 @@
<div class="banner-grid-2"><img class="middle-banner-image" src="./assets/images/banner-middle-02.png" alt="Banner Segundo Computador"></div> <div class="banner-grid-2"><img class="middle-banner-image" src="./assets/images/banner-middle-02.png" alt="Banner Segundo Computador"></div>
<div class="banner-grid-3"><img class="middle-banner-image" src="./assets/images/banner-middle-03.png" alt="Banner Terceiro Computador"></div> <div class="banner-grid-3"><img class="middle-banner-image" src="./assets/images/banner-middle-03.png" alt="Banner Terceiro Computador"></div>
</div> </div>
<section class="footer-cards">
<div class="footer-card">
<img class="footer-card-image" src="./assets/images/infocard-footer-image-01.png" alt="Imagem do Primeiro Card do Rodapé">
<p class="footer-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="footer-card">
<img class="footer-card-image" src="./assets/images/infocard-footer-image-02.png" alt="Imagem do Segundo Card do Rodapé">
<p class="footer-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="footer-card">
<img class="footer-card-image" src="./assets/images/infocard-footer-image-03.png" alt="Imagem do Terceiro Card do Rodapé">
<p class="footer-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="footer-card">
<img class="footer-card-image" src="./assets/images/infocard-footer-image-04.png" alt="Imagem do Quarto Card do Rodapé">
<p class="footer-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>
</section>
<section class="section-footer">
<div class="section-footer-text">
<h2 class="section-footer-title">Lorem ipsum dolor sit amet</h2>
<p class="section-footer-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>
<img class="footer-banner section-footer-image-desktop" src="./assets/images/retangulo-footer-image-desktop.png" alt="Imagem Retangulo do Footer" />
<img class="footer-banner section-footer-image-mobile" src="./assets/images/retangulo-footer-image-mobile.png" alt="Imagem Retangulo do Footer" />
</section>
</body> </body>
</html> </html>