forked from M3-Academy/desafio-react-e-typescript
feature/challenge #1
@ -38,7 +38,7 @@ const FooterNewsletter = () => {
|
||||
className={styles["footer-newsletter__form__input"]}
|
||||
/>
|
||||
<ErrorMessage
|
||||
name="email"
|
||||
name="emailNewsletter"
|
||||
className={styles["footer-newsletter__form__error"]}
|
||||
component="span"
|
||||
/>
|
||||
|
@ -142,7 +142,7 @@
|
||||
font-size: 28px;
|
||||
line-height: 33px;
|
||||
color: $color-black-500;
|
||||
|
||||
text-decoration: none;
|
||||
@media #{$mq-desktop}, #{$mq-tablet}, #{$mq-mobile}{
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
|
@ -101,15 +101,22 @@ const FooterTop = () => {
|
||||
<Accordion.Content>
|
||||
<ul className={"footer__top__block__item-list"}>
|
||||
<li className={"footer__top__block__item"}>
|
||||
<span className={"footer__top__block__link"}>
|
||||
<strong>
|
||||
Atendimento Ao <br /> Consumidor
|
||||
</strong>
|
||||
</span>
|
||||
<a
|
||||
href="http://wa.me/(11)4159 9504"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className={"footer__top__block__link"}
|
||||
>
|
||||
<span className={"footer__top__block__link"}>
|
||||
<strong>
|
||||
Atendimento Ao <br /> Consumidor
|
||||
</strong>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li className={"footer__top__block__item"}>
|
||||
<a
|
||||
href="http://wa.me/(11)4159 9504"
|
||||
href="tel:(11)4159 9504"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className={"footer__top__block__link"}
|
||||
@ -118,13 +125,20 @@ const FooterTop = () => {
|
||||
</a>
|
||||
</li>
|
||||
<li className={"footer__top__block__item"}>
|
||||
<span className={"footer__top__block__link"}>
|
||||
<strong>Atendimento Online</strong>
|
||||
</span>
|
||||
<a
|
||||
href="http://wa.me/(11)99433-8825"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className={"footer__top__block__link"}
|
||||
>
|
||||
<span className={"footer__top__block__link"}>
|
||||
<strong>Atendimento Online</strong>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li className={"footer__top__block__item"}>
|
||||
<a
|
||||
href="http://wa.me/(11)99433-8825"
|
||||
href="tel:(11)99433-8825"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className={"footer__top__block__link"}
|
||||
@ -182,9 +196,14 @@ const FooterTop = () => {
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<span className={"footer__top__block-social__social-medias__site"}>
|
||||
<a
|
||||
href="https://www.loremipsum.com"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className={"footer__top__block-social__social-medias__site"}
|
||||
>
|
||||
www.loremipsum.com
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
@ -1,5 +1,5 @@
|
||||
import * as Yup from 'yup';
|
||||
|
||||
export default Yup.object().shape({
|
||||
emailNewsletter: Yup.string().email("*Email inválido").required("*Campo Obrigatório"),
|
||||
emailNewsletter: Yup.string().email("*Email inválido").required(""),
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user