Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: metadata image not found #147

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 24 additions & 12 deletions packages/nextjs/utils/simpleNFT/nftsMetadata.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
const nftsMetadata = [
{
description: "It's actually a bison?",
external_url: "https://austingriffith.com/portfolio/paintings/", // <-- this can link to a page for the specific file too
image: "https://austingriffith.com/images/paintings/buffalo.jpg",
external_url:
"https://ipfs.io/ipfs/QmR4GGDdK8dsHfspLbcz864SaSUDUAVbF7Wc99NLJqqn2P/", // <-- this can link to a page for the specific file too i
image:
"https://ipfs.io/ipfs/QmR4GGDdK8dsHfspLbcz864SaSUDUAVbF7Wc99NLJqqn2P/buffalo.jpg",
name: "Buffalo",
attributes: [
{
Expand All @@ -21,8 +23,10 @@ const nftsMetadata = [
},
{
description: "What is it so worried about?",
external_url: "https://austingriffith.com/portfolio/paintings/", // <-- this can link to a page for the specific file too
image: "https://austingriffith.com/images/paintings/zebra.jpg",
external_url:
"https://ipfs.io/ipfs/QmR4GGDdK8dsHfspLbcz864SaSUDUAVbF7Wc99NLJqqn2P/", // <-- this can link to a page for the specific file too
image:
"https://ipfs.io/ipfs/QmR4GGDdK8dsHfspLbcz864SaSUDUAVbF7Wc99NLJqqn2P/zebra.jpg",
name: "Zebra",
attributes: [
{
Expand All @@ -41,8 +45,10 @@ const nftsMetadata = [
},
{
description: "What a horn!",
external_url: "https://austingriffith.com/portfolio/paintings/", // <-- this can link to a page for the specific file too
image: "https://austingriffith.com/images/paintings/rhino.jpg",
external_url:
"https://ipfs.io/ipfs/QmR4GGDdK8dsHfspLbcz864SaSUDUAVbF7Wc99NLJqqn2P/", // <-- this can link to a page for the specific file too
image:
"https://ipfs.io/ipfs/QmR4GGDdK8dsHfspLbcz864SaSUDUAVbF7Wc99NLJqqn2P/rhino.jpg",
name: "Rhino",
attributes: [
{
Expand All @@ -61,8 +67,10 @@ const nftsMetadata = [
},
{
description: "Is that an underbyte?",
external_url: "https://austingriffith.com/portfolio/paintings/", // <-- this can link to a page for the specific file too
image: "https://austingriffith.com/images/paintings/fish.jpg",
external_url:
"https://ipfs.io/ipfs/QmR4GGDdK8dsHfspLbcz864SaSUDUAVbF7Wc99NLJqqn2P/", // <-- this can link to a page for the specific file too
image:
"https://ipfs.io/ipfs/QmR4GGDdK8dsHfspLbcz864SaSUDUAVbF7Wc99NLJqqn2P/fish.jpg",
name: "Fish",
attributes: [
{
Expand All @@ -81,8 +89,10 @@ const nftsMetadata = [
},
{
description: "So delicate.",
external_url: "https://austingriffith.com/portfolio/paintings/", // <-- this can link to a page for the specific file too
image: "https://austingriffith.com/images/paintings/flamingo.jpg",
external_url:
"https://ipfs.io/ipfs/QmR4GGDdK8dsHfspLbcz864SaSUDUAVbF7Wc99NLJqqn2P/", // <-- this can link to a page for the specific file too
image:
"https://ipfs.io/ipfs/QmR4GGDdK8dsHfspLbcz864SaSUDUAVbF7Wc99NLJqqn2P/flamingo.jpg",
name: "Flamingo",
attributes: [
{
Expand All @@ -101,8 +111,10 @@ const nftsMetadata = [
},
{
description: "Raaaar!",
external_url: "https://austingriffith.com/portfolio/paintings/", // <-- this can link to a page for the specific file too
image: "https://austingriffith.com/images/paintings/godzilla.jpg",
external_url:
"https://ipfs.io/ipfs/QmR4GGDdK8dsHfspLbcz864SaSUDUAVbF7Wc99NLJqqn2P/", // <-- this can link to a page for the specific file too
image:
"https://ipfs.io/ipfs/QmR4GGDdK8dsHfspLbcz864SaSUDUAVbF7Wc99NLJqqn2P/godzilla.jpg",
name: "Godzilla",
attributes: [
{
Expand Down
Loading