Skip to content

Commit 14e96e5

Browse files
authored
Merge pull request #15 from dharmanan/personal-page-only
feat: Add personal builder page for Batch 22
2 parents 0d1d028 + aaa921b commit 14e96e5

File tree

9 files changed

+187
-0
lines changed

9 files changed

+187
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export const DiscordIcon = ({ className }: { className?: string }) => (
2+
<svg className={className} viewBox="0 0 24 24" fill="currentColor">
3+
<path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189z" />
4+
</svg>
5+
);
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export const FarcasterIcon = ({ className }: { className?: string }) => (
2+
<svg className={className} viewBox="0 0 24 24" fill="currentColor">
3+
<path d="M18.24 3H5.76A2.76 2.76 0 0 0 3 5.76v12.48A2.76 2.76 0 0 0 5.76 21h12.48A2.76 2.76 0 0 0 21 18.24V5.76A2.76 2.76 0 0 0 18.24 3zM17 17h-1.5v-4.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5V17h-1.5v-4.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5V17H6V7h11v10z" />
4+
</svg>
5+
);
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export const GithubIcon = ({ className }: { className?: string }) => (
2+
<svg className={className} viewBox="0 0 24 24" fill="currentColor">
3+
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" />
4+
</svg>
5+
);
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
export const SpeedRunIcon = ({ className }: { className?: string }) => (
2+
<svg
3+
className={className}
4+
viewBox="0 0 24 24"
5+
fill="none"
6+
stroke="currentColor"
7+
strokeWidth="2"
8+
strokeLinecap="round"
9+
strokeLinejoin="round"
10+
>
11+
<path d="M12 2L2 7l10 5 10-5-10-5z" />
12+
<path d="M2 17l10 5 10-5" />
13+
<path d="M2 12l10 5 10-5" />
14+
</svg>
15+
);
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export const TelegramIcon = ({ className }: { className?: string }) => (
2+
<svg className={className} viewBox="0 0 24 24" fill="currentColor">
3+
<path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z" />
4+
</svg>
5+
);
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export const XIcon = ({ className }: { className?: string }) => (
2+
<svg className={className} viewBox="0 0 24 24" fill="currentColor">
3+
<path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231 5.45-6.231h0.001zm-1.161 17.52h1.833L7.084 4.126H5.117l11.966 15.644z" />
4+
</svg>
5+
);
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export { GithubIcon } from "./GithubIcon";
2+
export { XIcon } from "./XIcon";
3+
export { DiscordIcon } from "./DiscordIcon";
4+
export { TelegramIcon } from "./TelegramIcon";
5+
export { FarcasterIcon } from "./FarcasterIcon";
6+
export { SpeedRunIcon } from "./SpeedRunIcon";
Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
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;

packages/nextjs/public/avatar.webp

28.3 KB
Loading

0 commit comments

Comments
 (0)