Feat: Adiciona o Newsletter e o FooterTop

This commit is contained in:
SamuelCondack 2023-01-10 14:37:23 -03:00
parent 67eab80954
commit f62f1e4aeb
19 changed files with 376 additions and 7 deletions

View File

@ -0,0 +1,16 @@
<svg width="35" height="35" viewBox="0 0 35 35" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_6354_746)">
<g clip-path="url(#clip1_6354_746)">
<path d="M19.1778 27.4911V18.544H22.1734L22.6228 15.0561H19.1778V12.8296C19.1778 11.8201 19.4564 11.1321 20.9026 11.1321L22.744 11.1314V8.01168C22.4256 7.97021 21.3324 7.87512 20.0601 7.87512C17.4033 7.87512 15.5845 9.50028 15.5845 12.4842V15.0561H12.5798V18.544H15.5845V27.4911H19.1778Z" fill="#303030"/>
</g>
<circle cx="17.5" cy="17.5" r="16.5" stroke="#303030" stroke-width="2"/>
</g>
<defs>
<clipPath id="clip0_6354_746">
<rect width="35" height="35" fill="white"/>
</clipPath>
<clipPath id="clip1_6354_746">
<rect width="19.574" height="19.616" fill="white" transform="translate(7.875 7.87509)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 800 B

View File

@ -0,0 +1,18 @@
<svg width="35" height="35" viewBox="0 0 35 35" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_6354_669)">
<g clip-path="url(#clip1_6354_669)">
<path d="M22.0996 7.87509H13.2966C10.3071 7.87509 7.875 10.3036 7.875 13.2884V22.0777C7.875 25.0626 10.3071 27.491 13.2966 27.491H22.0996C25.0893 27.491 27.5214 25.0625 27.5214 22.0777V13.2884C27.5215 10.3036 25.0893 7.87509 22.0996 7.87509ZM25.7784 22.0777C25.7784 24.103 24.1281 25.7506 22.0997 25.7506H13.2966C11.2683 25.7507 9.61813 24.103 9.61813 22.0777V13.2884C9.61813 11.2632 11.2683 9.61551 13.2966 9.61551H22.0996C24.128 9.61551 25.7783 11.2632 25.7783 13.2884V22.0777H25.7784Z" fill="#303030"/>
<path d="M17.6983 12.6288C14.9068 12.6288 12.6359 14.8962 12.6359 17.6833C12.6359 20.4703 14.9068 22.7376 17.6983 22.7376C20.4897 22.7376 22.7606 20.4703 22.7606 17.6833C22.7606 14.8962 20.4897 12.6288 17.6983 12.6288ZM17.6983 20.9971C15.8681 20.9971 14.379 19.5105 14.379 17.6832C14.379 15.8558 15.868 14.3691 17.6983 14.3691C19.5285 14.3691 21.0175 15.8558 21.0175 17.6832C21.0175 19.5105 19.5284 20.9971 17.6983 20.9971Z" fill="#303030"/>
<path d="M22.973 11.1531C22.6372 11.1531 22.3072 11.2889 22.0701 11.5267C21.8317 11.7634 21.6947 12.0929 21.6947 12.4294C21.6947 12.7648 21.8318 13.0943 22.0701 13.3321C22.3071 13.5688 22.6372 13.7057 22.973 13.7057C23.31 13.7057 23.6389 13.5688 23.8771 13.3321C24.1153 13.0943 24.2513 12.7647 24.2513 12.4294C24.2513 12.0929 24.1153 11.7634 23.8771 11.5267C23.64 11.2889 23.31 11.1531 22.973 11.1531Z" fill="#303030"/>
</g>
<circle cx="17.5" cy="17.5" r="16.5" stroke="#303030" stroke-width="2"/>
</g>
<defs>
<clipPath id="clip0_6354_669">
<rect width="35" height="35" fill="white"/>
</clipPath>
<clipPath id="clip1_6354_669">
<rect width="19.6465" height="19.616" fill="white" transform="translate(7.875 7.87509)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -0,0 +1,18 @@
<svg width="35" height="35" viewBox="0 0 35 35" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_6354_766)">
<circle cx="17.5" cy="17.5" r="16.5" stroke="#303030" stroke-width="2"/>
<g clip-path="url(#clip1_6354_766)">
<path d="M13.4445 13.8592H10.298C10.1583 13.8592 10.0452 13.9724 10.0452 14.112V24.2205C10.0452 24.3602 10.1583 24.4733 10.298 24.4733H13.4445C13.5842 24.4733 13.6973 24.3602 13.6973 24.2205V14.112C13.6973 13.9724 13.5842 13.8592 13.4445 13.8592Z" fill="#303030"/>
<path d="M11.8725 8.83395C10.7276 8.83395 9.79614 9.76438 9.79614 10.908C9.79614 12.0522 10.7276 12.9829 11.8725 12.9829C13.0165 12.9829 13.9472 12.0521 13.9472 10.908C13.9472 9.76438 13.0165 8.83395 11.8725 8.83395Z" fill="#303030"/>
<path d="M21.4482 13.6079C20.1844 13.6079 19.2502 14.1512 18.6835 14.7685V14.112C18.6835 13.9724 18.5704 13.8592 18.4307 13.8592H15.4174C15.2777 13.8592 15.1646 13.9724 15.1646 14.112V24.2206C15.1646 24.3602 15.2777 24.4734 15.4174 24.4734H18.557C18.6967 24.4734 18.8098 24.3602 18.8098 24.2206V19.2192C18.8098 17.5338 19.2676 16.8772 20.4425 16.8772C21.722 16.8772 21.8236 17.9298 21.8236 19.3059V24.2206C21.8236 24.3603 21.9368 24.4734 22.0764 24.4734H25.2173C25.3569 24.4734 25.4701 24.3603 25.4701 24.2206V18.6759C25.4701 16.1698 24.9922 13.6079 21.4482 13.6079Z" fill="#303030"/>
</g>
</g>
<defs>
<clipPath id="clip0_6354_766">
<rect width="35" height="35" fill="white"/>
</clipPath>
<clipPath id="clip1_6354_766">
<rect width="15.6739" height="15.6739" fill="white" transform="translate(9.79614 8.81671)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -0,0 +1,11 @@
<svg width="35" height="35" viewBox="0 0 35 35" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_6354_758)">
<circle cx="17.5" cy="17.5" r="16.5" stroke="#303030" stroke-width="2"/>
<path d="M29.9914 10.1563C29.0947 10.5497 28.1392 10.8104 27.143 10.937C28.1678 10.3251 28.95 9.36358 29.3177 8.20462C28.3622 8.7743 27.3072 9.1767 26.1829 9.40126C25.2757 8.43521 23.9826 7.83688 22.5719 7.83688C19.835 7.83688 17.6316 10.0584 17.6316 12.7817C17.6316 13.1735 17.6648 13.5503 17.7462 13.909C13.6363 13.7086 9.99962 11.7388 7.5566 8.73813C7.13009 9.47812 6.87991 10.3251 6.87991 11.2369C6.87991 12.949 7.76157 14.4666 9.07577 15.3453C8.28152 15.3302 7.50235 15.0996 6.84223 14.7364C6.84223 14.7515 6.84223 14.7711 6.84223 14.7907C6.84223 17.193 8.55581 19.1884 10.8029 19.6481C10.4005 19.7581 9.96195 19.8108 9.5068 19.8108C9.19031 19.8108 8.8708 19.7928 8.57089 19.7264C9.21141 21.6842 11.029 23.1235 13.1902 23.1702C11.5082 24.4859 9.37267 25.2786 7.06076 25.2786C6.65535 25.2786 6.26652 25.2605 5.87769 25.2108C8.06751 26.623 10.6628 27.4293 13.4614 27.4293C22.5583 27.4293 27.5318 19.8937 27.5318 13.3619C27.5318 13.1434 27.5243 12.9324 27.5137 12.7229C28.4948 12.0266 29.3192 11.157 29.9914 10.1563Z" fill="#303030"/>
</g>
<defs>
<clipPath id="clip0_6354_758">
<rect width="35" height="35" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1,11 @@
<svg width="34" height="34" viewBox="0 0 34 34" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_3715_5593)">
<path d="M17.0042 0H16.9958C7.62238 0 0 7.6245 0 17C0 20.7188 1.1985 24.1655 3.23638 26.9641L1.11775 33.2796L7.65213 31.1908C10.3403 32.9715 13.5469 34 17.0042 34C26.3776 34 34 26.3734 34 17C34 7.62663 26.3776 0 17.0042 0Z" fill="#4CAF50"/>
<path d="M26.8962 24.0061C26.486 25.1642 24.8583 26.1247 23.5599 26.4052C22.6717 26.5944 21.5114 26.7452 17.6057 25.126C12.6098 23.0562 9.39255 17.9796 9.1418 17.6502C8.90167 17.3209 7.12305 14.9621 7.12305 12.5226C7.12305 10.0831 8.36192 8.89524 8.8613 8.38524C9.27142 7.96661 9.9493 7.77536 10.5995 7.77536C10.8099 7.77536 10.999 7.78599 11.169 7.79449C11.6684 7.81574 11.9192 7.84549 12.2485 8.63386C12.6587 9.62199 13.6574 12.0615 13.7764 12.3122C13.8975 12.563 14.0187 12.903 13.8487 13.2324C13.6893 13.5724 13.549 13.7232 13.2983 14.0122C13.0475 14.3012 12.8095 14.5222 12.5588 14.8325C12.3293 15.1024 12.07 15.3914 12.359 15.8907C12.648 16.3795 13.6468 18.0094 15.1173 19.3184C17.0149 21.0077 18.5534 21.5475 19.1038 21.777C19.5139 21.947 20.0027 21.9066 20.3023 21.5879C20.6827 21.1777 21.1523 20.4977 21.6304 19.8284C21.9704 19.3481 22.3997 19.2886 22.8502 19.4586C23.3092 19.618 25.738 20.8186 26.2374 21.0672C26.7368 21.318 27.0662 21.437 27.1873 21.6474C27.3063 21.8577 27.3063 22.8459 26.8962 24.0061Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_3715_5593">
<rect width="34" height="34" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -0,0 +1,13 @@
<svg width="34" height="73" viewBox="0 0 34 73" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M34 56C34 65.3888 26.3888 73 17 73C7.61116 73 0 65.3888 0 56C0 46.6112 7.61116 39 17 39C26.3888 39 34 46.6112 34 56Z" fill="#C4C4C4"/>
<path d="M11.4 58.1372C11.4011 58.0247 11.4481 57.9124 11.5412 57.8246L11.5412 57.8246L17.1308 52.551C17.1308 52.5509 17.1309 52.5509 17.1309 52.5509C17.2292 52.4582 17.3616 52.4085 17.4999 52.4085C17.6382 52.4085 17.7708 52.4583 17.8691 52.551L23.4587 57.8247L23.4588 57.8248C23.5516 57.9124 23.5987 58.0243 23.6 58.1365C23.5989 58.249 23.5519 58.3612 23.4588 58.4489L23.4587 58.449C23.2574 58.639 22.9216 58.6389 22.7204 58.449L22.7204 58.449L17.7744 53.7826L17.4999 53.5236L17.2254 53.7826L12.2797 58.4488C12.2797 58.4488 12.2796 58.4489 12.2796 58.4489C12.0781 58.6389 11.7424 58.6388 11.5412 58.4489L11.5411 58.4488C11.4483 58.3613 11.4013 58.2494 11.4 58.1372Z" fill="white" stroke="white" stroke-width="0.8"/>
<g clip-path="url(#clip0_3715_5434)">
<path d="M17.0042 0H16.9958C7.62238 0 0 7.6245 0 17C0 20.7188 1.1985 24.1655 3.23638 26.9641L1.11775 33.2796L7.65213 31.1908C10.3403 32.9715 13.5469 34 17.0042 34C26.3776 34 34 26.3734 34 17C34 7.62663 26.3776 0 17.0042 0Z" fill="#4CAF50"/>
<path d="M26.8962 24.0061C26.486 25.1642 24.8583 26.1247 23.5599 26.4052C22.6717 26.5944 21.5114 26.7452 17.6057 25.126C12.6098 23.0562 9.39255 17.9796 9.1418 17.6502C8.90167 17.3209 7.12305 14.9621 7.12305 12.5226C7.12305 10.0831 8.36192 8.89524 8.8613 8.38524C9.27142 7.96661 9.9493 7.77536 10.5995 7.77536C10.8099 7.77536 10.999 7.78599 11.169 7.79449C11.6684 7.81574 11.9192 7.84549 12.2485 8.63386C12.6587 9.62199 13.6574 12.0615 13.7764 12.3122C13.8975 12.563 14.0187 12.903 13.8487 13.2324C13.6893 13.5724 13.549 13.7232 13.2983 14.0122C13.0475 14.3012 12.8095 14.5222 12.5588 14.8325C12.3293 15.1024 12.07 15.3914 12.359 15.8907C12.648 16.3795 13.6468 18.0094 15.1173 19.3184C17.0149 21.0077 18.5534 21.5475 19.1038 21.777C19.5139 21.947 20.0027 21.9066 20.3023 21.5879C20.6827 21.1777 21.1523 20.4977 21.6304 19.8284C21.9704 19.3481 22.3997 19.2886 22.8502 19.4586C23.3092 19.618 25.738 20.8186 26.2374 21.0672C26.7368 21.318 27.0662 21.437 27.1873 21.6474C27.3063 21.8577 27.3063 22.8459 26.8962 24.0061Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_3715_5434">
<rect width="34" height="34" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -0,0 +1,11 @@
<svg width="35" height="35" viewBox="0 0 35 35" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_6354_763)">
<circle cx="17.5" cy="17.5" r="16.5" stroke="#303030" stroke-width="2"/>
<path d="M27.8026 12.2486C27.5447 11.2896 26.7885 10.5336 25.8296 10.2754C24.0778 9.79605 17.0705 9.79605 17.0705 9.79605C17.0705 9.79605 10.0635 9.79605 8.3117 10.2572C7.37124 10.5152 6.59666 11.2897 6.33869 12.2486C5.87769 14.0003 5.87769 17.633 5.87769 17.633C5.87769 17.633 5.87769 21.284 6.33869 23.0174C6.59693 23.9763 7.35279 24.7323 8.31183 24.9905C10.0819 25.47 17.0708 25.47 17.0708 25.47C17.0708 25.47 24.0778 25.47 25.8296 25.0088C26.7887 24.7507 27.5447 23.9947 27.8029 23.0358C28.2638 21.284 28.2638 17.6515 28.2638 17.6515C28.2638 17.6515 28.2822 14.0003 27.8026 12.2486ZM14.8396 20.989V14.277L20.6665 17.633L14.8396 20.989Z" fill="#303030"/>
</g>
<defs>
<clipPath id="clip0_6354_763">
<rect width="35" height="35" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 978 B

View File

@ -0,0 +1,3 @@
<svg width="11" height="21" viewBox="0 0 11 21" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.17805 20.4911V11.544H10.1736L10.623 8.05612H7.17805V5.82961C7.17805 4.8201 7.45664 4.13213 8.90281 4.13213L10.7443 4.13137V1.01168C10.4258 0.970206 9.33267 0.875122 8.06036 0.875122C5.40359 0.875122 3.58471 2.50028 3.58471 5.48417V8.05612H0.580078V11.544H3.58471V20.4911H7.17805Z" fill="#303030"/>
</svg>

After

Width:  |  Height:  |  Size: 413 B

View File

@ -0,0 +1,10 @@
<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_6354_665)">
<path d="M12.1779 20.4911V11.544H15.1735L15.6229 8.05612H12.1779V5.82961C12.1779 4.8201 12.4565 4.13213 13.9027 4.13213L15.7441 4.13137V1.01168C15.4257 0.970206 14.3325 0.875122 13.0602 0.875122C10.4035 0.875122 8.58459 2.50028 8.58459 5.48417V8.05612H5.57996V11.544H8.58459V20.4911H12.1779Z" fill="#303030"/>
</g>
<defs>
<clipPath id="clip0_6354_665">
<rect width="19.574" height="19.616" fill="white" transform="translate(0.875 0.875092)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 603 B

View File

@ -0,0 +1,63 @@
.footer{
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.footerUl{
list-style: none;
display: flex;
flex-direction: column;
gap: 12px;
& p{
width: 155px;
height: 0px;
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 16px;
text-transform: uppercase;
color: #303030;
}
& a{
width: 155px;
height: 15px;
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 14px;
text-transform: capitalize;
text-decoration: none;
color: #303030;
}
}
.ulP2{
width: 155px;
height: 0px;
font-family: 'Roboto';
font-style: normal;
font-weight: 500 !important;
font-size: 12px !important;
line-height: 14px !important;
text-transform: capitalize !important;
color: #303030;
}
.networkIcons{
display: flex;
gap: 10px;
}
.linkDiv{
& a{
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 16px;
color: #303030;
text-decoration: none;
}
}

View File

@ -0,0 +1,57 @@
import './FooterTop.modules.scss'
import Facebook from '../../assets/svgs/Facebook.svg'
import Instagram from '../../assets/svgs/Instagram.svg'
import Twitter from '../../assets/svgs/Twitter.svg'
import Youtube from '../../assets/svgs/Youtube.svg'
import Linkedin from '../../assets/svgs/Linkedin.svg'
import Whatsapp from '../../assets/svgs/Whatsapp.svg'
import WppAndArrow from '../../assets/svgs/WppAndArrow.svg'
const FooterTop = () => {
return (
<>
<footer className='footer_wrapper'>
<div className='footer'>
<ul className='footerUl'>
<p>INSTITUCIONAL</p>
<li><a href="/">Quem Somos</a></li>
<li><a href="/">Política de Privacidade</a></li>
<li><a href="/">Segurança</a></li>
<li><a href="/">Seja um Revendedor</a></li>
</ul>
<ul className='footerUl'>
<p>INSTITUCIONAL</p>
<li><a href="/">Entrega</a></li>
<li><a href="/">Pagamento</a></li>
<li><a href="/">Troca e Devoluções</a></li>
<li><a href="/">Dúvidas Frequentes</a></li>
</ul>
<ul className='footerUl'>
<p>FALE CONOSCO</p>
<p className='ulP2'>Atendimento Ao Consumidor</p>
<p>(11) 4159-9504</p>
<p className='ulP2'>Atendimento Online</p>
<p>(11) 99433-8825</p>
</ul>
<div>
<div className='networkIcons'>
<a href="/"><img src={Facebook} alt="FacebooIcon" /></a>
<a href="/"><img src={Instagram} alt="InstagramIcon" /></a>
<a href="/"><img src={Twitter} alt="TwitterIcon" /></a>
<a href="/"><img src={Youtube} alt="YoutubeIcon" /></a>
<a href="/"><img src={Linkedin} alt="LinkedinIcon" /></a>
</div>
<div className='linkDiv'>
<a href="/">www.loremipsum.com</a>
</div>
</div>
<div>
<a href="/"><img src={WppAndArrow} alt="Whatsapp and Arrow Icon" /></a>
</div>
</div>
</footer>
</>
)
}
export {FooterTop}

View File

@ -0,0 +1,74 @@
.newsletter_wrapper{
display: flex;
justify-content: center;
gap: 8px;
border-width: 1px 0px;
border-style: solid;
border-color: #000000;
margin-bottom: 50px;
}
.newssletter{
margin-top: 16px;
margin-bottom: 16px;
}
.letter{
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
font-size: 18px;
line-height: 21px;
letter-spacing: 0.05em;
font-variant: small-caps;
color: #303030;
}
.errorD{
height: 0px;
position: relative;
width: 360px;
display: flex;
justify-content: right;
bottom: 20px;
}
.errorPara{
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 14px;
color: #FF0000;
}
.LetterInputButton{
& input{
background: #FFFFFF;
border: 1px solid #E5E5E5;
border-radius: 4px;
width: 340px;
height: 42px;
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 16px;
margin: 8px 8px 0px 0px;
padding-left: 16px;
&::placeholder{
color: #C4C4C4;
}
}
& button {
background: #000000;
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
border-radius: 4px;
width: 126px;
height: 42px;
font-family: 'Roboto';
font-style: normal;
font-weight: 700;
font-size: 12px;
line-height: 14px;
text-align: center;
letter-spacing: 0.05em;
color: #FFFFFF;
cursor: pointer;
}
}

View File

@ -0,0 +1,47 @@
import './NewsLetter.modules.scss'
import { useFormik } from 'formik';
import { Letter } from '../../schemas/Schema'
const onSubmit = async (values:any, actions:any) => {
console.log(values);
console.log(actions);
actions.resetForm()
};
const NewsLetter = () => {
const {values, errors, touched, isSubmitting, handleBlur, handleChange, handleSubmit} = useFormik({
initialValues: {
email: ''
},
validationSchema: Letter ,
onSubmit
})
console.log(values);
return (
<>
<section className='newsletter_wrapper'>
<div className='newssletter'>
<label className='letter' htmlFor="email">ASSINE NOSSA NEWSLETTER</label>
<div className='LetterInputButton'>
<form onSubmit={handleSubmit}>
{errors.email && touched.email &&
<div className='errorD'>
<p className='errorPara'>{errors.email}</p></div>}
<input
className={<input/> ? "letterInput" : "letterInput" &&errors.email && touched.email ? "input-error" : ""}
type="text"
name='email'
placeholder='E-mail'
onChange={handleChange}
onBlur={handleBlur}/>
<button type='submit' autoFocus={isSubmitting}>ENVIAR</button>
</form>
</div>
</div>
</section>
</>
)
}
export {NewsLetter}

View File

@ -86,6 +86,7 @@ select.input-error{
justify-content: center;
width: 748px;
height: 52.44px;
margin-bottom: 66.56px;
}
.signupButton{
background: #000000;

View File

@ -5,6 +5,8 @@ import {Main} from "./institucional"
import {Route, Routes} from "react-router-dom"
import {About} from "./About"
import {Contact} from "./Contact"
import {NewsLetter} from "../components/NewsLetter/NewsLetter"
import {FooterTop} from "../components/FooterTop/FooterTop"
function App() {
return (
@ -16,6 +18,8 @@ function App() {
<Route path="/About" element={<About/>}></Route>
<Route path="/Contact" element={<Contact/>}></Route>
</Routes>
<NewsLetter />
<FooterTop />
</>
);
}

View File

@ -54,6 +54,13 @@
border: 1px solid #000000;
}
}
.instituLi_Clicked{
background-color: black;
border: 1px solid #000000;
}
.instituLink_Clicked{
color: white;
}
.instituLink{
text-decoration: none;
color: #7D7D7D;

View File

@ -14,12 +14,12 @@ const Main = () => {
<h1 className='mainH1'>INSTITUCIONAL</h1>
<div className='instituWrapper'>
<ul className='instituUl'>
<li className='instituLi'><Link to="/About" className='instituLink'>Sobre</Link></li>
<li className='instituLi'><Link to="/" className='instituLink'>Forma de Pagamento</Link></li>
<li className='instituLi'><Link to="/" className='instituLink'>Entrega</Link></li>
<li className='instituLi'><Link to="/" className='instituLink'>Troca e Devolução</Link></li>
<li className='instituLi'><Link to="/" className='instituLink'>Segurança e Privacidade</Link></li>
<li className='instituLi'><Link to="/Contact" className='instituLink'>Contato</Link></li>
<li className='instituLi instituLi2'><Link to="/About" className='instituLink instituLink2'>Sobre</Link></li>
<li className='instituLi instituLi2'><Link to="/" className='instituLink instituLink2'>Forma de Pagamento</Link></li>
<li className='instituLi instituLi2'><Link to="/" className='instituLink instituLink2'>Entrega</Link></li>
<li className='instituLi instituLi2'><Link to="/" className='instituLink instituLink2'>Troca e Devolução</Link></li>
<li className='instituLi instituLi2'><Link to="/" className='instituLink instituLink2'>Segurança e Privacidade</Link></li>
<li className='instituLi instituLi2'><Link to="/Contact" className='instituLink instituLink2'>Contato</Link></li>
</ul>
</div>
</>

View File

@ -11,4 +11,9 @@ const Schema = yup.object().shape({
instagram: yup.string().required("*Campo Obrigatório")
});
export {Schema};
const Letter = yup.object().shape({
email: yup.string().email("*Email inválido")
})
export {Schema};
export {Letter}