diff --git a/packages/nextjs/app/market/page.tsx b/packages/nextjs/app/market/page.tsx new file mode 100644 index 0000000..a15c505 --- /dev/null +++ b/packages/nextjs/app/market/page.tsx @@ -0,0 +1,153 @@ +"use client"; + +import React from "react"; +import { useRouter } from "next/navigation"; +import { motion } from "framer-motion"; +import { Address } from "~~/components/scaffold-eth"; + +// Dummy NFT data +const DUMMY_NFTS = [ + { + id: "1", + tokenId: "1", + owner: "0x1234567890123456789012345678901234567890", + metadata: { + name: "Cyber Runner #1", + description: "A futuristic cyber athlete in neon-lit streets", + image: "https://picsum.photos/400/400?random=1", + attributes: [ + { trait_type: "Background", value: "Neon City" }, + { trait_type: "Rarity", value: "Legendary" }, + { trait_type: "Power Level", value: "89" } + ] + }, + }, + { + id: "2", + tokenId: "2", + owner: "0x2345678901234567890123456789012345678901", + metadata: { + name: "Digital Dreams #42", + description: "Abstract digital art with vibrant colors and geometric patterns", + image: "https://picsum.photos/400/400?random=2", + attributes: [ + { trait_type: "Style", value: "Abstract" }, + { trait_type: "Colors", value: "Vibrant" }, + { trait_type: "Edition", value: "42/100" } + ] + }, + }, + { + id: "3", + tokenId: "3", + owner: "0x3456789012345678901234567890123456789012", + metadata: { + name: "Neon Samurai", + description: "A modern warrior in a cyberpunk setting", + image: "https://picsum.photos/400/400?random=3", + attributes: [ + { trait_type: "Class", value: "Warrior" }, + { trait_type: "Weapon", value: "Plasma Katana" }, + { trait_type: "Level", value: "75" } + ] + }, + }, +]; + +export default function Marketplace() { + const router = useRouter(); + + return ( +
View your collection of unique digital assets
+{nft.metadata.description}
+ + {/* Owner */} +Total NFTs
+Attributes
+Unique Owners
+Test and debug your smart contracts
- - - -View transaction history and contract interactions
- + {/* Connected Address */} + {connectedAddress && ( +Test and debug your smart contracts
+ + + +View transaction history and contract interactions
+ +