Skip to content
Merged
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
"use client";

import { Address } from "@scaffold-ui/components";

export function AddressBlock() {
return (
<div className="flex flex-col items-center gap-2">
<p className="text-sm font-semibold">Address:</p>
<Address address="0x5258c93FbF34600a89bb1B7A57Fe9B981A693Fc7" />
</div>
);
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
"use client";

import Image from "next/image";
import { Address } from "@scaffold-ui/components";
import { AddressBlock } from "./AddressBlock";
import type { NextPage } from "next";

const KhanoPage: NextPage = () => {
Expand All @@ -17,15 +15,13 @@ const KhanoPage: NextPage = () => {

<h1 className="text-4xl font-bold">Khano</h1>

<p className="max-w-xl text-lg text-gray-300">
<p className="max-w-xl text-lg text-gray-700 dark:text-gray-300">
Crypto trader, builder, and Web3 adventurer — exploring the Ethereum rabbit hole one challenge at a time. Proud
member of BuidlGuidl Batch 22.
</p>

<div className="flex flex-col items-center gap-2">
<p className="text-sm font-semibold">Address:</p>
<Address address="0x5258c93FbF34600a89bb1B7A57Fe9B981A693Fc7" />
</div>
{/* Client-side address rendering */}
<AddressBlock />

<div className="mt-6 flex space-x-8 text-lg">
<a href="https://x.com/MrKhano" target="_blank" className="text-blue-400 hover:underline">
Expand Down