diff --git a/.DS_Store b/.DS_Store index 75417d93..2aaceec0 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/client/src/App.tsx b/client/src/App.tsx index 77d59e7a..3c4d51b0 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -14,6 +14,7 @@ import Lobby from "./pages/Lobby"; import Tutorial from "./pages/Tutorial"; import CONFIG, { IS_MAINNET } from "./lib/config"; import { constants } from "starknet"; +import Boards from "./pages/Boards"; const options = { theme: "realm-of-ra", @@ -72,6 +73,7 @@ export default function App() { } /> } /> } /> + } /> {isSmallScreen && } diff --git a/client/src/assets/default_board_sample.png b/client/src/assets/default_board_sample.png new file mode 100644 index 00000000..9d3b7407 Binary files /dev/null and b/client/src/assets/default_board_sample.png differ diff --git a/client/src/assets/starknet_board_sample.png b/client/src/assets/starknet_board_sample.png new file mode 100644 index 00000000..e6a2a21e Binary files /dev/null and b/client/src/assets/starknet_board_sample.png differ diff --git a/client/src/components/boards/board-block.tsx b/client/src/components/boards/board-block.tsx new file mode 100644 index 00000000..3ce57213 --- /dev/null +++ b/client/src/components/boards/board-block.tsx @@ -0,0 +1,27 @@ +import { Button } from "../ui/button"; + +export default function BoardBlock({ + image, + name, + description, + owned +}: { + image: string; + name: string; + description: string; + owned: boolean; +}) { + return( +
+
+ +

{name}

+

{description}

+ { + owned ? : + + } +
+
+ ) +} \ No newline at end of file diff --git a/client/src/pages/Boards.tsx b/client/src/pages/Boards.tsx new file mode 100644 index 00000000..ca25769a --- /dev/null +++ b/client/src/pages/Boards.tsx @@ -0,0 +1,69 @@ +import BoardBlock from "@/components/boards/board-block"; +import Header from "@/components/header"; +import { Helmet } from "react-helmet-async"; +import default_board_image from "@/assets/default_board_sample.png"; +import starknet_board_image from "@/assets/starknet_board_sample.png"; + +export default function Boards() { + const boards = [ + { + id: 1, + image: default_board_image, + name: 'Default Board', + description: 'Story about it that you can make mention of to have like a description', + owned: true + }, + { + id: 2, + image: starknet_board_image, + name: 'Starknet Board', + description: 'Story about it that you can make mention of to have like a description', + owned: false + } + ] + return( +
+ + + Buy Mancala Boards | Purchase High-Quality Mancala Sets + + + + {/* Open Graph */} + + + + + + {/* Twitter */} + + + +
+
+
+
+

Mancala Boards

+
+
+ { + boards.map(board => ) + } +
+
+
+
+ ) +} \ No newline at end of file