-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3397f1c
commit 267fcc5
Showing
18 changed files
with
7,163 additions
and
7,156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"extends": ["next/core-web-vitals", "prettier"] | ||
"extends": ["next/core-web-vitals", "prettier"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"tabWidth": 4 | ||
"tabWidth": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# turnstile-demo | ||
|
||
Small turnstile demo using NextJS and [react-turnstile](https://www.npmjs.com/package/react-turnstile). | ||
Small turnstile demo using NextJS and | ||
[react-turnstile](https://www.npmjs.com/package/react-turnstile). | ||
|
||
Hosted on: https://turnstile-demo.pages.dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
import Head from "next/head"; | ||
|
||
export default function MetaTags({ | ||
title, | ||
description, | ||
title, | ||
description, | ||
}: { | ||
title: string; | ||
description?: string; | ||
title: string; | ||
description?: string; | ||
}) { | ||
return ( | ||
<Head> | ||
<title>{title}</title> | ||
<meta name="description" content={description} /> | ||
<meta property="og:title" content={title} /> | ||
<meta property="og:type" content="article" /> | ||
<meta property="og:description" content={description} /> | ||
<meta property="og:image" content="/img/avatar.png" /> | ||
<meta property="og:color" content="#6366F1" /> | ||
<meta name="twitter:card" content="summary" /> | ||
</Head> | ||
); | ||
return ( | ||
<Head> | ||
<title>{title}</title> | ||
<meta name="description" content={description} /> | ||
<meta property="og:title" content={title} /> | ||
<meta property="og:type" content="article" /> | ||
<meta property="og:description" content={description} /> | ||
<meta property="og:image" content="/img/avatar.png" /> | ||
<meta property="og:color" content="#6366F1" /> | ||
<meta name="twitter:card" content="summary" /> | ||
</Head> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"compilerOptions": { | ||
"jsx": "react", | ||
"baseUrl": ".", | ||
"paths": { | ||
"@/components/*": ["components/*"], | ||
"@/lib/*": ["lib/*"] | ||
} | ||
} | ||
"compilerOptions": { | ||
"jsx": "react", | ||
"baseUrl": ".", | ||
"paths": { | ||
"@/components/*": ["components/*"], | ||
"@/lib/*": ["lib/*"] | ||
} | ||
} | ||
} |
Oops, something went wrong.