feature/landingPage #1

Merged
cainamilech merged 14 commits from feature/landingPage into main 2022-10-12 22:14:24 +00:00
6 changed files with 89 additions and 19 deletions
Showing only changes of commit 89936110ae - Show all commits

View File

@ -1,7 +1,7 @@
Primeiro desafio do treinamento da M3 Academy, uma landing page usando apenas HTML e CSS, com responsividade para todos os tipos de dispositivos.
# challenge-landing-page
## Getting started
To make it easy for you to get started with GitLab, here's a list of recommended next steps.

View File

@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M17.9993 0.0049936L14.887 0C11.3905 0 9.13087 2.31828 9.13087 5.90643V8.62969H6.00163C5.73123 8.62969 5.51226 8.84891 5.51226 9.11932V13.065C5.51226 13.3354 5.73148 13.5544 6.00163 13.5544H9.13087V23.5106C9.13087 23.781 9.34984 24 9.62025 24H13.703C13.9734 24 14.1924 23.7808 14.1924 23.5106V13.5544H17.8512C18.1216 13.5544 18.3406 13.3354 18.3406 13.065L18.3421 9.11932C18.3421 8.98948 18.2904 8.86514 18.1988 8.77326C18.1071 8.68138 17.9823 8.62969 17.8525 8.62969H14.1924V6.32115C14.1924 5.21157 14.4568 4.64829 15.9022 4.64829L17.9988 4.64755C18.2689 4.64755 18.4879 4.42833 18.4879 4.15817V0.494367C18.4879 0.224462 18.2692 0.00549296 17.9993 0.0049936Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 787 B

View File

@ -0,0 +1,5 @@
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M17.3766 0H6.62295C2.97106 0 0 3.095 0 6.89905V18.1008C0 21.905 2.97106 24.9999 6.62295 24.9999H17.3766C21.0288 24.9999 23.9999 21.9049 23.9999 18.1008V6.89905C24 3.095 21.0288 0 17.3766 0ZM21.8706 18.1008C21.8706 20.6819 19.8547 22.7817 17.3768 22.7817H6.62295C4.1452 22.7819 2.12938 20.6819 2.12938 18.1008V6.89905C2.12938 4.31806 4.1452 2.21811 6.62295 2.21811H17.3766C19.8545 2.21811 21.8705 4.31806 21.8705 6.89905V18.1008H21.8706Z" fill="white"/>
<path d="M11.9999 6.05847C8.58992 6.05847 5.81576 8.94822 5.81576 12.5003C5.81576 16.0522 8.58992 18.9418 11.9999 18.9418C15.4099 18.9418 18.1841 16.0522 18.1841 12.5003C18.1841 8.94822 15.4099 6.05847 11.9999 6.05847ZM11.9999 16.7236C9.7642 16.7236 7.94514 14.829 7.94514 12.5002C7.94514 10.1711 9.76406 8.27643 11.9999 8.27643C14.2358 8.27643 16.0547 10.1711 16.0547 12.5002C16.0547 14.829 14.2356 16.7236 11.9999 16.7236Z" fill="white"/>
<path d="M18.4435 4.17761C18.0333 4.17761 17.6303 4.35062 17.3405 4.65377C17.0494 4.95543 16.882 5.37539 16.882 5.80422C16.882 6.23173 17.0495 6.65154 17.3405 6.95468C17.6301 7.25635 18.0333 7.43084 18.4435 7.43084C18.8552 7.43084 19.2569 7.25635 19.548 6.95468C19.839 6.65154 20.0051 6.23158 20.0051 5.80422C20.0051 5.37539 19.839 4.95543 19.548 4.65377C19.2584 4.35062 18.8552 4.17761 18.4435 4.17761Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M22.98 5.34C22.329 4.182 21.6225 3.969 20.184 3.888C18.747 3.7905 15.1335 3.75 12.003 3.75C8.8665 3.75 5.2515 3.7905 3.816 3.8865C2.3805 3.969 1.6725 4.1805 1.0155 5.34C0.345 6.4965 0 8.4885 0 11.9955C0 11.9985 0 12 0 12C0 12.003 0 12.0045 0 12.0045V12.0075C0 15.4995 0.345 17.5065 1.0155 18.651C1.6725 19.809 2.379 20.019 3.8145 20.1165C5.2515 20.2005 8.8665 20.25 12.003 20.25C15.1335 20.25 18.747 20.2005 20.1855 20.118C21.624 20.0205 22.3305 19.8105 22.9815 18.6525C23.658 17.508 24 15.501 24 12.009C24 12.009 24 12.0045 24 12.0015C24 12.0015 24 11.9985 24 11.997C24 8.4885 23.658 6.4965 22.98 5.34ZM9 16.5V7.5L16.5 12L9 16.5Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 759 B

View File

@ -185,6 +185,7 @@ body {
.article-figure{
text-align: center;
margin-top: 50px;
margin-bottom: 116px;
width: 70.83%;
}
@ -196,6 +197,39 @@ body {
width: 100%;
}
.footer{
background: #000;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.footer-content{
width: 20.67%;
margin-bottom: 38px;
margin-top: 38px;
}
.social-medias{
display: flex;
flex-direction: row;
gap: 20px;
justify-content: center;
}
.footer-text{
margin-top: 16px;
}
.footer-copyright{
font-size: 10px;
line-height: 12px;
text-transform: uppercase;
color: #BDBDBD;
}
/*4k*/
@media screen and (min-width: 2500px) {
.top-infocard-subtitle{
@ -234,6 +268,10 @@ body {
line-height: 48px;
}
.footer-copyright{
font-size: 20px;
line-height: 24px;
}
}
/*MOBILE* */

View File

@ -22,10 +22,11 @@
</header>
<main>
<div>
<img class="main-banner banner-main-desktop" src="/assets/images/banner-top-desktop.png" alt="Banner principal desktop">
<img class="main-banner banner-main-mobile" src="/assets/images/banner-top-mobile.png" alt="Banner principal mobile">
<div>
<img class="main-banner banner-main-desktop" src="/assets/images/banner-top-desktop.png" alt="Banner principal desktop" />
<img class="main-banner banner-main-mobile" src="/assets/images/banner-top-mobile.png" alt="Banner principal mobile" />
</div>
<section class="top-infocard">
@ -45,53 +46,53 @@
</section>
<div class="network">
<img class="network-image" src="assets/images/network.svg" alt="Ilustração de computadores">
<img class="network-image" src="assets/images/network.svg" alt="Ilustração de computadores" />
</div>
<div class="cards">
<div class="card">
<img class="card-icon" src="/assets/images/shop.svg" alt="Icone de loja">
<img class="card-icon" src="/assets/images/shop.svg" alt="Icone de loja" />
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.</p>
</div>
<div class="card">
<img class="card-icon" src="/assets/images/bag.svg" alt="Icone de sacola de compras">
<img class="card-icon" src="/assets/images/bag.svg" alt="Icone de sacola de compras" />
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.</p>
</div>
<div class="card">
<img class="card-icon" src="/assets/images/coin.svg" alt="Icone de pagamento">
<img class="card-icon" src="/assets/images/coin.svg" alt="Icone de pagamento" />
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.</p>
</div>
</div>
<figure class="notebooks">
<img class="notebook2" src="/assets/images/notebook2.png" alt="Notebook 2">
<img class="notebook2" src="/assets/images/notebook2.png" alt="Notebook 2" />
<img class="notebook1" src="/assets/images/notebook1.png" alt="Notebook 1">
<img class="notebook1" src="/assets/images/notebook1.png" alt="Notebook 1" />
<img class="notebook3" src="/assets/images/notebook3.png" alt="Notebook 3">
<img class="notebook3" src="/assets/images/notebook3.png" alt="Notebook 3" />
</figure>
<div class="cards-bottom">
<div class="card-bottom">
<img class="card-bottom-icon" src="/assets/images/money.svg" alt="Icone de dinheiro">
<img class="card-bottom-icon" src="/assets/images/money.svg" alt="Icone de dinheiro" />
<p class="card-bottom-text">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="card-bottom">
<img class="card-bottom-icon" src="/assets/images/coin2.svg" alt="Icone de pagamento">
<img class="card-bottom-icon" src="/assets/images/coin2.svg" alt="Icone de pagamento" />
<p class="card-bottom-text">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="card-bottom">
<img class="card-bottom-icon" src="/assets/images/laptop.svg" alt="Icone de laptop">
<img class="card-bottom-icon" src="/assets/images/laptop.svg" alt="Icone de laptop" />
<p class="card-bottom-text">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="card-bottom">
<img class="card-bottom-icon smartphone" src="/assets/images/smartphone.svg" alt="Icone de smartphone">
<img class="card-bottom-icon smartphone" src="/assets/images/smartphone.svg" alt="Icone de smartphone" />
<p class="card-bottom-text">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>
@ -99,7 +100,7 @@
<article class="article">
<figure class="article-figure-mobile">
<img class="article-banner-mobile" src="/assets/images/banner-article-mobile.png" alt="Banner de computadores">
<img class="article-banner-mobile" src="/assets/images/banner-article-mobile.png" alt="Banner de computadores" />
</figure>
<div class="article-text">
@ -115,10 +116,30 @@
</div>
<figure class="article-figure">
<img class="article-banner-desktop" src="/assets/images/banner-article-desktop.png" alt="Banner de computadores">
<img class="article-banner-desktop" src="/assets/images/banner-article-desktop.png" alt="Banner de computadores" />
</figure>
</article>
</main>
<footer class="footer">
<div class="footer-content">
<div class="social-medias">
<a href="#">
<img src="/assets/images/instagram.svg" alt="Icone do Instagram">
</a>
<a href="#">
<img src="/assets/images/facebook.svg" alt="Icone do Facebook">
</a>
<a href="#">
<img src="/assets/images/youtube.svg" alt="Icone do Youtube">
</a>
</div>
<div class="footer-text">
<p class="footer-copyright">Copyright © 2020 - Loja Comércio Eletrônico CNPJ: 000.000.000/0001-00</p>
</div>
</div>
</footer>
</body>
</html>