fixed some bugs

This commit is contained in:
oriofir 2022-08-29 20:39:58 -07:00
parent 4ab3eb60fa
commit fcdf321879
2 changed files with 17 additions and 19 deletions

View File

@ -1,16 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://laconic.com</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:41:27.710Z</lastmod></url>
<url><loc>https://laconic.com/about</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:41:27.710Z</lastmod></url>
<url><loc>https://laconic.com/blog</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:41:27.710Z</lastmod></url>
<url><loc>https://laconic.com/careers</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:41:27.710Z</lastmod></url>
<url><loc>https://laconic.com/community</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:41:27.710Z</lastmod></url>
<url><loc>https://laconic.com/contact</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:41:27.710Z</lastmod></url>
<url><loc>https://laconic.com/partners</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:41:27.710Z</lastmod></url>
<url><loc>https://laconic.com/press</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:41:27.710Z</lastmod></url>
<url><loc>https://laconic.com/privacy-policy</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:41:27.710Z</lastmod></url>
<url><loc>https://laconic.com/products</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:41:27.710Z</lastmod></url>
<url><loc>https://laconic.com/terms-of-use</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:41:27.710Z</lastmod></url>
<url><loc>https://laconic.com/blog/introducing-laconic-network</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:41:27.710Z</lastmod></url>
<url><loc>https://laconic.com/blog/how-laconic-different</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:41:27.710Z</lastmod></url>
<url><loc>https://laconic.com</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:45:47.032Z</lastmod></url>
<url><loc>https://laconic.com/about</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:45:47.032Z</lastmod></url>
<url><loc>https://laconic.com/blog</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:45:47.032Z</lastmod></url>
<url><loc>https://laconic.com/careers</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:45:47.032Z</lastmod></url>
<url><loc>https://laconic.com/community</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:45:47.032Z</lastmod></url>
<url><loc>https://laconic.com/contact</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:45:47.032Z</lastmod></url>
<url><loc>https://laconic.com/partners</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:45:47.032Z</lastmod></url>
<url><loc>https://laconic.com/press</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:45:47.032Z</lastmod></url>
<url><loc>https://laconic.com/privacy-policy</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:45:47.032Z</lastmod></url>
<url><loc>https://laconic.com/products</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:45:47.033Z</lastmod></url>
<url><loc>https://laconic.com/terms-of-use</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:45:47.033Z</lastmod></url>
<url><loc>https://laconic.com/blog/introducing-laconic-network</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:45:47.033Z</lastmod></url>
<url><loc>https://laconic.com/blog/how-laconic-different</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-08-29T22:45:47.033Z</lastmod></url>
</urlset>

View File

@ -1,5 +1,6 @@
import { useState } from 'react' //add useRef
// import { ReCAPTCHA } from 'react-google-recaptcha'
// eslint-disable-next-line import/no-named-as-default
import ReCAPTCHA from 'react-google-recaptcha'
import Select from 'react-select'
import { Container } from '~/components/layout/container'
@ -127,11 +128,7 @@ const CustomForm = ({ data }: FormProps) => {
onChange={(e) => setText(e.target.value)}
></textarea>
</label>
{/* <ReCAPTCHA
// siteKey={process.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY}
size="invisible"
ref={reRef}
/> */}
<Button size="medium" variant="primary">
{data?.formLabelButton}
</Button>
@ -151,6 +148,7 @@ const Form = ({ data }: DataProps) => {
<span>{data?.formWarning}</span>
</div>
<CustomForm data={data} />
<ReCAPTCHA sitekey={process.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY} />
<div className={s['gradient']} />
</Container>
</Section>