Skip to content

Commit 44dd812

Browse files
authored
Merge pull request #44 from EbukaMoses/main
Ebuka Moses Profile
2 parents dd63ddb + a500f7e commit 44dd812

File tree

2 files changed

+84
-0
lines changed

2 files changed

+84
-0
lines changed
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
import Image from "next/image";
2+
import type { NextPage } from "next";
3+
import { FaGithub, FaTwitter } from "react-icons/fa";
4+
import { Address } from "~~/components/scaffold-eth";
5+
6+
const walletAddress = "0x391b638EB7d21B122Be2Ed69eb81DA7E0F168177";
7+
const socialLinks = [
8+
{
9+
href: "https://github.com/Ebukamoses",
10+
label: "GitHub",
11+
icon: <FaGithub />,
12+
},
13+
{
14+
href: "https://twitter.com/bukan_moses",
15+
label: "Twitter",
16+
icon: <FaTwitter />,
17+
},
18+
];
19+
20+
const EbukaMosesProfile: NextPage = () => {
21+
return (
22+
<div className="flex flex-col items-center min-h-screen bg-gradient-to-b from-base-200 to-base-300 px-4 sm:px-8 py-4 sm:py-8">
23+
<div className="max-w-[400px] w-full bg-gradient-to-r from-gray-[#f5f5f5] via-white to-[#e6e6e6] dark:from-base-100 dark:via-base-200 dark:to-base-100 shadow-md rounded-2xl p-4 sm:p-10 border border-gray-100 dark:border-accent">
24+
<div className="flex flex-col items-center gap-4 sm:gap-6">
25+
{/* Avatar */}
26+
<div className="relative group">
27+
<div className="relative w-24 h-24 sm:w-36 sm:h-36 rounded-lg ring-2 ring-white dark:ring-accent ring-offset-4 ring-offset-pink-50 dark:ring-offset-base-300 shadow-md overflow-hidden">
28+
<Image
29+
src="/EbukaDvAvatar2.png"
30+
alt="my picture"
31+
fill
32+
priority
33+
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
34+
className="w-full h-full object-cover p-1 rounded-lg"
35+
/>
36+
</div>
37+
</div>
38+
39+
{/* Name */}
40+
<div className="text-center">
41+
<h1 className="text-3xl sm:text-5xl font-extrabold text-black dark:text-white">Ebuka Moses</h1>
42+
<p className="text-sm sm:text-lg text-black bg-clip-text font-medium max-w-md dark:text-white px-2">
43+
Solidity | Express | Next | React
44+
</p>
45+
<p className="text-[12px]">
46+
I specialize in designing, building, and maintaining decentralized applications (dApps) and
47+
blockchain-based systems that work with technologies like Ethereum, smart contracts (often using
48+
Solidity), and distributed ledger protocols to create secure, transparent, and tamper-proof solutions for
49+
industries.
50+
</p>
51+
</div>
52+
53+
{/* Address container */}
54+
<div className="flex items-center w-full sm:w-auto bg-base-200 dark:bg-base-300 px-2 sm:px-4 py-2 rounded-xl border border-base-300 dark:border-accent text-xs sm:text-base">
55+
<div>
56+
<Address address={walletAddress} format="short" />
57+
</div>
58+
</div>
59+
<hr className="h-[2px] w-full" />
60+
{/* Social links */}
61+
<div className="flex flex-col gap-4 w-full sm:w-auto">
62+
<h2 className="text-center font-bold">Let&apos;s Connect</h2>
63+
<div className="flex flex-col lg:flex-row items-center gap-2 sm:gap-4">
64+
{socialLinks.map(({ href, label, icon }) => (
65+
<a
66+
key={href}
67+
href={href}
68+
target="_blank"
69+
rel="noopener noreferrer"
70+
className="btn btn-sm normal-case hover:scale-105 hover:-translate-y-1 transition-all duration-300 shadow-lg dark:bg-accent dark:hover:bg-accent/90 dark:text-accent-content w-full sm:w-auto"
71+
>
72+
{icon}
73+
<span>{label}</span>
74+
</a>
75+
))}
76+
</div>
77+
</div>
78+
</div>
79+
</div>
80+
</div>
81+
);
82+
};
83+
84+
export default EbukaMosesProfile;
383 KB
Loading

0 commit comments

Comments
 (0)