|
| 1 | +import type { NextPage } from "next"; |
| 2 | +import { BlockieAvatar } from "~~/components/scaffold-eth"; |
| 3 | +import { Address } from "@scaffold-ui/components"; |
| 4 | + |
| 5 | +const address = "0x343Ab62785f8109a888d18db1Da3FDb7467ff538"; |
| 6 | +const name = "Wizz"; |
| 7 | +const bio = "A blockchain developer exploring the world of Ethereum and decentralized applications"; |
| 8 | +const skills = ["JavaScript", "Solidity", "Golang", "React", "Next.js", "Web3"]; |
| 9 | + |
| 10 | +const WizzPage: NextPage = () => { |
| 11 | + return ( |
| 12 | + <div className="flex items-center flex-col grow pt-32 bg-gradient-to-br from-purple-500 via-pink-500 to-red-500 min-h-screen"> |
| 13 | + <div className="px-5 max-w-2xl"> |
| 14 | + <div className="flex flex-col items-center mb-8 animate-[bounce_2s_forwards]"> |
| 15 | + <div className="border-4 border-white shadow-2xl rounded-full"> |
| 16 | + <BlockieAvatar address={address} size={120} /> |
| 17 | + </div> |
| 18 | + <h1 className="text-4xl font-bold mt-4 text-white drop-shadow-lg">{name}</h1> |
| 19 | + <p className="bg-base-100 p-6 rounded-3xl shadow-lg text-lg text-center"> |
| 20 | + <Address address={address} format="short" /> |
| 21 | + </p> |
| 22 | + </div> |
| 23 | + |
| 24 | + <div className="bg-base-100 p-6 rounded-3xl shadow-lg"> |
| 25 | + <h2 className="text-xl font-semibold mb-4 text-center">About Me</h2> |
| 26 | + <p className="text-lg leading-relaxed text-center mb-4">{bio}</p> |
| 27 | + <h3 className="text-lg font-semibold mb-2 text-center">Skills</h3> |
| 28 | + <div className="flex flex-wrap justify-center gap-2"> |
| 29 | + {skills.map((skill, index) => ( |
| 30 | + <span key={index} className="badge badge-primary badge-lg"> |
| 31 | + {skill} |
| 32 | + </span> |
| 33 | + ))} |
| 34 | + </div> |
| 35 | + </div> |
| 36 | + </div> |
| 37 | + </div> |
| 38 | + ); |
| 39 | +}; |
| 40 | + |
| 41 | +export default WizzPage; |
0 commit comments