Merge pull request 'feat: adiciona o cards inferior' (#10) from feature/bottom_cards into development

Reviewed-on: #10
This commit is contained in:
Rafael Sampaio de Oliveira 2022-10-11 19:44:01 +00:00
commit f0270544cc
5 changed files with 159 additions and 26 deletions

6
assets/images/Group.svg Normal file
View File

@ -0,0 +1,6 @@
<svg width="86" height="104" viewBox="0 0 86 104" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M62.8503 69.9238C62.1676 69.9238 61.492 69.8935 60.8245 69.8346V83.7216H4.66959V17.1732H60.8245V28.4152C61.492 28.3563 62.1676 28.326 62.8503 28.326C63.5329 28.326 64.2085 28.3563 64.876 28.4152V9.77092C64.876 4.38323 60.4883 0 55.095 0H10.3991C5.00586 0 0.618164 4.38323 0.618164 9.77092V94.2108C0.618164 99.6086 4.99755 104 10.3807 104H55.1135C60.4966 104 64.876 99.6086 64.876 94.2108V69.8346C64.2087 69.8937 63.5329 69.9238 62.8503 69.9238ZM4.66959 9.77092C4.66959 6.62309 7.23981 4.0625 10.3991 4.0625H55.095C58.2543 4.0625 60.8245 6.62309 60.8245 9.77092V13.1107H4.66959V9.77092ZM60.8245 94.2108C60.8245 97.3686 58.2626 99.9375 55.1135 99.9375H10.3807C7.23171 99.9375 4.66959 97.3686 4.66959 94.2108V87.7841H60.8245V94.2108Z" fill="black"/>
<path d="M31.3966 95.8921H34.0975C35.2163 95.8921 36.1232 94.9825 36.1232 93.8608C36.1232 92.739 35.2163 91.8296 34.0975 91.8296H31.3966C30.2778 91.8296 29.3709 92.739 29.3709 93.8608C29.3709 94.9825 30.2778 95.8921 31.3966 95.8921Z" fill="black"/>
<path d="M62.8502 26.2947C50.2758 26.2947 40.0824 36.5162 40.0824 49.125C40.0824 54.1306 41.689 58.7596 44.4132 62.5225L40.0824 71.2623L52.6667 69.5496C55.731 71.0887 59.1897 71.955 62.8502 71.955C75.4246 71.955 85.6182 61.7335 85.6182 49.125C85.6182 36.5164 75.4246 26.2947 62.8502 26.2947Z" fill="#0336DB"/>
<path d="M65.0226 55.0342H64.8759V47.5356H65.0226C66.1414 47.5356 67.0483 46.6261 67.0483 45.5044C67.0483 44.3827 66.1414 43.4731 65.0226 43.4731H60.6781C59.5593 43.4731 58.6523 44.3827 58.6523 45.5044C58.6523 46.6261 59.5593 47.5356 60.6781 47.5356H60.8247V55.0342H60.6781C59.5593 55.0342 58.6523 55.9438 58.6523 57.0655C58.6523 58.1871 59.5593 59.0967 60.6781 59.0967H65.0226C66.1414 59.0967 67.0483 58.1871 67.0483 57.0655C67.0483 55.9438 66.1414 55.0342 65.0226 55.0342Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

14
assets/images/laptop.svg Normal file
View File

@ -0,0 +1,14 @@
<svg width="104" height="104" viewBox="0 0 104 104" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_59_1008)">
<path d="M45.8327 62.512V43.6035C45.8327 42.4816 44.9233 41.5722 43.8015 41.5722H38.1581V40.5101C38.1581 36.7803 35.1077 33.7456 31.3585 33.7456C27.6092 33.7456 24.559 36.7801 24.559 40.5101V41.5722H18.95C17.8281 41.5722 16.9187 42.4816 16.9187 43.6035V62.512C16.9187 66.0242 19.7761 68.8816 23.2883 68.8816H39.4633C42.9754 68.8816 45.8327 66.0242 45.8327 62.512ZM28.6217 40.5103C28.6217 39.0204 29.8496 37.8083 31.3587 37.8083C32.8679 37.8083 34.0958 39.0204 34.0958 40.5103V41.5724H28.6217V40.5103ZM20.9812 62.512V45.6347H24.5592V47.67C24.5592 48.7917 25.4686 49.7013 26.5905 49.7013C27.7124 49.7013 28.6217 48.7917 28.6217 47.67V45.6347H34.0958V47.67C34.0958 48.7917 35.0052 49.7013 36.127 49.7013C37.2489 49.7013 38.1583 48.7917 38.1583 47.67V45.6347H41.7704V62.512C41.7704 63.7841 40.7355 64.8191 39.4635 64.8191H23.2883C22.0161 64.8191 20.9812 63.7841 20.9812 62.512Z" fill="black"/>
<path d="M101.969 75.9619H100.063V17.3906C100.063 12.8268 96.3499 9.11383 91.7861 9.11383H12.2139C7.65009 9.11383 3.93717 12.8268 3.93717 17.3906V75.9619H2.03125C0.909391 75.9619 0 76.8715 0 77.9931V85.5912C0 90.7165 4.16955 94.8862 9.2948 94.8862H94.705C99.8302 94.8862 104 90.7167 104 85.5912V77.9931C104 76.8713 103.091 75.9619 101.969 75.9619ZM12.2139 13.1763H91.7861C94.1098 13.1763 96.0003 15.0668 96.0003 17.3906V23.0448H7.99967V17.3906C7.99967 15.0668 9.89016 13.1763 12.2139 13.1763ZM7.99967 27.1073H96.0003V75.9619H66.7028C65.5809 75.9619 64.6715 76.8715 64.6715 77.9931C64.6715 79.2905 63.6161 80.3459 62.3187 80.3459H41.6812C40.3839 80.3459 39.3285 79.2905 39.3285 77.9931C39.3285 76.8715 38.4191 75.9619 37.2972 75.9619H7.99967V27.1073ZM99.9375 85.5912C99.9375 88.4764 97.5902 90.8237 94.7052 90.8237H9.2948C6.40961 90.8237 4.0625 88.4764 4.0625 85.5912V80.0244H35.5954C36.4471 82.5691 38.8533 84.4084 41.681 84.4084H62.3187C65.1465 84.4084 67.5529 82.5691 68.4044 80.0244H99.9375V85.5912Z" fill="black"/>
<path d="M50.859 19.902H53.1409C54.2628 19.902 55.1722 18.9924 55.1722 17.8708C55.1722 16.7491 54.2628 15.8395 53.1409 15.8395H50.859C49.7372 15.8395 48.8278 16.7491 48.8278 17.8708C48.8278 18.9924 49.7372 19.902 50.859 19.902Z" fill="black"/>
<path d="M55.3624 55.2268H87.9032V65.4397H55.3624V55.2268Z" fill="#0336DB"/>
<path d="M55.3624 37.4568H87.9032V47.6698H55.3624V37.4568Z" fill="#0336DB"/>
</g>
<defs>
<clipPath id="clip0_59_1008">
<rect width="104" height="104" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

14
assets/images/money.svg Normal file
View File

@ -0,0 +1,14 @@
<svg width="104" height="104" viewBox="0 0 104 104" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_59_990)">
<path d="M103.987 22.5075C103.985 19.1036 101.215 16.3332 97.8102 16.3317L15.7284 16.3236H15.7255C14.077 16.3236 12.5271 16.9655 11.3616 18.131C10.1955 19.2972 9.55358 20.8478 9.55419 22.4974L9.5552 26.032L6.17419 26.0316H6.17134C4.52278 26.0316 2.97273 26.6734 1.80741 27.839C0.641266 29.0055 -0.000608942 30.5562 4.33492e-07 32.2057L0.0134067 81.4924C0.0146254 84.8964 2.78505 87.6668 6.18983 87.6682L88.2716 87.6761H88.2745C89.923 87.6761 91.4729 87.0343 92.6384 85.8687C93.8046 84.7026 94.4464 83.1519 94.4458 81.5024L94.4448 77.9678L97.8258 77.968H97.8287C99.4772 77.968 101.027 77.3261 102.193 76.1606C103.359 74.9944 104.001 73.4438 104 71.7942L103.987 22.5075ZM89.7656 82.9961C89.3673 83.3945 88.8377 83.6136 88.2743 83.6136C88.2737 83.6134 88.273 83.6134 88.2726 83.6136L6.19084 83.6057C5.02511 83.6051 4.07631 82.6565 4.07591 81.491L4.0625 32.2043C4.0623 31.6405 4.28167 31.1103 4.68 30.7118C5.07833 30.3134 5.60788 30.0943 6.17216 30.0943H6.17317L88.2548 30.1022C89.4205 30.1028 90.3693 31.0516 90.3697 32.2169L90.3831 81.5036C90.3833 82.0674 90.1641 82.5976 89.7656 82.9961ZM99.32 73.288C98.9217 73.6863 98.3921 73.9055 97.8279 73.9055H97.8268L94.4436 73.9053L94.4322 32.2157C94.431 28.8117 91.6604 26.0411 88.2558 26.0399L13.6177 26.0326L13.6167 22.4962C13.6165 21.9323 13.8359 21.4021 14.2342 21.0036C14.6325 20.6053 15.1621 20.3861 15.7263 20.3861H15.7272L97.809 20.394C98.9747 20.3946 99.9235 21.3432 99.9239 22.5088L99.9375 71.7954C99.9377 72.3593 99.7183 72.8895 99.32 73.288Z" fill="black"/>
<path d="M78.2518 76.5467C78.2508 73.7487 80.518 71.4814 83.3159 71.4826L83.3104 42.2304C80.5124 42.2294 78.2432 39.9603 78.2422 37.1622H16.1941C16.1951 39.9603 13.9278 42.2276 11.1299 42.2263L11.1354 71.4785C13.9335 71.4796 16.2026 73.7487 16.2036 76.5467H78.2518Z" fill="#0336DB"/>
<path d="M72.2577 54.9495H65.6194C64.4975 54.9495 63.5881 55.8591 63.5881 56.9808C63.5881 58.1024 64.4975 59.012 65.6194 59.012H72.2577C73.3796 59.012 74.289 58.1024 74.289 56.9808C74.289 55.8589 73.3796 54.9495 72.2577 54.9495Z" fill="white"/>
<path d="M29.1089 54.9495H22.4706C21.3487 54.9495 20.4393 55.8591 20.4393 56.9808C20.4393 58.1024 21.3487 59.012 22.4706 59.012H29.1089C30.2308 59.012 31.1401 58.1024 31.1401 56.9808C31.1401 55.8589 30.2308 54.9495 29.1089 54.9495Z" fill="white"/>
<path d="M51.7563 60.5843C52.5408 60.5843 53.1161 60.7407 53.4821 61.0535C53.8482 61.3664 54.0313 61.8357 54.0313 62.4614C54.0313 63.7475 53.2729 64.3906 51.7563 64.3906H42.6828C41.1662 64.3906 40.4079 63.7475 40.4079 62.4614C40.4079 61.8357 40.5909 61.3664 40.957 61.0535C41.3231 60.7407 41.8983 60.5843 42.6828 60.5843H44.8008V51.1726L42.7089 52.3979C42.4126 52.5717 42.1075 52.6587 41.7937 52.6587C41.3056 52.6587 40.8872 52.4501 40.5386 52.0329C40.1899 51.5984 40.0156 51.1205 40.0156 50.599C40.0156 49.8864 40.3207 49.3476 40.9308 48.9826L45.1146 46.558C45.8816 46.1235 46.6051 45.9062 47.2849 45.9062C47.9822 45.9062 48.5401 46.1148 48.9584 46.532C49.3942 46.9491 49.6121 47.514 49.6121 48.2266V60.5843H51.7563Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_59_990">
<rect width="104" height="104" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -79,14 +79,14 @@ header {
margin-bottom: 90px;
}
.cards {
.top-cards {
display: flex;
justify-content: center;
margin: 90px 0 80px;
width: 100%;
}
.cards-container {
.top-cards-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
justify-content: center;
@ -94,7 +94,7 @@ header {
width: 57%;
}
.cards-container div {
.top-cards-container div {
display: flex;
flex-direction: column;
align-items: center;
@ -104,12 +104,12 @@ header {
width: 100%;
}
.cards-container img {
.top-cards-container img {
display: block;
margin-bottom: 27px;
}
.cards-container p {
.top-cards-container p {
text-align: center;
font-size: 16px;
line-height: 24px;
@ -120,7 +120,7 @@ header {
justify-content: center;
width: 100%;
background: #e0e0e0;
margin-bottom: 95px;
margin-bottom: 190px;
}
.gallery-container {
@ -143,6 +143,42 @@ header {
width: 100%;
}
.bottom-cards {
display: flex;
justify-content: center;
margin-bottom: 108px;
width: 100%;
}
.bottom-cards-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(415px, 1fr));
justify-content: center;
gap: 16px;
width: 92%;
}
.bottom-cards-container div {
display: flex;
flex-direction: column;
align-items: center;
background: #ffffff;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
padding: 35px 32px 65px 32px;
width: 100%;
}
.bottom-cards-container img {
display: block;
margin-bottom: 15px;
}
.bottom-cards-container p {
text-align: center;
font-size: 16px;
line-height: 24px;
}
@media (max-width: 414px) {
.banner-desktop {
display: none;
@ -180,7 +216,7 @@ header {
text-align: center;
}
.cards {
.top-cards {
margin-top: 0;
}
@ -200,17 +236,28 @@ header {
.image03 img {
width: 208%;
}
}
@media (min-width: 350px) and (max-width: 380px) {
.cards-container {
.bottom-cards-container {
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
}
@media (min-width: 280px) and (max-width: 349px) {
.cards-container {
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
@media (min-width: 1623px) and (max-width: 1912px) {
.top-cards-container {
width: 75%;
}
}
@media (min-width: 1264px) and (max-width: 1622px) {
.top-cards-container {
width: 90%;
}
}
@media (min-width: 600px) and (max-width: 1241px) {
.image03 {
position: relative;
left: 54%;
}
}
@ -222,23 +269,24 @@ header {
.gallery-container img {
width: 94%;
}
}
@media (min-width: 600px) and (max-width: 1241px) {
.image03 {
position: relative;
left: 54%;
.bottom-cards-container {
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
}
@media (min-width: 1623px) and (max-width: 1912px) {
.cards-container {
width: 75%;
@media (min-width: 350px) and (max-width: 380px) {
.top-cards-container {
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
}
@media (min-width: 1264px) and (max-width: 1622px) {
.cards-container {
width: 90%;
@media (min-width: 280px) and (max-width: 349px) {
.top-cards-container {
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.bottom-cards-container {
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
}

View File

@ -63,8 +63,8 @@
/>
</figure>
</section>
<div class="cards">
<div class="cards-container">
<div class="top-cards">
<div class="top-cards-container">
<div>
<figure>
<img src="./assets/images/shop.svg" alt="Ícone de loja" />
@ -113,6 +113,57 @@
</figure>
</div>
</div>
<div class="bottom-cards">
<div class="bottom-cards-container">
<div>
<figure>
<img src="./assets/images/money.svg" alt="Ícone de dinheiro" />
</figure>
<p>
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>
<figure>
<img
src="./assets/images/coin.svg"
alt="Ícone de uma moeda sobre uma mão"
/>
</figure>
<p>
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>
<figure>
<img src="./assets/images/laptop.svg" alt="Ícone de um laptop" />
</figure>
<p>
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>
<figure>
<img src="./assets/images/Group.svg" alt="Ícone de um celular" />
</figure>
<p>
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>
</div>
</main>
</body>
</html>