Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
7d92e41
update
Agata6391 Sep 1, 2025
a0c0aa4
update mainnet
Agata6391 Sep 1, 2025
93558e5
Merge pull request #1 from Agata6391/dev-dany-undead
Agata6391 Sep 1, 2025
8d03c10
Update page.tsx
Agata6391 Sep 1, 2025
14c3059
Merge pull request #2 from Agata6391/dev-dany-undead
Agata6391 Sep 1, 2025
41e137a
Update .env.example
Agata6391 Sep 1, 2025
b684bdf
Merge pull request #3 from Agata6391/dev-dany-undead
Agata6391 Sep 1, 2025
3363ba5
buysellpage.tsx
Agata6391 Sep 2, 2025
5c25882
Merge pull request #4 from Agata6391/dev-dany-undead
Agata6391 Sep 2, 2025
f148c92
adding marketplace dummy
Agata6391 Sep 3, 2025
9583919
Merge pull request #5 from Agata6391/dev-dany-undead
Agata6391 Sep 3, 2025
033d268
update listing market
Agata6391 Sep 3, 2025
b4d7658
Merge pull request #6 from Agata6391/dev-dany-undead
Agata6391 Sep 3, 2025
655a951
Update page.tsx
Agata6391 Sep 15, 2025
b285264
Merge pull request #7 from Agata6391/dev-dany-undead
Agata6391 Sep 15, 2025
cd2d9c8
create and update module auctions
Agata6391 Sep 15, 2025
5badfa9
Merge pull request #8 from Agata6391/dev-dany-undead
Agata6391 Sep 15, 2025
d340579
update names and alerts
Agata6391 Sep 15, 2025
298d39a
Merge pull request #9 from Agata6391/dev-dany-undead
Agata6391 Sep 15, 2025
0ede85c
update auctions dates and times
Agata6391 Sep 15, 2025
7dc792c
Merge pull request #10 from Agata6391/dev-dany-undead
Agata6391 Sep 15, 2025
cb97d7c
update profile
Agata6391 Sep 15, 2025
cd5b529
Merge pull request #11 from Agata6391/dev-dany-undead
Agata6391 Sep 15, 2025
4e4e975
update collation
Agata6391 Sep 16, 2025
20b9e60
Merge pull request #12 from Agata6391/dev-dany-undead
Agata6391 Sep 16, 2025
32a303a
atributtes modal integration
Agata6391 Sep 17, 2025
53c12ab
Merge pull request #13 from Agata6391/dev-dany-undead
Agata6391 Sep 17, 2025
a08ac69
update modals
Agata6391 Sep 17, 2025
143e5e2
Update buysellpage.tsx
Agata6391 Sep 17, 2025
ed00474
update
Agata6391 Sep 17, 2025
b551b3c
Merge pull request #14 from Agata6391/dev-dany-undead
Agata6391 Sep 17, 2025
b6abdd2
update json
Agata6391 Sep 17, 2025
1961589
Merge pull request #15 from Agata6391/dev-dany-undead
Agata6391 Sep 17, 2025
8fd171d
Refactor NFT action modals and connection handling
Agata6391 Sep 17, 2025
9b977e4
Merge pull request #16 from Agata6391/dev-dany-undead
Agata6391 Sep 17, 2025
714b0f0
Squashed commit of the following:
Amendris Sep 17, 2025
6730521
test theme undeadblocks
Amendris Sep 17, 2025
0f77e53
update banner
Agata6391 Sep 17, 2025
f394157
Merge pull request #17 from Agata6391/dev-dany-undead
Agata6391 Sep 17, 2025
1cd1c44
card update
Amendris Sep 17, 2025
f710790
theme update
Amendris Sep 17, 2025
ba56d34
Merge branch 'main' into Design
Amendris Sep 17, 2025
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
7,280 changes: 7,280 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,19 @@
"@emotion/styled": "^11.11.5",
"@tanstack/react-query": "^5.44.0",
"blo": "^1.2.0",
"ethers": "^6.15.0",
"framer-motion": "^11.2.10",
"next": "14.2.4",
"react": "^18",
"react-dom": "^18",
"react-dom": "^18.3.1",
"react-icons": "^5.2.1",
"thirdweb": "^5.75.0"
},
"devDependencies": {
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"pino-pretty": "^13.1.1",
"postcss": "^8",
"typescript": "^5"
}
Expand Down
Binary file added public/images/assets/Image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/assets/bg-gun-2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/assets/button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/assets/dark_layout.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/assets/hedera-hbar-h.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/assets/helm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/assets/home_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/assets/knife.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/assets/pistol.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/assets/texture.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/assets/ub_banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/assets/weaponpremium.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/dummynfts/default-nft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/dummynfts/default-nft0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/dummynfts/default-nft1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions src/app/globals.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* src/app/globals.css */

/* Opcional: tipografía global si usas system fonts */
:root {
color-scheme: light dark;
}

/* Reseteos muy leves; Chakra ya maneja la mayoría */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Si quieres, forzá que el body no tape el footer */
body { min-height: 100dvh; }

/* Deja Chakra trabajar: el fondo y color vendrán del tema UndeadBlocks */
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function RootLayout({
<body style={{ paddingBottom: "100px" }}>
<Providers>
<AutoConnect client={client} />
<Navbar />
{/* <Navbar /> */}
{children}
</Providers>
</body>
Expand Down
299 changes: 201 additions & 98 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,113 +1,216 @@
// "use client";

// import { Link } from "@chakra-ui/next-js";
// import { Box, Card, CardBody, CardHeader, Flex, Heading, Image, Stack, StackDivider, Text } from "@chakra-ui/react";
// import BuySellPage from "@/components/buySell-page/buysellpage";
// import { NFT_CONTRACTS } from "@/consts/nft_contracts";
// import { hederaMainnet } from "@/consts/chains";
// import MarketBoard from "@/components/buySell-page/MarketBoard";
// import AuctionsBoard from "@/components/auctions/AuctionsBoard"
// export default function Page() {
// return (
// <>
// {/* Bloque 1 */}
// <Flex>
// <Box mt="24px" m="auto">
// <Flex direction="column" gap="4">
// {/* Intro card */}
// <Card border="1px" maxW="90vw" mx="auto">
// <CardHeader>
// <Heading size="md">Marketplace UndeadBlocks</Heading>
// </CardHeader>



// {/* <CardBody>
// <Stack divider={<StackDivider />} spacing="4">
// {_latestUpdates.map((item) => (
// <Box key={item.title}>
// <Heading size="xs" textTransform="uppercase">
// {item.title}
// </Heading>
// {item.bullet_points.map((pt) => (
// <Text pt="2" fontSize="sm" key={pt}>
// {pt}
// </Text>
// ))}
// </Box>
// ))}
// </Stack>
// </CardBody> */}
// </Card>

// {/* Buy/Sell panel
// <Heading ml="20px" mt="40px">
// Trending collections
// </Heading>
// <BuySellPage address="" chain={hederaMainnet} /> */}

// {/* Collections grid */}
// <Flex
// direction="row"
// wrap="wrap"
// mt="20px"
// gap="5"
// justifyContent="space-evenly"
// >
// {NFT_CONTRACTS.map((item) => (
// <Link
// _hover={{ textDecoration: "none" }}
// w={300}
// h={400}
// key={`${item.chain.id}-${item.address}`}
// href={`/collection/${item.chain.id.toString()}/${item.address}`}
// >
// <Image
// src={item.thumbnailUrl}
// alt={item.title}
// w="300px"
// h="300px"
// objectFit="cover"
// borderRadius="md"
// />
// <Text fontSize="lg" mt="10px">
// {item.title}
// </Text>
// </Link>
// ))}
// </Flex>
// </Flex>
// </Box>
// </Flex>

// {/* Marketplace */}
// <Flex direction="column" gap="8" mt="24px" mx="auto" maxW="1200px">
// <Box>
// <Heading size="lg" mb="4">My NFTs</Heading>
// <BuySellPage address="" chain={hederaMainnet} />
// </Box>

// <Box>
// <Heading size="lg" mb="4">Marketplace</Heading>
// <MarketBoard />
// <Box mt="40px">
// <Heading size="lg" mb="4">Auctions</Heading>
// <AuctionsBoard />
// </Box>
// </Box>
// </Flex>
// </>
// );
// };



// // const _latestUpdates: Array<{ title: string; bullet_points: string[] }> = [
// // {
// // title: "Weapons",
// // bullet_points: [
// // "Shipped with the latest thirdweb SDK (v5) and Next.js 14 (App router)",
// // ],
// // },
// // {
// // title: "Last News",
// // bullet_points: [
// // "lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
// // "Support for Hedera Mainnet",
// // ],
// // },
// // {
// // title: "Multiple collections supported",
// // bullet_points: [
// // "The new template now supports multiple collections, you can view your owned NFTs and your listings",
// // ],
// // },
// // {
// // title: "Upcoming features in game and marketplace",
// // bullet_points: [
// // "lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
// // "lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
// // ],
// // },
// // {
// // title: "Contribute",
// // bullet_points: [
// // "We welcome all contributions from the community.",
// // "Found a bug or have some suggestions? Send an email to [email protected]",
// // ],
// // },
// // ];
// src/app/page.tsx
"use client";

import { NFT_CONTRACTS } from "@/consts/nft_contracts";
import { Link } from "@chakra-ui/next-js";
import {
Box,
Card,
CardBody,
CardHeader,
Flex,
Heading,
Image,
Stack,
StackDivider,
Text,
} from "@chakra-ui/react";
import HeroBanner from "@/components/hero/Herobanner";
import BuySellPage from "@/components/buySell-page/buysellpage";
import { NFT_CONTRACTS } from "@/consts/nft_contracts";
import { hederaMainnet } from "@/consts/chains";
import MarketBoard from "@/components/buySell-page/MarketBoard";
import AuctionsBoard from "@/components/auctions/AuctionsBoard";

export default function Home() {
export default function Page() {
return (
<Flex>
<Box mt="24px" m="auto">
<Flex direction="column" gap="4">
{/* Delete this <Card /> in your own app */}
<Card border="1px" maxW="90vw" mx="auto">
<CardHeader>
<Heading size="md">Marketplace Template v2</Heading>
</CardHeader>
<>
{/* HERO CABECERA (full-width, integra login + theme + Hedera) */}
<HeroBanner
title="title placeholder"
subtitle="subtitle placeholder"
ctaText="Call to Action"
// opcional: puedes pasar onCtaClick si quieres navegación
// onCtaClick={() => router.push("/collection/hedera")}
backgroundImage="/images/hero/undeadblocks_hero.jpg"
hederaBadgeSrc="/images/hedera-badge.png"
/>

<CardBody>
<Stack divider={<StackDivider />} spacing="4">
{_latestUpdates.map((item) => (
<Box key={item.title}>
<Heading size="xs" textTransform="uppercase">
{item.title}
</Heading>
{item.bullet_points.map((pt) => (
<Text pt="2" fontSize="sm" key={pt}>
{pt}
</Text>
))}
</Box>
))}
</Stack>
</CardBody>
</Card>
<Heading ml="20px" mt="40px">
Trending collections
</Heading>
<Flex
direction="row"
wrap="wrap"
mt="20px"
gap="5"
justifyContent="space-evenly"
>
{NFT_CONTRACTS.map((item) => (
<Link
_hover={{ textDecoration: "none" }}
w={300}
h={400}
key={item.address}
href={`/collection/${item.chain.id.toString()}/${item.address}`}
>
<Image src={item.thumbnailUrl} />
<Text fontSize="large" mt="10px">
{item.title}
</Text>
</Link>
))}
</Flex>
</Flex>
</Box>
</Flex>
{/* CONTENIDO */}
<Flex direction="column" gap="8" mt="24px" mx="auto" maxW="1200px">
{/* Grid de colecciones */}
{/* <Flex direction="row" wrap="wrap" mt="20px" gap="5" justifyContent="space-evenly">
{NFT_CONTRACTS.map((item) => (
<Link
_hover={{ textDecoration: "none" }}
w={300}
h={400}
key={`${item.chain.id}-${item.address}`}
href={`/collection/${item.chain.id.toString()}/${item.address}`}
>
<Image
src={item.thumbnailUrl}
alt={item.title}
w="300px"
h="300px"
objectFit="cover"
borderRadius="md"
/>
<Text fontSize="lg" mt="10px">
{item.title}
</Text>
</Link>
))}
</Flex> */}

{/* Bloques Marketplace existentes */}
<Box>
<Heading size="lg" mb="4">My NFTs</Heading>
<BuySellPage address="" chain={hederaMainnet} />
</Box>

<Box>
<Heading size="lg" mb="4">Marketplace</Heading>
<MarketBoard />
<Box mt="40px">
<Heading size="lg" mb="4">Auctions</Heading>
<AuctionsBoard />
</Box>
</Box>
</Flex>
</>
);
}

// Delete this in your own app
const _latestUpdates: Array<{ title: string; bullet_points: string[] }> = [
{
title: "Latest software",
bullet_points: [
"Shipped with the latest thirdweb SDK (v5) and Next.js 14 (App router)",
],
},
{
title: "Multi-chain",
bullet_points: [
"Seamlessly trade and browse items on multiple chains",
"You'd have to deploy a thirdweb Marketplace V3 contract on each of the chains you want to support",
],
},
{
title: "Multiple collections supported",
bullet_points: [
"The new template now supports multiple collections, you can view your owned NFTs and your listings",
],
},
{
title: "Upcoming features",
bullet_points: [
"Select different currencies (ERC20) when creating listings",
"UI for English Auctions",
],
},
{
title: "Contribute",
bullet_points: [
"We welcome all contributions from the community.",
"Found a bug or have some suggestions? Create a GitHub issue!",
"Repo: https://github.com/thirdweb-example/marketplace-template",
],
},
];
Loading