<feat>(top-infocard): criação do infocard na versão desktop

This commit is contained in:
Gabriel Ferraz Nogueira 2022-10-10 14:23:47 -03:00
parent a798c7a165
commit d7cb0b20f9
8 changed files with 96 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -0,0 +1,6 @@
<svg width="102" height="97" viewBox="0 0 102 97" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M71.4307 49.972C81.8615 49.972 90.3174 41.4332 90.3174 30.9001C90.3174 20.367 81.8615 11.8282 71.4307 11.8282C60.9998 11.8282 52.5439 20.367 52.5439 30.9001C52.5439 41.4332 60.9998 49.972 71.4307 49.972Z" fill="#0336DB"/>
<path d="M71.4307 60.8353C87.7768 60.8353 101.075 47.4065 101.075 30.9003C101.075 14.3939 87.7768 0.965118 71.4307 0.965118C55.0846 0.965118 41.7861 14.3939 41.7861 30.9003C41.7861 47.4065 55.0846 60.8353 71.4307 60.8353ZM71.4307 4.98856C85.5796 4.98856 97.0909 16.6125 97.0909 30.9003C97.0909 45.1879 85.5798 56.8118 71.4307 56.8118C57.2818 56.8118 45.7705 45.1879 45.7705 30.9003C45.7705 16.6125 57.2816 4.98856 71.4307 4.98856Z" fill="black"/>
<path d="M68.085 35.9238C67.3947 35.0586 66.1408 34.9224 65.2837 35.6193C64.4269 36.3163 64.292 37.5827 64.9821 38.4479C66.0804 39.8246 67.6548 40.6067 69.2231 40.9815C69.3066 42.0149 70.1636 42.8272 71.2085 42.8272C72.204 42.8272 73.029 42.09 73.177 41.1265C75.9828 40.6208 77.9517 38.7344 78.2746 36.1662C78.6499 33.1831 76.7336 30.3222 73.6147 29.2089C73.4726 29.1582 73.3348 29.1087 73.2007 29.0602V25.1845C73.3666 25.2913 73.4904 25.408 73.5689 25.5206C74.2004 26.4301 75.4429 26.6504 76.344 26.0119C77.2446 25.3738 77.4624 24.1191 76.8303 23.2096C76.1057 22.1665 74.8403 21.2815 73.1995 20.917C73.164 19.8373 72.2863 18.9731 71.2085 18.9731C70.1082 18.9731 69.2163 19.8737 69.2163 20.9848V21.0522C69.094 21.0846 68.9709 21.1194 68.847 21.1572C66.7556 21.7935 65.1774 23.8388 65.009 26.1314C64.8417 28.4097 66.0358 30.3858 68.2031 31.4178C68.4394 31.5304 68.7846 31.6777 69.2161 31.8513V36.7555C68.7593 36.5479 68.3625 36.2717 68.085 35.9238ZM74.3219 35.6593C74.2478 36.2485 73.8527 36.6985 73.2007 36.9653V33.4707C74.0759 34.0916 74.4086 34.9713 74.3219 35.6593ZM68.9828 26.4289C69.0018 26.1694 69.087 25.9123 69.2165 25.6878V27.261C69.0362 27.025 68.9591 26.749 68.9828 26.4289Z" fill="white"/>
<path d="M101.992 69.3911C101.887 66.9491 100.766 64.8492 98.8342 63.4786C95.6513 61.2197 91.3553 61.612 88.6187 64.4111C88.531 64.5008 88.4517 64.5986 88.3822 64.7034L84.0117 71.2787C82.7881 68.3623 79.9453 66.3136 76.6424 66.3136L45.1993 66.2922H45.198C44.721 66.2922 44.2602 66.4648 43.8988 66.7789L36.0217 73.6221H30.2733V71.854C30.2733 70.743 29.3812 69.8423 28.2811 69.8423H19.5095V69.5671C19.5095 68.456 18.6174 67.5554 17.5173 67.5554H1.99219C0.891902 67.5554 0 68.456 0 69.5671V93.1601C0 94.2712 0.891902 95.1719 1.99219 95.1719H17.5173C18.6174 95.1719 19.5095 94.2712 19.5095 93.1601V92.8849H28.2809C29.381 92.8849 30.2731 91.9843 30.2731 90.8732V89.0156H36.8786L42.846 95.4034C43.2227 95.8066 43.747 96.0347 44.2951 96.0347C44.3045 96.0347 44.3138 96.0347 44.3232 96.0345L85.4646 95.4517C86.1065 95.4426 86.7048 95.1218 87.0715 94.5899L100.143 75.6347C100.152 75.6228 100.16 75.6107 100.168 75.5988C101.433 73.6766 102.081 71.472 101.992 69.3911ZM15.5251 91.1484H3.98438V71.5788H15.5251V91.1484ZM26.2887 88.8617H19.5095V73.8657H26.2887V88.8617ZM96.8612 73.3538L84.3863 91.4433L45.1434 91.9992L39.1875 85.6236C38.811 85.2207 38.2869 84.9924 37.7384 84.9924H30.2733V77.6456H36.7608C37.2378 77.6456 37.6986 77.473 38.0599 77.1589L45.9365 70.3163L76.6411 70.3372C78.8617 70.3372 80.6685 72.1952 80.6685 74.4791C80.6685 76.7628 78.8619 78.6206 76.6411 78.6206C76.6359 78.6206 76.6307 78.6208 76.6255 78.6208H59.4449C58.8982 78.6208 58.3755 78.8478 57.9992 79.2485L53.808 83.7125C53.051 84.5188 53.0846 85.792 53.8831 86.5565C54.2684 86.9252 54.7612 87.1083 55.2533 87.1083C55.7811 87.1083 56.3078 86.8979 56.6995 86.4806L60.3013 82.6443L80.1927 82.6451H80.1933C80.8571 82.6451 81.4775 82.3111 81.8474 81.7545L91.5757 67.119C92.9429 65.8324 95.0052 65.6787 96.5432 66.7706C98.6193 68.2438 98.275 71.1936 96.8612 73.3538Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -0,0 +1,6 @@
<svg width="103" height="83" viewBox="0 0 103 83" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M73.2652 44.4426H96.068V65.7642H73.2652V44.4426Z" fill="#0336DB"/>
<path d="M6.93198 44.4426H29.7348V65.7642H6.93198V44.4426Z" fill="#0336DB"/>
<path d="M40.8369 44.4426H62.1631V79.3342H40.8369V44.4426Z" fill="#0336DB"/>
<path d="M95.3669 0.9888H7.63306C3.42415 0.9888 0 4.41315 0 8.62186V23.3092C0 27.012 1.97169 30.2627 4.92026 32.067V79.9995C4.92026 81.1105 5.82091 82.0112 6.93198 82.0112H96.068C97.1791 82.0112 98.0797 81.1105 98.0797 79.9995V32.067C101.028 30.2627 103 27.012 103 23.3092V8.62186C103 4.41315 99.5757 0.9888 95.3669 0.9888ZM82.4805 23.3092C82.4805 26.7479 79.683 29.5453 76.2441 29.5453C72.8053 29.5453 70.0078 26.7479 70.0078 23.3092V5.01224H82.4805V23.3092ZM65.9844 23.3092C65.9844 26.7479 63.1869 29.5453 59.748 29.5453C56.3092 29.5453 53.5117 26.7479 53.5117 23.3092V5.01224H65.9844V23.3092ZM49.4883 23.3092C49.4883 26.7479 46.6908 29.5453 43.252 29.5453C39.8131 29.5453 37.0156 26.7479 37.0156 23.3092V5.01224H49.4883V23.3092ZM32.9922 23.3092C32.9922 26.7479 30.1947 29.5453 26.7559 29.5453C23.317 29.5453 20.5195 26.7479 20.5195 23.3092V5.01224H32.9922V23.3092ZM4.02344 8.62186C4.02344 6.63147 5.64287 5.01224 7.63306 5.01224H16.4961V23.3092C16.4961 26.7479 13.6986 29.5453 10.2598 29.5453C6.82093 29.5453 4.02344 26.7479 4.02344 23.3092V8.62186ZM94.0563 77.9877H8.9437V33.4849C9.37461 33.5402 9.81397 33.569 10.2598 33.569C13.6362 33.569 16.6371 31.9294 18.5078 29.4047C20.3785 31.9294 23.3794 33.569 26.7559 33.569C30.1323 33.569 33.1332 31.9294 35.0039 29.4047C36.8746 31.9294 39.8755 33.569 43.252 33.569C46.6284 33.569 49.6293 31.9294 51.5 29.4047C53.3707 31.9294 56.3716 33.569 59.748 33.569C63.1245 33.569 66.1254 31.9294 67.9961 29.4047C69.8668 31.9294 72.8677 33.569 76.2441 33.569C79.6206 33.569 82.6215 31.9294 84.4922 29.4047C86.3629 31.9294 89.3638 33.569 92.7402 33.569C93.186 33.569 93.6254 33.5404 94.0563 33.4849V77.9877ZM98.9766 23.3092C98.9766 26.7479 96.1791 29.5453 92.7402 29.5453C89.3014 29.5453 86.5039 26.7479 86.5039 23.3092V5.01224H95.3669C97.3573 5.01224 98.9766 6.63147 98.9766 8.62186V23.3092Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 2.1 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -3,12 +3,19 @@
padding: 0;
box-sizing: border-box;
}
body{
font-family: 'Inter', sans-serif;
color: #000;
}
.page-header{
display: flex;
justify-content: center;
padding: 29px 0;
background-color: #000;
}
.header-logo{
width: 12vw;
}
.main-banner-desktop{
width: 100%;
display: block;
@ -16,14 +23,42 @@
.main-banner-mobile{
display: none;
}
.top-infocard{
display: flex;
flex-direction: column;
align-items: center;
padding: 73px 0;
}
.top-inforcard-subtitle{
text-align: center;
font-weight: 400;
font-size: 32px;
text-transform: uppercase;
}
.top-infocard-title{
text-align: center;
font-weight: 500;
font-size: 48px;
text-transform: uppercase;
padding: 0 0 28px;
}
.top-infocard-description{
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.top-infocard-text{
max-width: 40%;
padding: 0 0 73px;
}
.top-infocard-image{
width: 16%;
}
@media screen and (min-width: 2500px) {
.page-header{
padding: 58px
}
.header-logo{
width: 532px;
height: 86px;
}
}

View File

@ -1,21 +1,25 @@
<!DOCTYPE html>
<html lang="pt-br">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Challenge-landing-page </title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./assets/styles/main.css">
</head>
<body>
<header class="page-header">
<a href="./index.html">
<img class="header-logo" src="./assets/imagens/Logo-M3Academy 1.png" alt="Logo M3Academy"/>
<img class="header-logo" src="./assets/imagens/Logo-M3Academy 1.svg" alt="Logo M3Academy"/>
</a>
</header>
<main>
@ -23,7 +27,23 @@
<img class="main-banner-desktop" src="./assets/imagens/Main-banner-desktop.png" alt="Banner-principal-do-topo"/>
<img class="main-banner-mobile" src="./assets/imagens/Main-banner-mobile.png" alt="Banner-principal-do-topo"/>
</figure>
</figure>
<section class="top-infocard">
<div class="top-infocard-text">
<h2 class="top-inforcard-subtitle">Lorem ipsum</h2>
<h1 class="top-infocard-title"> dolor sit amet</h1>
<p class="top-infocard-description" >
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Cras euismod enim non dui fringilla interdum.
Curabitur ut tortor sed lacus egestas vulputate vel sit amet velit.
Nulla suscipit magna dui.
</p>
</div>
<img class="top-infocard-image" src="./assets/imagens/top-infocard-image.png" alt="Imagem do infocard do topo"/>
</section>
</main>
</body>
</html>