From d1e01f5c27badf013511b3bb2fe704b9e463fabf Mon Sep 17 00:00:00 2001 From: Gbolahan Akande Date: Tue, 19 Nov 2024 23:39:36 +0100 Subject: [PATCH 1/3] feat: add personal builder page --- .../page.tsx | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 packages/nextjs/app/builders/0x5cc8Be96B1C9A68F57a73b5bEa60cF5D890055A1/page.tsx diff --git a/packages/nextjs/app/builders/0x5cc8Be96B1C9A68F57a73b5bEa60cF5D890055A1/page.tsx b/packages/nextjs/app/builders/0x5cc8Be96B1C9A68F57a73b5bEa60cF5D890055A1/page.tsx new file mode 100644 index 0000000..eb68ac6 --- /dev/null +++ b/packages/nextjs/app/builders/0x5cc8Be96B1C9A68F57a73b5bEa60cF5D890055A1/page.tsx @@ -0,0 +1,85 @@ +import { EnvelopeIcon, GiftIcon, GlobeAltIcon } from "@heroicons/react/24/outline"; + +// Styles object to keep things organized +const styles = { + container: "min-h-screen p-8 bg-base-200", + card: "max-w-2xl mx-auto p-8 bg-base-100 rounded-xl shadow-lg", + profileSection: "flex flex-col md:flex-row items-center md:items-start gap-6", + avatar: "w-32 h-32 rounded-full border-4 border-base-300", + nameSection: "text-center md:text-left", + name: "text-3xl font-bold", + address: "font-mono text-sm text-base-content/70", + section: "mt-8", + sectionTitle: "text-xl font-semibold mb-4 text-base-content", + bio: "text-base-content/80 leading-relaxed", + socialLinks: "flex gap-4 items-center justify-center md:justify-start", + socialIcon: "p-2 hover:bg-base-200 rounded-full transition-colors duration-200 w-10 h-10", +}; + +const BuilderPage = () => { + const builderDetails = { + name: "Gbolahan Akande", + address: "0x5cc8Be96B1C9A68F57a73b5bEa60cF5D890055A1", + bio: "A passionate Web3 developer with experience in Solidity and full-stack development. Currently building decentralized applications and contributing to BuidlGuidl projects. Excited about the future of blockchain technology and its potential to reshape the digital world.", + avatar: "https://api.multiavatar.com/Binx.png", + links: { + github: "gboigwe", + website: "https://agedevs.netlify.app", + email: "geakande@email.com", + }, + }; + + return ( +
+
+
+ Profile +
+

{builderDetails.name}

+

{builderDetails.address}

+
+
+ +
+

About Me

+

{builderDetails.bio}

+
+ +
+

Connect

+
+ {builderDetails.links.github && ( + + + + )} + {builderDetails.links.website && ( + + + + )} + {builderDetails.links.email && ( + + + + )} +
+
+
+
+ ); +}; + +export default BuilderPage; From 343670d89024eac8e3b530677d5549a545779274 Mon Sep 17 00:00:00 2001 From: Gbolahan Akande Date: Wed, 20 Nov 2024 12:28:08 +0100 Subject: [PATCH 2/3] feat: add descriptive personl builder page with responsive design --- .../page.tsx | 162 +++++++++++------- 1 file changed, 100 insertions(+), 62 deletions(-) diff --git a/packages/nextjs/app/builders/0x5cc8Be96B1C9A68F57a73b5bEa60cF5D890055A1/page.tsx b/packages/nextjs/app/builders/0x5cc8Be96B1C9A68F57a73b5bEa60cF5D890055A1/page.tsx index eb68ac6..1153b49 100644 --- a/packages/nextjs/app/builders/0x5cc8Be96B1C9A68F57a73b5bEa60cF5D890055A1/page.tsx +++ b/packages/nextjs/app/builders/0x5cc8Be96B1C9A68F57a73b5bEa60cF5D890055A1/page.tsx @@ -1,85 +1,123 @@ -import { EnvelopeIcon, GiftIcon, GlobeAltIcon } from "@heroicons/react/24/outline"; +import { NextPage } from "next"; +import { EnvelopeIcon, GlobeAltIcon } from "@heroicons/react/24/outline"; +import { Address } from "~~/components/scaffold-eth"; + +// Custom GitHub Icon SVG component +const GitHubIcon = () => ( + + + +); -// Styles object to keep things organized const styles = { - container: "min-h-screen p-8 bg-base-200", - card: "max-w-2xl mx-auto p-8 bg-base-100 rounded-xl shadow-lg", - profileSection: "flex flex-col md:flex-row items-center md:items-start gap-6", - avatar: "w-32 h-32 rounded-full border-4 border-base-300", - nameSection: "text-center md:text-left", - name: "text-3xl font-bold", - address: "font-mono text-sm text-base-content/70", - section: "mt-8", - sectionTitle: "text-xl font-semibold mb-4 text-base-content", - bio: "text-base-content/80 leading-relaxed", - socialLinks: "flex gap-4 items-center justify-center md:justify-start", - socialIcon: "p-2 hover:bg-base-200 rounded-full transition-colors duration-200 w-10 h-10", + container: "min-h-screen p-8 bg-gradient-to-b from-base-200 to-base-300 dark:from-base-300 dark:to-base-200", + card: "max-w-4xl mx-auto p-12 bg-base-100 rounded-2xl shadow-xl border border-base-300 dark:bg-base-200 dark:border-base-400", + profileSection: "flex flex-col md:flex-row items-center md:items-start gap-8", + avatarContainer: "relative group", + avatar: "w-40 h-40 md:w-48 md:h-48 rounded-2xl shadow-lg transition-transform duration-300 group-hover:scale-105", + nameSection: "flex-1 text-center md:text-left space-y-2", + name: "text-4xl font-extrabold text-base-content dark:text-white bg-gradient-to-r from-primary to-secondary bg-clip-text", + section: "mt-10", + sectionTitle: "text-2xl font-extrabold mb-6 text-base-content dark:text-white flex items-center gap-2", + titleIcon: "w-6 h-6 text-primary", + bio: "text-base-content dark:text-white font-semibold leading-relaxed text-lg", + highlight: + "inline-block bg-primary/20 dark:bg-primary/30 text-primary dark:text-primary-content px-3 py-1 rounded-md font-bold", + socialLinks: "flex gap-6 items-center justify-center md:justify-start mt-8", + socialIcon: + "p-3 hover:bg-base-200 dark:hover:bg-base-300 rounded-xl transition-all duration-200 hover:scale-110 hover:shadow-md text-base-content dark:text-white", + divider: "my-8 border-t border-base-300 dark:border-base-400", + addressContainer: + "mt-2 bg-base-200 dark:bg-base-300 py-2 px-4 rounded-lg inline-block text-base-content dark:text-white", +}; + +// Profile details +const builderDetails = { + name: "Gbolahan Akande", + address: "0x5cc8Be96B1C9A68F57a73b5bEa60cF5D890055A1", + bio: ( + <> + A passionate Web3 developer with experience in{" "} + Solidity and{" "} + full-stack development. Currently building{" "} + decentralized applications and contributing to{" "} + BuidlGuidl projects. Excited about the future of{" "} + blockchain technology and its potential to reshape the digital world. + + ), + avatar: "https://1.gravatar.com/userimage/206352262/e4937825bd2f70cf0335dce4e8792eda?size=256", // Increased size for better quality + links: { + github: "gboigwe", + website: "https://agedevs.netlify.app", + email: "geakande@gmail.com", + }, }; -const BuilderPage = () => { - const builderDetails = { - name: "Gbolahan Akande", - address: "0x5cc8Be96B1C9A68F57a73b5bEa60cF5D890055A1", - bio: "A passionate Web3 developer with experience in Solidity and full-stack development. Currently building decentralized applications and contributing to BuidlGuidl projects. Excited about the future of blockchain technology and its potential to reshape the digital world.", - avatar: "https://api.multiavatar.com/Binx.png", - links: { - github: "gboigwe", - website: "https://agedevs.netlify.app", - email: "geakande@email.com", - }, - }; +// avatar: "https://api.multiavatar.com/Binx.png", // Increased size for better quality https://1.gravatar.com/userimage/206352262/e4937825bd2f70cf0335dce4e8792eda?size=256 +const GbolahanAkandeBuilderPage: NextPage = () => { return (
- Profile +
+ Profile +

{builderDetails.name}

-

{builderDetails.address}

+
+
+
+ +
+ {builderDetails.links.github && ( + + + + )} + {builderDetails.links.website && ( + + + + )} + {builderDetails.links.email && ( + + + + )} +
+
+

About Me

{builderDetails.bio}

- -
-

Connect

-
- {builderDetails.links.github && ( - - - - )} - {builderDetails.links.website && ( - - - - )} - {builderDetails.links.email && ( - - - - )} -
-
); }; -export default BuilderPage; +export default GbolahanAkandeBuilderPage; From 7ee01ed5b1a753e0489c86c767fe9da5e2e0cb6a Mon Sep 17 00:00:00 2001 From: Gbolahan Akande Date: Wed, 20 Nov 2024 13:56:12 +0100 Subject: [PATCH 3/3] feat: add buidlguidl icon linked to my profile --- .../page.tsx | 30 +++++++++++++++---- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/packages/nextjs/app/builders/0x5cc8Be96B1C9A68F57a73b5bEa60cF5D890055A1/page.tsx b/packages/nextjs/app/builders/0x5cc8Be96B1C9A68F57a73b5bEa60cF5D890055A1/page.tsx index 1153b49..e020984 100644 --- a/packages/nextjs/app/builders/0x5cc8Be96B1C9A68F57a73b5bEa60cF5D890055A1/page.tsx +++ b/packages/nextjs/app/builders/0x5cc8Be96B1C9A68F57a73b5bEa60cF5D890055A1/page.tsx @@ -2,7 +2,6 @@ import { NextPage } from "next"; import { EnvelopeIcon, GlobeAltIcon } from "@heroicons/react/24/outline"; import { Address } from "~~/components/scaffold-eth"; -// Custom GitHub Icon SVG component const GitHubIcon = () => ( ( ); +const BuidlGuidlLogo = () => ( + + + +); + const styles = { container: "min-h-screen p-8 bg-gradient-to-b from-base-200 to-base-300 dark:from-base-300 dark:to-base-200", card: "max-w-4xl mx-auto p-12 bg-base-100 rounded-2xl shadow-xl border border-base-300 dark:bg-base-200 dark:border-base-400", @@ -37,9 +45,10 @@ const styles = { divider: "my-8 border-t border-base-300 dark:border-base-400", addressContainer: "mt-2 bg-base-200 dark:bg-base-300 py-2 px-4 rounded-lg inline-block text-base-content dark:text-white", + buidlGuidlLink: + "flex items-center gap-2 text-base-content dark:text-white hover:text-primary dark:hover:text-primary transition-colors duration-200", }; -// Profile details const builderDetails = { name: "Gbolahan Akande", address: "0x5cc8Be96B1C9A68F57a73b5bEa60cF5D890055A1", @@ -53,16 +62,15 @@ const builderDetails = { blockchain technology and its potential to reshape the digital world. ), - avatar: "https://1.gravatar.com/userimage/206352262/e4937825bd2f70cf0335dce4e8792eda?size=256", // Increased size for better quality + avatar: "https://1.gravatar.com/userimage/206352262/e4937825bd2f70cf0335dce4e8792eda?size=256", links: { github: "gboigwe", website: "https://agedevs.netlify.app", email: "geakande@gmail.com", + buidlGuidl: "0x5cc8Be96B1C9A68F57a73b5bEa60cF5D890055A1", }, }; -// avatar: "https://api.multiavatar.com/Binx.png", // Increased size for better quality https://1.gravatar.com/userimage/206352262/e4937825bd2f70cf0335dce4e8792eda?size=256 - const GbolahanAkandeBuilderPage: NextPage = () => { return (
@@ -78,6 +86,18 @@ const GbolahanAkandeBuilderPage: NextPage = () => {
+ {builderDetails.links.buidlGuidl && ( + + + {/* BuidlGuidl Profile */} + + )} {builderDetails.links.github && (