Adiciona os cards do Topo desktop, mobile e telas grandes

This commit is contained in:
Sabrina Miranda 2022-10-09 14:26:02 -03:00
parent a923da24d6
commit bd14b534f4
5 changed files with 144 additions and 5 deletions

View File

@ -0,0 +1,13 @@
<svg width="104" height="103" viewBox="0 0 104 103" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_2_145)">
<path d="M73.8313 54.6077H96.5312V75.8331H73.8313V54.6077Z" fill="#00C8FF"/>
<path d="M7.79743 54.6077H30.4974V75.8331H7.79743V54.6077Z" fill="#00C8FF"/>
<path d="M41.5493 54.6077H62.7793V89.3419H41.5493V54.6077Z" fill="#00C8FF"/>
<path d="M95.8333 11.35H8.49535C4.30542 11.35 0.896729 14.7589 0.896729 18.9486V33.5697C0.896729 37.2557 2.85952 40.4918 5.79479 42.288V90.0041C5.79479 91.1102 6.69137 92.0067 7.79743 92.0067H96.5312C97.6373 92.0067 98.5339 91.1102 98.5339 90.0041V42.288C101.469 40.4918 103.432 37.2557 103.432 33.5697V18.9486C103.432 14.7589 100.023 11.35 95.8333 11.35ZM83.005 33.5697C83.005 36.9928 80.2201 39.7777 76.7968 39.7777C73.3735 39.7777 70.5886 36.9928 70.5886 33.5697V15.3553H83.005V33.5697ZM66.5833 33.5697C66.5833 36.9928 63.7985 39.7777 60.3752 39.7777C56.9518 39.7777 54.167 36.9928 54.167 33.5697V15.3553H66.5833V33.5697ZM50.1617 33.5697C50.1617 36.9928 47.3768 39.7777 43.9535 39.7777C40.5302 39.7777 37.7453 36.9928 37.7453 33.5697V15.3553H50.1617V33.5697ZM33.74 33.5697C33.74 36.9928 30.9552 39.7777 27.5319 39.7777C24.1085 39.7777 21.3237 36.9928 21.3237 33.5697V15.3553H33.74V33.5697ZM4.90201 18.9486C4.90201 16.9672 6.51414 15.3553 8.49535 15.3553H17.3184V33.5697C17.3184 36.9928 14.5335 39.7777 11.1102 39.7777C7.68688 39.7777 4.90201 36.9928 4.90201 33.5697V18.9486ZM94.5286 88.0015H9.80007V43.6994C10.229 43.7545 10.6664 43.7831 11.1102 43.7831C14.4714 43.7831 17.4588 42.151 19.321 39.6377C21.1833 42.151 24.1706 43.7831 27.5319 43.7831C30.8931 43.7831 33.8804 42.151 35.7427 39.6377C37.6049 42.151 40.5923 43.7831 43.9535 43.7831C47.3147 43.7831 50.3021 42.151 52.1643 39.6377C54.0266 42.151 57.0139 43.7831 60.3752 43.7831C63.7364 43.7831 66.7237 42.151 68.586 39.6377C70.4482 42.151 73.4356 43.7831 76.7968 43.7831C80.1581 43.7831 83.1454 42.151 85.0076 39.6377C86.8699 42.151 89.8572 43.7831 93.2185 43.7831C93.6623 43.7831 94.0996 43.7547 94.5286 43.6994V88.0015ZM99.4267 33.5697C99.4267 36.9928 96.6418 39.7777 93.2185 39.7777C89.7952 39.7777 87.0103 36.9928 87.0103 33.5697V15.3553H95.8333C97.8147 15.3553 99.4267 16.9672 99.4267 18.9486V33.5697Z" fill="black"/>
</g>
<defs>
<clipPath id="clip0_2_145">
<rect width="102.535" height="102.535" fill="white" transform="translate(0.896729 0.410767)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -0,0 +1,12 @@
<svg width="102" height="103" viewBox="0 0 102 103" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_2_133)">
<path d="M63.7912 95.3056H18.2303V26.7631H28.9V37.1243C28.9 38.2353 29.7919 39.136 30.8922 39.136C31.9923 39.136 32.8844 38.2353 32.8844 37.1243V26.7631H60.2063V37.1243C60.2063 38.2353 61.0984 39.136 62.1985 39.136C63.2985 39.136 64.1906 38.2353 64.1906 37.1243V26.7631H74.5273V48.0779H78.5117V24.7514C78.5117 23.6403 77.6196 22.7397 76.5195 22.7397H64.1906V17.7287C64.1906 7.95313 56.2751 0 46.5454 0C44.3154 0 42.1806 0.417834 40.2145 1.17967C38.2484 0.417834 36.1135 0 33.8835 0C24.1537 0 16.2381 7.95313 16.2381 17.7287V22.7395H3.90924C2.80915 22.7395 1.91705 23.6401 1.91705 24.7512V89.7613C1.91705 95.0368 6.17416 99.3288 11.4068 99.3288H69.8044C67.8365 98.2564 65.7517 96.925 63.7912 95.3056ZM46.5454 4.02344C54.0781 4.02344 60.2063 10.1717 60.2063 17.7287V22.7395H51.5287V17.7287C51.5287 12.2528 49.045 7.34901 45.1501 4.09425C45.6089 4.04758 46.0745 4.02344 46.5454 4.02344ZM40.2145 5.58614C44.5682 7.8801 47.5445 12.4624 47.5445 17.7289V22.7397H32.8844V17.7287C32.8844 12.4622 35.8607 7.8801 40.2145 5.58614ZM20.2225 17.7287C20.2225 10.1717 26.3508 4.02344 33.8835 4.02344C34.3544 4.02344 34.8198 4.04738 35.2786 4.09445C31.3837 7.34901 28.8998 12.253 28.8998 17.7289V22.7397H20.2223V17.7287H20.2225ZM14.2459 95.3056H11.4068C8.37114 95.3056 5.90143 92.8185 5.90143 89.7615V26.7631H14.2459V95.3056Z" fill="black"/>
<path d="M93.7992 54.7374C87.7766 54.7374 82.582 51.191 80.165 46.0659H73.082C70.6651 51.1908 65.4705 54.7374 59.4479 54.7374C57.2051 54.7374 55.0772 54.2452 53.1641 53.3634V78.4196C53.1641 96.7462 76.6235 103 76.6235 103C76.6235 103 100.083 96.7462 100.083 78.4196V53.3634C98.1698 54.2452 96.0418 54.7374 93.7992 54.7374Z" fill="#00C8FF"/>
<path d="M75.8532 81.6053C75.328 81.6053 74.8228 81.3957 74.4487 81.0201L70.1193 76.673C69.3389 75.8894 69.3353 74.6158 70.1113 73.828C70.8868 73.04 72.1483 73.0364 72.9286 73.82L75.7249 76.6275L82.99 67.9301C83.6996 67.0807 84.9563 66.9733 85.7972 67.6895C86.6383 68.4058 86.7451 69.675 86.0354 70.5244L77.3762 80.891C77.0172 81.3207 76.4968 81.579 75.9406 81.6035C75.9113 81.6047 75.8825 81.6053 75.8532 81.6053Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_2_133">
<rect width="102" height="103" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -0,0 +1,6 @@
<svg width="102" height="103" viewBox="0 0 102 103" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M71.4307 52.9719C81.8615 52.9719 90.3174 44.4332 90.3174 33.9C90.3174 23.3669 81.8615 14.8281 71.4307 14.8281C60.9998 14.8281 52.5439 23.3669 52.5439 33.9C52.5439 44.4332 60.9998 52.9719 71.4307 52.9719Z" fill="#00C8FF"/>
<path d="M71.4307 63.8352C87.7768 63.8352 101.075 50.4064 101.075 33.9003C101.075 17.3939 87.7768 3.96509 71.4307 3.96509C55.0846 3.96509 41.7861 17.3939 41.7861 33.9003C41.7861 50.4064 55.0846 63.8352 71.4307 63.8352ZM71.4307 7.98853C85.5796 7.98853 97.0909 19.6124 97.0909 33.9003C97.0909 48.1879 85.5798 59.8118 71.4307 59.8118C57.2818 59.8118 45.7705 48.1879 45.7705 33.9003C45.7705 19.6124 57.2816 7.98853 71.4307 7.98853Z" fill="black"/>
<path d="M68.085 38.9238C67.3947 38.0585 66.1408 37.9223 65.2837 38.6192C64.4269 39.3163 64.292 40.5826 64.9821 41.4479C66.0804 42.8245 67.6548 43.6067 69.2231 43.9814C69.3066 45.0149 70.1636 45.8272 71.2085 45.8272C72.204 45.8272 73.029 45.0899 73.177 44.1265C75.9828 43.6207 77.9517 41.7343 78.2746 39.1662C78.6499 36.183 76.7336 33.3221 73.6147 32.2089C73.4726 32.1582 73.3348 32.1087 73.2007 32.0602V28.1844C73.3666 28.2912 73.4904 28.4079 73.5689 28.5206C74.2004 29.4301 75.4429 29.6503 76.344 29.0118C77.2446 28.3737 77.4624 27.119 76.8303 26.2095C76.1057 25.1664 74.8403 24.2815 73.1995 23.9169C73.164 22.8373 72.2863 21.973 71.2085 21.973C70.1082 21.973 69.2163 22.8737 69.2163 23.9847V24.0521C69.094 24.0845 68.9709 24.1193 68.847 24.1571C66.7556 24.7935 65.1774 26.8388 65.009 29.1313C64.8417 31.4096 66.0358 33.3857 68.2031 34.4177C68.4394 34.5304 68.7846 34.6776 69.2161 34.8512V39.7554C68.7593 39.5478 68.3625 39.2716 68.085 38.9238ZM74.3219 38.6592C74.2478 39.2485 73.8527 39.6985 73.2007 39.9652V36.4707C74.0759 37.0915 74.4086 37.9712 74.3219 38.6592ZM68.9828 29.4289C69.0018 29.1693 69.087 28.9122 69.2165 28.6877V30.2609C69.0362 30.0249 68.9591 29.7489 68.9828 29.4289Z" fill="white"/>
<path d="M101.992 72.3911C101.887 69.9491 100.766 67.8492 98.8342 66.4786C95.6513 64.2197 91.3553 64.612 88.6187 67.4111C88.531 67.5008 88.4517 67.5986 88.3822 67.7034L84.0117 74.2787C82.7881 71.3623 79.9453 69.3136 76.6424 69.3136L45.1993 69.2922H45.198C44.721 69.2922 44.2602 69.4648 43.8988 69.7789L36.0217 76.6221H30.2733V74.854C30.2733 73.743 29.3812 72.8423 28.2811 72.8423H19.5095V72.5671C19.5095 71.456 18.6174 70.5554 17.5173 70.5554H1.99219C0.891902 70.5554 0 71.456 0 72.5671V96.1601C0 97.2712 0.891902 98.1719 1.99219 98.1719H17.5173C18.6174 98.1719 19.5095 97.2712 19.5095 96.1601V95.8849H28.2809C29.381 95.8849 30.2731 94.9843 30.2731 93.8732V92.0156H36.8786L42.846 98.4034C43.2227 98.8066 43.747 99.0347 44.2951 99.0347C44.3045 99.0347 44.3138 99.0347 44.3232 99.0345L85.4646 98.4517C86.1065 98.4426 86.7048 98.1218 87.0715 97.5899L100.143 78.6347C100.152 78.6228 100.16 78.6107 100.168 78.5988C101.433 76.6766 102.081 74.472 101.992 72.3911ZM15.5251 94.1484H3.98438V74.5788H15.5251V94.1484ZM26.2887 91.8617H19.5095V76.8657H26.2887V91.8617ZM96.8612 76.3538L84.3863 94.4433L45.1434 94.9992L39.1875 88.6236C38.811 88.2207 38.2869 87.9924 37.7384 87.9924H30.2733V80.6456H36.7608C37.2378 80.6456 37.6986 80.473 38.0599 80.1589L45.9365 73.3163L76.6411 73.3372C78.8617 73.3372 80.6685 75.1952 80.6685 77.4791C80.6685 79.7628 78.8619 81.6206 76.6411 81.6206C76.6359 81.6206 76.6307 81.6208 76.6255 81.6208H59.4449C58.8982 81.6208 58.3755 81.8478 57.9992 82.2485L53.808 86.7125C53.051 87.5188 53.0846 88.792 53.8831 89.5565C54.2684 89.9252 54.7612 90.1083 55.2533 90.1083C55.7811 90.1083 56.3078 89.8979 56.6995 89.4806L60.3013 85.6443L80.1927 85.6451H80.1933C80.8571 85.6451 81.4775 85.3111 81.8474 84.7545L91.5757 70.119C92.9429 68.8324 95.0052 68.6787 96.5432 69.7706C98.6193 71.2438 98.275 74.1936 96.8612 76.3538Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -20,7 +20,7 @@ body {
display: block;
}
.main-banner{
.main-banner {
width: 100%;
}
@ -54,6 +54,52 @@ body {
font-size: 16px;
}
.top-cards {
display: grid;
grid-template-columns: repeat(3, max(350px));
gap: 20px;
justify-content: center;
padding: 74px 0;
background: #F0F0F0;
}
.top-card {
display: flex;
flex-direction: column;
align-items: center;
padding: 36px 0 26px;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.top-card-image {
display: block;
margin-bottom: 26px;
}
.top-card-description {
max-width: 85%;
text-align: center;
font-size: 16px;
line-height: 24px;
}
@media screen and (max-width: 340px) {
.top-card {
padding: 22px 0 20px;
}
.top-card-image {
margin-bottom: 16px;
max-width: 30%;
}
.top-card-description {
font-size: 14px;
line-height: 22px;
}
}
@media screen and (max-width: 1024px) {
.main-banner-desktop {
display: none;
@ -79,9 +125,18 @@ body {
}
.top-infocard-image {
width: 100%;
max-width: 240px;
}
.top-cards {
grid-template-columns: 1fr;
padding: 36px 26px;
justify-items: center;
}
.top-card {
max-width: 350px;
}
}
@media screen and (min-width: 1025px) {
@ -90,6 +145,12 @@ body {
}
}
@media screen and (min-width: 1025px) and (max-width: 1200px) {
.top-cards {
grid-template-columns: repeat(3, max(300px));
}
}
@media screen and (min-width: 2500px) {
.top-infocard-subtitle {
font-size: 64px;
@ -105,7 +166,27 @@ body {
}
.top-infocard-image {
width: 100%;
min-width: 800px;
width: 800px;
}
}
.top-cards {
grid-template-columns: repeat(3, max(700px));
gap: 30px;
padding: 148px 0;
}
.top-card {
padding: 72px 0 52px;
}
.top-card-image {
margin-bottom: 52px;
width: 100%;
max-width: 200px;
}
.top-card-description {
font-size: 32px;
line-height: 48px;
}
}

View File

@ -45,6 +45,33 @@
<img class="top-infocard-image" src="./assets/images/top-infocard-image.png" alt="Banner do Infocard do Topo"/>
</figure>
</section>
<div class="top-cards">
<figure class="top-card">
<img class="top-card-image" src="./assets/images/top-card-image-01.svg" alt="Imagem do Primeiro Card do Topo"/>
<figcaption class="top-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.</figcaption>
</figure>
<figure class="top-card">
<img class="top-card-image" src="./assets/images/top-card-image-02.svg" alt="Imagem do Segundo Card do Topo"/>
<figcaption class="top-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </figcaption>
</figure>
<figure class="top-card">
<img class="top-card-image" src="./assets/images/top-card-image-03.svg" alt="Imagem do Terceiro Card do Topo"/>
<figcaption class="top-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</figcaption>
</figure>
</div>
</main>
</body>
</html>