feat: adiciona top card desktop e mobile

This commit is contained in:
Naian Felix dos Santos 2022-10-10 21:25:45 -03:00
parent 9f23f8657a
commit 8484a9dc3f
5 changed files with 98 additions and 1 deletions

View File

@ -0,0 +1,13 @@
<svg width="103" height="103" viewBox="0 0 103 103" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_59_964)">
<path d="M73.2652 54.4426H96.068V75.7642H73.2652V54.4426Z" fill="#0336DB"/>
<path d="M6.93198 54.4426H29.7348V75.7642H6.93198V54.4426Z" fill="#0336DB"/>
<path d="M40.8369 54.4426H62.1631V89.3342H40.8369V54.4426Z" fill="#0336DB"/>
<path d="M95.3669 10.9888H7.63306C3.42415 10.9888 0 14.4131 0 18.6219V33.3092C0 37.012 1.97169 40.2627 4.92026 42.067V89.9995C4.92026 91.1105 5.82091 92.0112 6.93198 92.0112H96.068C97.1791 92.0112 98.0797 91.1105 98.0797 89.9995V42.067C101.028 40.2627 103 37.012 103 33.3092V18.6219C103 14.4131 99.5757 10.9888 95.3669 10.9888ZM82.4805 33.3092C82.4805 36.7479 79.683 39.5453 76.2441 39.5453C72.8053 39.5453 70.0078 36.7479 70.0078 33.3092V15.0122H82.4805V33.3092ZM65.9844 33.3092C65.9844 36.7479 63.1869 39.5453 59.748 39.5453C56.3092 39.5453 53.5117 36.7479 53.5117 33.3092V15.0122H65.9844V33.3092ZM49.4883 33.3092C49.4883 36.7479 46.6908 39.5453 43.252 39.5453C39.8131 39.5453 37.0156 36.7479 37.0156 33.3092V15.0122H49.4883V33.3092ZM32.9922 33.3092C32.9922 36.7479 30.1947 39.5453 26.7559 39.5453C23.317 39.5453 20.5195 36.7479 20.5195 33.3092V15.0122H32.9922V33.3092ZM4.02344 18.6219C4.02344 16.6315 5.64287 15.0122 7.63306 15.0122H16.4961V33.3092C16.4961 36.7479 13.6986 39.5453 10.2598 39.5453C6.82093 39.5453 4.02344 36.7479 4.02344 33.3092V18.6219ZM94.0563 87.9877H8.9437V43.4849C9.37461 43.5402 9.81397 43.569 10.2598 43.569C13.6362 43.569 16.6371 41.9294 18.5078 39.4047C20.3785 41.9294 23.3794 43.569 26.7559 43.569C30.1323 43.569 33.1332 41.9294 35.0039 39.4047C36.8746 41.9294 39.8755 43.569 43.252 43.569C46.6284 43.569 49.6293 41.9294 51.5 39.4047C53.3707 41.9294 56.3716 43.569 59.748 43.569C63.1245 43.569 66.1254 41.9294 67.9961 39.4047C69.8668 41.9294 72.8677 43.569 76.2441 43.569C79.6206 43.569 82.6215 41.9294 84.4922 39.4047C86.3629 41.9294 89.3638 43.569 92.7402 43.569C93.186 43.569 93.6254 43.5404 94.0563 43.4849V87.9877ZM98.9766 33.3092C98.9766 36.7479 96.1791 39.5453 92.7402 39.5453C89.3014 39.5453 86.5039 36.7479 86.5039 33.3092V15.0122H95.3669C97.3573 15.0122 98.9766 16.6315 98.9766 18.6219V33.3092Z" fill="black"/>
</g>
<defs>
<clipPath id="clip0_59_964">
<rect width="103" height="103" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 2.3 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_59_952)">
<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.1984 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.1805 0.417834 40.2145 1.17967C38.2484 0.417834 36.1135 0 33.8835 0C24.1536 0 16.2381 7.95313 16.2381 17.7287V22.7395H3.90923C2.80914 22.7395 1.91704 23.6401 1.91704 24.7512V89.7613C1.91704 95.0368 6.17415 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.37113 95.3056 5.90142 92.8185 5.90142 89.7615V26.7631H14.2459V95.3056Z" fill="black"/>
<path d="M93.7992 54.7375C87.7766 54.7375 82.5819 51.191 80.165 46.0659H73.082C70.6651 51.1908 65.4705 54.7375 59.4479 54.7375C57.2051 54.7375 55.0772 54.2452 53.1641 53.3635V78.4196C53.1641 96.7462 76.6235 103 76.6235 103C76.6235 103 100.083 96.7462 100.083 78.4196V53.3635C98.1698 54.2452 96.0418 54.7375 93.7992 54.7375Z" fill="#0336DB"/>
<path d="M75.8531 81.6054C75.328 81.6054 74.8228 81.3957 74.4487 81.0201L70.1192 76.673C69.3389 75.8895 69.3353 74.6158 70.1113 73.828C70.8868 73.0401 72.1483 73.0364 72.9286 73.82L75.7249 76.6276L82.99 67.9301C83.6996 67.0807 84.9563 66.9733 85.7972 67.6895C86.6383 68.4059 86.745 69.6751 86.0354 70.5244L77.3762 80.891C77.0172 81.3207 76.4968 81.579 75.9406 81.6035C75.9113 81.6047 75.8824 81.6054 75.8531 81.6054Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_59_952">
<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.972C81.8615 52.972 90.3174 44.4332 90.3174 33.9001C90.3174 23.367 81.8615 14.8282 71.4307 14.8282C60.9998 14.8282 52.5439 23.367 52.5439 33.9001C52.5439 44.4332 60.9998 52.972 71.4307 52.972Z" fill="#0336DB"/>
<path d="M71.4307 63.8353C87.7768 63.8353 101.075 50.4065 101.075 33.9003C101.075 17.3939 87.7768 3.96512 71.4307 3.96512C55.0846 3.96512 41.7861 17.3939 41.7861 33.9003C41.7861 50.4065 55.0846 63.8353 71.4307 63.8353ZM71.4307 7.98856C85.5796 7.98856 97.0909 19.6125 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.6125 57.2816 7.98856 71.4307 7.98856Z" fill="black"/>
<path d="M68.085 38.9238C67.3947 38.0586 66.1408 37.9224 65.2837 38.6193C64.4269 39.3163 64.292 40.5827 64.9821 41.4479C66.0804 42.8246 67.6548 43.6067 69.2231 43.9815C69.3066 45.0149 70.1636 45.8272 71.2085 45.8272C72.204 45.8272 73.029 45.09 73.177 44.1265C75.9828 43.6208 77.9517 41.7344 78.2746 39.1662C78.6499 36.1831 76.7336 33.3222 73.6147 32.2089C73.4726 32.1582 73.3348 32.1087 73.2007 32.0602V28.1845C73.3666 28.2913 73.4904 28.408 73.5689 28.5206C74.2004 29.4301 75.4429 29.6504 76.344 29.0119C77.2446 28.3738 77.4624 27.1191 76.8303 26.2096C76.1057 25.1665 74.8403 24.2815 73.1995 23.917C73.164 22.8373 72.2863 21.9731 71.2085 21.9731C70.1082 21.9731 69.2163 22.8737 69.2163 23.9848V24.0522C69.094 24.0846 68.9709 24.1194 68.847 24.1572C66.7556 24.7935 65.1774 26.8388 65.009 29.1314C64.8417 31.4097 66.0358 33.3858 68.2031 34.4178C68.4394 34.5304 68.7846 34.6777 69.2161 34.8513V39.7555C68.7593 39.5479 68.3625 39.2717 68.085 38.9238ZM74.3219 38.6593C74.2478 39.2485 73.8527 39.6985 73.2007 39.9653V36.4707C74.0759 37.0916 74.4086 37.9713 74.3219 38.6593ZM68.9828 29.4289C69.0018 29.1694 69.087 28.9123 69.2165 28.6878V30.261C69.0362 30.025 68.9591 29.749 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

@ -65,6 +65,37 @@ body {
max-width: 766px;
padding: 28px 0 74px;
}
.top-cards {
display: grid;
grid-template-columns: repeat(3, max-content);
justify-content: center;
gap: 22px;
}
.top-card {
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
padding-top: 26px;
}
.top-card-image {
max-width: 102px;
display: block;
margin: 0 auto;
}
.top-card-description {
margin: 0 auto;
font-weight: 400;
font-size: 16px;
line-height: 24px;
text-align: center;
padding: 28px 26px 28px 26px;
max-width: 300px;
}
@media screen and (max-width: 414px) {
@ -98,6 +129,11 @@ body {
max-width: 240px;
width: 100%;
}
.top-cards {
grid-template-columns: 1fr;
padding: 0 32px;
}
}
@media screen and (max-width: 290px) {
@ -105,5 +141,12 @@ body {
font-size: 26px;
}
}
@media screen and (min-width: 769px) and (max-width: 1200px) {
.top-cards {
grid-template-columns: repeat(2, max-content);
}
}

View File

@ -39,7 +39,30 @@
<div class="top-infocard-image" >
<img src="assets/image/top-inforcard-image.png" alt="Banner do Infocard do Topo">
</div>
</section>
</section>
<section class="top-cards">
<figure class="top-card">
<img class="top-card-image" src="assets/image/top-cards-image01.svg" alt="">
<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/image/top-cards-image02.svg" alt="">
<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/image/top-cards-image03.svg" alt="">
<figcaption class="top-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</figcaption>
</figure>
</section>
</main>
</body>
</html>