forked from M3-Academy/desafio-react-e-typescript
feat: adiciona numero wpp #16
@ -7,11 +7,13 @@ import { ReactComponent as IconWhatsUltraWide } from "../assets/iconWhatsUltraWi
|
||||
const PhoneFloat = () => {
|
||||
return (
|
||||
<div className={stylePhone["wrapper"]}>
|
||||
<a className={stylePhone["wrapper__link"]} href="tel:5521999999999">
|
||||
<a className={stylePhone["wrapper__link"]} href="https://api.whatsapp.com/send?phone=21999999999&text=Olá" target="_blank"
|
||||
rel="noreferrer">
|
||||
<IconWhats className={stylePhone["wrapper__link__iconTel"]} title="Ligar para 21999999999" />
|
||||
</a>
|
||||
|
||||
<a className={stylePhone["wrapper__link-ultra"]} href="tel:5521999999999">
|
||||
<a className={stylePhone["wrapper__link-ultra"]} href="https://api.whatsapp.com/send?phone=21999999999&text=Olá" target="_blank"
|
||||
rel="noreferrer" >
|
||||
<IconWhatsUltraWide className={stylePhone["wrapper__link__iconTelUltraWide"]} />
|
||||
</a>
|
||||
</div>
|
||||
|
@ -31,7 +31,7 @@ const ContatoForm = () => {
|
||||
resetForm({ values: '' });
|
||||
|
||||
setMessageSucess(true);
|
||||
setTimeout(() => setMessageSucess(false), 123200000)
|
||||
setTimeout(() => setMessageSucess(false), 5000)
|
||||
}
|
||||
|
||||
const [messageSucess, setMessageSucess] = useState(false)
|
||||
|
Loading…
Reference in New Issue
Block a user