|
| 1 | +import Image from "next/image"; |
| 2 | +import { DiscordIcon, FarcasterIcon, GithubIcon, SpeedRunIcon, TelegramIcon, XIcon } from "./icons"; |
| 3 | +import { Address } from "@scaffold-ui/components"; |
| 4 | +import { NextPage } from "next"; |
| 5 | + |
| 6 | +const WALLET_ADDRESS = "0x04cdfb463600a29e8e93053b88daa11f54379907"; |
| 7 | + |
| 8 | +const socialLinks = [ |
| 9 | + { href: "https://github.com/dharmanan", icon: GithubIcon, label: "GitHub", hoverBg: "hover:bg-[#333]" }, |
| 10 | + { href: "https://x.com/KohenEric", icon: XIcon, label: "X", hoverBg: "hover:bg-black" }, |
| 11 | + { |
| 12 | + href: "https://discordapp.com/users/dharma8447", |
| 13 | + icon: DiscordIcon, |
| 14 | + label: "Discord", |
| 15 | + hoverBg: "hover:bg-[#5865F2]", |
| 16 | + }, |
| 17 | + { href: "https://t.me/darmadagan", icon: TelegramIcon, label: "Telegram", hoverBg: "hover:bg-[#0088cc]" }, |
| 18 | + { href: "https://warpcast.com/dharman", icon: FarcasterIcon, label: "Farcaster", hoverBg: "hover:bg-[#8A63D2]" }, |
| 19 | + { |
| 20 | + href: "https://speedrunethereum.com/builders/0x04cDfB463600a29e8E93053B88DAa11f54379907", |
| 21 | + icon: SpeedRunIcon, |
| 22 | + label: "SpeedRun", |
| 23 | + hoverBg: "hover:bg-[#8B5CF6]", |
| 24 | + }, |
| 25 | +]; |
| 26 | + |
| 27 | +const skills = ["Solidity", "Ethereum", "Smart Contracts", "Arbitrum", "Security", "Web3.js"]; |
| 28 | + |
| 29 | +const KohenEricBuilder: NextPage = () => { |
| 30 | + return ( |
| 31 | + <div className="min-h-screen bg-base-200 dark:bg-base-300 flex items-center justify-center p-4"> |
| 32 | + <div className="w-full max-w-2xl bg-base-100 dark:bg-base-200 border border-base-300 dark:border-base-100/10 rounded-3xl shadow-xl overflow-hidden"> |
| 33 | + {/* Header Section */} |
| 34 | + <div className="flex flex-col items-center text-center p-8 md:p-12 space-y-6"> |
| 35 | + {/* Avatar */} |
| 36 | + <div className="relative"> |
| 37 | + <div className="w-32 h-32 rounded-full p-1 bg-linear-to-tr from-primary to-secondary shadow-2xl"> |
| 38 | + <div className="w-full h-full rounded-full overflow-hidden bg-base-100 dark:bg-base-300"> |
| 39 | + <Image |
| 40 | + src="/avatar.webp" |
| 41 | + alt="Kohen Eric Avatar" |
| 42 | + width={120} |
| 43 | + height={120} |
| 44 | + className="rounded-full object-cover w-full h-full" |
| 45 | + /> |
| 46 | + </div> |
| 47 | + </div> |
| 48 | + </div> |
| 49 | + |
| 50 | + {/* Name & Title */} |
| 51 | + <div> |
| 52 | + <h1 className="text-4xl md:text-5xl font-bold text-base-content">Kohen Eric</h1> |
| 53 | + <p className="text-sm uppercase tracking-widest text-base-content/60 mt-2 font-semibold"> |
| 54 | + Batch 22 Graduate |
| 55 | + </p> |
| 56 | + </div> |
| 57 | + |
| 58 | + {/* Bio */} |
| 59 | + <p className="text-base-content/80 max-w-md leading-relaxed"> |
| 60 | + Smart contract developer building on Arbitrum. Passionate about creating secure Web3 infrastructure. |
| 61 | + </p> |
| 62 | + |
| 63 | + {/* Wallet Address - Using Scaffold-UI */} |
| 64 | + <div className="flex items-center gap-2"> |
| 65 | + <Address address={WALLET_ADDRESS} /> |
| 66 | + </div> |
| 67 | + |
| 68 | + {/* Skills */} |
| 69 | + <div className="w-full space-y-3"> |
| 70 | + <h3 className="text-left text-xs font-bold uppercase tracking-widest text-base-content/50"> |
| 71 | + Skills & Focus |
| 72 | + </h3> |
| 73 | + <div className="flex flex-wrap gap-2 justify-center md:justify-start"> |
| 74 | + {skills.map(skill => ( |
| 75 | + <span |
| 76 | + key={skill} |
| 77 | + className="px-3 py-1.5 text-xs font-medium rounded-lg bg-base-200 dark:bg-base-300 text-base-content/80 border border-base-300 dark:border-base-100/10" |
| 78 | + > |
| 79 | + {skill} |
| 80 | + </span> |
| 81 | + ))} |
| 82 | + </div> |
| 83 | + </div> |
| 84 | + |
| 85 | + {/* Achievements */} |
| 86 | + <div className="w-full space-y-3"> |
| 87 | + <h3 className="text-left text-xs font-bold uppercase tracking-widest text-base-content/50">Achievements</h3> |
| 88 | + <div className="grid grid-cols-1 md:grid-cols-2 gap-3"> |
| 89 | + <div className="flex items-start gap-3 p-4 rounded-xl bg-base-200 dark:bg-base-300 border border-base-300 dark:border-base-100/10 text-left"> |
| 90 | + <div className="p-2 rounded-lg bg-success/10 text-success"> |
| 91 | + <svg className="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 92 | + <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M5 13l4 4L19 7" /> |
| 93 | + </svg> |
| 94 | + </div> |
| 95 | + <div> |
| 96 | + <h4 className="font-semibold text-sm text-base-content">Check-in Complete</h4> |
| 97 | + <p className="text-xs text-base-content/60 mt-0.5">Successfully checked into BatchRegistry</p> |
| 98 | + </div> |
| 99 | + </div> |
| 100 | + <div className="flex items-start gap-3 p-4 rounded-xl bg-base-200 dark:bg-base-300 border border-base-300 dark:border-base-100/10 text-left"> |
| 101 | + <div className="p-2 rounded-lg bg-warning/10 text-warning"> |
| 102 | + <svg className="w-5 h-5" fill="currentColor" viewBox="0 0 24 24"> |
| 103 | + <path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z" /> |
| 104 | + </svg> |
| 105 | + </div> |
| 106 | + <div> |
| 107 | + <h4 className="font-semibold text-sm text-base-content">Batch 22 Member</h4> |
| 108 | + <p className="text-xs text-base-content/60 mt-0.5">Active participant in BuidlGuidl</p> |
| 109 | + </div> |
| 110 | + </div> |
| 111 | + </div> |
| 112 | + </div> |
| 113 | + |
| 114 | + {/* Social Links */} |
| 115 | + <div className="w-full pt-4 border-t border-base-300 dark:border-base-100/10 space-y-3"> |
| 116 | + <h3 className="text-left text-xs font-bold uppercase tracking-widest text-base-content/50">Connect</h3> |
| 117 | + <div className="flex flex-wrap gap-3 justify-center sm:justify-start"> |
| 118 | + {socialLinks.map(({ href, icon: Icon, label, hoverBg }) => ( |
| 119 | + <a |
| 120 | + key={label} |
| 121 | + href={href} |
| 122 | + target="_blank" |
| 123 | + rel="noopener noreferrer" |
| 124 | + title={label} |
| 125 | + className={`w-12 h-12 rounded-xl bg-base-200 dark:bg-base-300 border border-base-300 dark:border-base-100/10 flex items-center justify-center transition-all duration-300 ${hoverBg} hover:text-white hover:border-transparent active:scale-95`} |
| 126 | + > |
| 127 | + <Icon className="w-5 h-5" /> |
| 128 | + </a> |
| 129 | + ))} |
| 130 | + </div> |
| 131 | + </div> |
| 132 | + |
| 133 | + {/* Footer */} |
| 134 | + <p className="text-xs text-base-content/40 pt-2">Built with ❤️ on Scaffold-ETH 2</p> |
| 135 | + </div> |
| 136 | + </div> |
| 137 | + </div> |
| 138 | + ); |
| 139 | +}; |
| 140 | + |
| 141 | +export default KohenEricBuilder; |
0 commit comments