Merge pull request #113 from LaconicNetwork/revert-111-oriofir/css

Revert "Oriofir/css"
This commit is contained in:
olive kimoto 2022-08-30 22:56:14 +02:00 committed by GitHub
commit 67fddfe2ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 5056 additions and 25386 deletions

20287
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -37,16 +37,15 @@
"keen-slider": "^6.6.9",
"lodash": "^4.17.21",
"marked": "^4.0.14",
"next": "^12.2.5",
"next": "^12.1.5",
"next-real-viewport": "^0.7.0",
"next-seo": "^5.4.0",
"next-themes": "^0.2.0",
"react": "^18.2.0",
"react": "^18.0.0",
"react-datocms": "^3.0.12",
"react-device-detect": "^2.2.2",
"react-dom": "^18.2.0",
"react-dom": "^18.0.0",
"react-fast-marquee": "^1.3.1",
"react-google-recaptcha": "^2.1.0",
"react-hook-form": "^7.30.0",
"react-mailchimp-subscribe": "^2.1.3",
"react-merge-refs": "^1.1.0",
@ -65,7 +64,6 @@
"@types/node": "^17.0.25",
"@types/react": "^17.0.43",
"@types/react-dom": "^17.0.14",
"@types/react-google-recaptcha": "^2.1.5",
"@types/tiny-json-http": "^7.3.1",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",

View File

@ -1,16 +1,17 @@
<?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-07-14T18:37:48.828Z</lastmod></url>
<url><loc>https://laconic.com/about</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-07-14T18:37:48.829Z</lastmod></url>
<url><loc>https://laconic.com/blog</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-07-14T18:37:48.829Z</lastmod></url>
<url><loc>https://laconic.com/careers</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-07-14T18:37:48.829Z</lastmod></url>
<url><loc>https://laconic.com/community</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-07-14T18:37:48.829Z</lastmod></url>
<url><loc>https://laconic.com/contact</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-07-14T18:37:48.829Z</lastmod></url>
<url><loc>https://laconic.com/partners</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-07-14T18:37:48.829Z</lastmod></url>
<url><loc>https://laconic.com/press</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-07-14T18:37:48.829Z</lastmod></url>
<url><loc>https://laconic.com/privacy-policy</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-07-14T18:37:48.829Z</lastmod></url>
<url><loc>https://laconic.com/products</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-07-14T18:37:48.829Z</lastmod></url>
<url><loc>https://laconic.com/terms-of-use</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-07-14T18:37:48.829Z</lastmod></url>
<url><loc>https://laconic.com/blog/introducing-laconic-network</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-07-14T18:37:48.829Z</lastmod></url>
<url><loc>https://laconic.com/blog/how-laconic-different</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-07-14T18:37:48.829Z</lastmod></url>
<url><loc>https://laconic.com/blog/how-laconic-network-uses-ipld</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-07-14T18:37:48.829Z</lastmod></url>
</urlset>

View File

@ -1,5 +1,4 @@
import { useState } from 'react' //add useRef
// import { ReCAPTCHA } from 'react-google-recaptcha'
import { useState } from 'react'
import Select from 'react-select'
import { Container } from '~/components/layout/container'
@ -40,7 +39,6 @@ const CustomForm = ({ data }: FormProps) => {
const [errorMsg, setErrorMsg] = useState('')
const [isFormSent, setIsFormSent] = useState(false)
const [isSending, setIsSending] = useState(false)
// const reRef = useRef<ReCAPTCHA>()
const handleSubmit = async (e: any) => {
e.preventDefault()
@ -61,8 +59,6 @@ const CustomForm = ({ data }: FormProps) => {
inquiry: selectedOption.value
}
// const token = await reRef.current.executeAsync()
await fetch(`${process.env.NEXT_PUBLIC_API}/api/contact`, {
method: 'POST',
mode: 'no-cors',
@ -127,11 +123,6 @@ 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>

View File

@ -9,12 +9,6 @@
padding-right: 0;
}
.blog_img_eo9Jb {
object-fit: cover;
height: 100%;
width: 100%;
}
h1 {
margin-top: tovw(124px, 'default', 72px);
font-family: var(--font-arthemys);
@ -151,7 +145,6 @@
> img {
object-fit: cover;
height: 100%;
width: 100%;
}
}

View File

@ -1,12 +0,0 @@
import type { NextRequest } from 'next/server'
import { NextResponse } from 'next/server'
// This function can be marked `async` if using `await` inside
export function middleware(request: NextRequest) {
return NextResponse.redirect(new URL('/about-2', request.url))
}
// See "Matching Paths" below to learn more
export const config = {
matcher: '/about/:path*'
}

View File

@ -24,5 +24,5 @@
"incremental": true
},
"exclude": ["node_modules"],
"include": ["**/*.ts", "**/*.tsx", "src/middleware.js"]
"include": ["**/*.ts", "**/*.tsx"]
}

10088
yarn.lock

File diff suppressed because it is too large Load Diff