1- "use client" ;
2-
31import Image from "next/image" ;
42import Link from "next/link" ;
5- import { AddressCopyIcon } from "../../../components/scaffold-eth/Address/AddressCopyIcon " ;
3+ import { Address } from "../../../components/scaffold-eth/Address/Address " ;
64import type { NextPage } from "next" ;
75import { CodeBracketIcon , UserCircleIcon } from "@heroicons/react/24/outline" ;
86
9- const MRWICKSProfile : NextPage = ( ) => {
10- const walletAddress = "0xB24023434c3670E100068C925A87fE8F500d909a" ;
7+ const walletAddress = "0xB24023434c3670E100068C925A87fE8F500d909a" ;
118
12- const socialLinks = [
13- { href : "https://x.com/mrrwiicks" , label : "X" , icon : CodeBracketIcon } ,
14- { href : "https://github.com/mrwicks00" , label : "GitHub" , icon : CodeBracketIcon } ,
15- { href : "https://discord.com/users/987567935503597578" , label : "Discord" , icon : UserCircleIcon } ,
16- ] ;
9+ const socialLinks = [
10+ { href : "https://x.com/mrrwiicks" , label : "X" , icon : CodeBracketIcon } ,
11+ { href : "https://github.com/mrwicks00" , label : "GitHub" , icon : CodeBracketIcon } ,
12+ { href : "https://discord.com/users/987567935503597578" , label : "Discord" , icon : UserCircleIcon } ,
13+ ] ;
1714
15+ const MRWICKSProfile : NextPage = ( ) => {
1816 return (
1917 < div className = "min-h-screen bg-base-100 px-4 pt-16 pb-12" >
2018 < div className = "max-w-6xl mx-auto grid grid-cols-1 md:grid-cols-2 gap-8" >
2119 < div className = "flex flex-col items-center md:items-start" >
22- < div className = "relative w-48 h-48 mb-6 transform transition-transform hover:scale-105 " >
20+ < div className = "relative w-48 h-48 mb-6" >
2321 < Image
2422 src = "/596.avif"
2523 alt = "MRWICKS Avatar"
26- fill
24+ width = { 192 }
25+ height = { 192 }
2726 className = "rounded-full object-cover border-4 border-primary shadow-center"
2827 priority
2928 />
@@ -44,9 +43,14 @@ const MRWICKSProfile: NextPage = () => {
4443 < div className = "flex flex-col items-center md:items-start" >
4544 < div className = "mb-6 w-full" >
4645 < h2 className = "text-xl font-semibold text-primary-content mb-2" > Wallet</ h2 >
47- < div className = "flex items-center gap-2 bg-base-200 p-4 rounded-xl" >
48- < span className = "text-primary-content font-mono text-sm truncate max-w-xs" > { walletAddress } </ span >
49- < AddressCopyIcon address = { walletAddress } className = "h-6 w-6 text-primary" />
46+ < div className = "bg-base-200 p-4 rounded-xl" >
47+ < Address
48+ address = { walletAddress }
49+ size = "sm"
50+ format = "short"
51+ disableAddressLink = { true }
52+ onlyEnsOrAddress = { true }
53+ />
5054 </ div >
5155 </ div >
5256
0 commit comments