-
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
d172363
commit 9cb0eff
Showing
12 changed files
with
144 additions
and
99 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"trailingComma": "all", | ||
"tabWidth": 2, | ||
"arrowParens": "always", | ||
"semi": true, | ||
"useTabs": false, | ||
"singleQuote": false | ||
} |
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 |
---|---|---|
|
@@ -53,4 +53,4 @@ export const ComputeOutput: FC = () => { | |
</ul> | ||
</div> | ||
); | ||
}; | ||
}; |
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
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
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,39 +1,47 @@ | ||
import Image from "next/image"; | ||
|
||
export const WelcomeContent = () => { | ||
|
||
return( | ||
<> | ||
<Image | ||
src="/logo.svg" | ||
alt="Next.js logo" | ||
width={180} | ||
height={38} | ||
priority | ||
/> | ||
<ol className="list-inside list-decimal text-sm text-center sm:text-left font-[family-name:var(--font-geist-mono)] mt-4"> | ||
<li className="mb-2"> | ||
Follow along the quickstart guide <a href="https://github.com/NillionNetwork/awesome-nillion/issues/2" target="_blank" className="underline" rel="noopener noreferrer">here</a> | ||
</li> | ||
<li className="mb-2"> | ||
Reach out to us on {""} | ||
<a | ||
href="https://github.com/orgs/NillionNetwork/discussions" | ||
target="_blank" | ||
className="underline" | ||
rel="noopener noreferrer"> | ||
Github Discussions | ||
</a> | ||
{""} if you get stuck | ||
</li> | ||
<li> | ||
Make sure you are running | ||
<code className="bg-gray-700 rounded-md p-1 mx-1"> | ||
nillion-devnet | ||
</code> | ||
in a separate terminal. | ||
</li> | ||
</ol> | ||
</> | ||
) | ||
} | ||
return ( | ||
<> | ||
<Image | ||
src="/logo.svg" | ||
alt="Next.js logo" | ||
width={180} | ||
height={38} | ||
priority | ||
/> | ||
<ol className="list-inside list-decimal text-sm text-center sm:text-left font-[family-name:var(--font-geist-mono)] mt-4"> | ||
<li className="mb-2"> | ||
Follow along the quickstart guide | ||
<a | ||
href="https://github.com/NillionNetwork/awesome-nillion/issues/2" | ||
target="_blank" | ||
className="underline" | ||
rel="noopener noreferrer" | ||
> | ||
here | ||
</a> | ||
</li> | ||
<li className="mb-2"> | ||
Reach out to us on | ||
<a | ||
href="https://github.com/orgs/NillionNetwork/discussions" | ||
target="_blank" | ||
className="underline" | ||
rel="noopener noreferrer" | ||
> | ||
Github Discussions | ||
</a> | ||
{""} if you get stuck | ||
</li> | ||
<li> | ||
Make sure you are running | ||
<code className="bg-gray-700 rounded-md p-1 mx-1"> | ||
nillion-devnet | ||
</code> | ||
in a separate terminal. | ||
</li> | ||
</ol> | ||
</> | ||
); | ||
}; |
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,19 +1,18 @@ | ||
/* eslint-disable */ | ||
/** @type {import("next").NextConfig} */ | ||
const nextConfig = { | ||
async headers() { | ||
return [ | ||
{ | ||
source: "/:path*", | ||
// headers required for @nillion/client-wasm's wasm artefact | ||
headers: [ | ||
{ key: "Cross-Origin-Embedder-Policy", value: "require-corp" }, | ||
{ key: "Cross-Origin-Opener-Policy", value: "same-origin" }, | ||
], | ||
}, | ||
]; | ||
}, | ||
}; | ||
|
||
export default nextConfig; | ||
|
||
async headers() { | ||
return [ | ||
{ | ||
source: "/:path*", | ||
// headers required for @nillion/client-wasm's wasm artefact | ||
headers: [ | ||
{ key: "Cross-Origin-Embedder-Policy", value: "require-corp" }, | ||
{ key: "Cross-Origin-Opener-Policy", value: "same-origin" }, | ||
], | ||
}, | ||
]; | ||
}, | ||
}; | ||
|
||
export default nextConfig; |
Oops, something went wrong.