diff --git a/packages/nextjs/components/Card.tsx b/packages/nextjs/components/Card.tsx index fd44a7a..0ca1c0a 100644 --- a/packages/nextjs/components/Card.tsx +++ b/packages/nextjs/components/Card.tsx @@ -5,7 +5,7 @@ import { useRouter } from "next/router" export default function Card({domain} : {domain: string}) { const router = useRouter() return <> -
+
NFT Image

router.push("/cards/" + domain)}>{domain}

diff --git a/packages/nextjs/components/Navbar.tsx b/packages/nextjs/components/Navbar.tsx index 5a9eeab..7771afa 100644 --- a/packages/nextjs/components/Navbar.tsx +++ b/packages/nextjs/components/Navbar.tsx @@ -1,7 +1,18 @@ -export default function Navbar() { - return <> -
- +import Image from "next/image"; +import logo from "../public/logo.png"; + +export default function Navbar({ + extraComponent, +}: { + extraComponent?: JSX.Element; +}) { + return ( +
+
+ {extraComponent} + logo +
+
- -} \ No newline at end of file + ); +} diff --git a/packages/nextjs/pages/cards/[domain].tsx b/packages/nextjs/pages/cards/[domain].tsx index 4679ea2..425784e 100644 --- a/packages/nextjs/pages/cards/[domain].tsx +++ b/packages/nextjs/pages/cards/[domain].tsx @@ -1,14 +1,33 @@ -import { useRouter } from "next/router" +import { useRouter } from "next/router"; import Navbar from "@/components/Navbar"; +import Card from "@/components/Card"; export default function CardPage() { - - const router = useRouter(); - const { domain } = router.query; - return(<> -
+ const router = useRouter(); + const { domain } = router.query; + return ( + <> +
- {domain} -
- ) -} \ No newline at end of file +
+
+
+ +
+
+

+ OWNER: +

+

+ EXPIRE TIME: +

+

+ PRICE: +

+
+
+
+
+ + ); +} diff --git a/packages/nextjs/pages/chat.tsx b/packages/nextjs/pages/chat.tsx index 36f2002..0684bb3 100644 --- a/packages/nextjs/pages/chat.tsx +++ b/packages/nextjs/pages/chat.tsx @@ -20,7 +20,7 @@ export const ChatSupportTest = () => { account='0xFe6C8E9e25f7bcF374412c5C81B2578aC473C0F7' supportAddress="0xFe6C8E9e25f7bcF374412c5C81B2578aC473C0F7" apiKey="tAWEnggQ9Z.UaDBNjrvlJZx3giBTIQDcT8bKQo1O1518uF1Tea7rPwfzXv2ouV5rX9ViwgJUrXm" - env='staging' + env='ENV' theme={theme} /> ); diff --git a/packages/nextjs/pages/connect/index.tsx b/packages/nextjs/pages/connect/index.tsx index bb9bb82..d78bb73 100644 --- a/packages/nextjs/pages/connect/index.tsx +++ b/packages/nextjs/pages/connect/index.tsx @@ -57,6 +57,7 @@ export default function Connect() { return (