From da6aa4fa102a3df6cb7e1e8d40ec0bd577077f53 Mon Sep 17 00:00:00 2001 From: RafaelCaso <94573618+RafaelCaso@users.noreply.github.com> Date: Sun, 11 Aug 2024 12:17:58 -0400 Subject: [PATCH 1/3] issue #2 - add RolandTheFrank profile page --- .../page.tsx | 119 ++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 packages/nextjs/app/builders/0xd1B41bE30F980315b8A6b754754aAa299C7abea2/page.tsx diff --git a/packages/nextjs/app/builders/0xd1B41bE30F980315b8A6b754754aAa299C7abea2/page.tsx b/packages/nextjs/app/builders/0xd1B41bE30F980315b8A6b754754aAa299C7abea2/page.tsx new file mode 100644 index 0000000..56ba1cb --- /dev/null +++ b/packages/nextjs/app/builders/0xd1B41bE30F980315b8A6b754754aAa299C7abea2/page.tsx @@ -0,0 +1,119 @@ +import type { NextPage } from "next"; +import { Address } from "~~/components/scaffold-eth"; + +const profileUrl = "https://pbs.twimg.com/media/Ey8oK6gXMAUKrEX.jpg"; + +const RolandTheFrank: NextPage = () => { + return ( +
+
+ author avatar +
+
+

+ Roland The Frank +

+

Software Engineer

+
+ + Twitter + + + + + + GitHub + + + + + + Linkedin + + + + + + YouTube + + + + +
+
+
+
+

Have spare SepETH? Send it my way!

+
+
+
+
+

Not a designer!

+ + Profile Source Code + +
+
+
+
+
+ ); +}; + +export default RolandTheFrank; From cf85243612916d6f9547b275786e7f10f846725a Mon Sep 17 00:00:00 2001 From: RafaelCaso <94573618+RafaelCaso@users.noreply.github.com> Date: Tue, 13 Aug 2024 10:20:12 -0400 Subject: [PATCH 2/3] add svg components in new file and import in profile page. Center profile card vertically and horizontally --- .../page.tsx | 157 +++++++----------- .../profileLinks.tsx | 59 +++++++ 2 files changed, 117 insertions(+), 99 deletions(-) create mode 100644 packages/nextjs/app/builders/0xd1B41bE30F980315b8A6b754754aAa299C7abea2/profileLinks.tsx diff --git a/packages/nextjs/app/builders/0xd1B41bE30F980315b8A6b754754aAa299C7abea2/page.tsx b/packages/nextjs/app/builders/0xd1B41bE30F980315b8A6b754754aAa299C7abea2/page.tsx index 56ba1cb..cb66c68 100644 --- a/packages/nextjs/app/builders/0xd1B41bE30F980315b8A6b754754aAa299C7abea2/page.tsx +++ b/packages/nextjs/app/builders/0xd1B41bE30F980315b8A6b754754aAa299C7abea2/page.tsx @@ -1,3 +1,4 @@ +import { GitHubIcon, LinkedInIcon, TwitterIcon, YouTubeIcon } from "./profileLinks"; import type { NextPage } from "next"; import { Address } from "~~/components/scaffold-eth"; @@ -5,109 +6,67 @@ const profileUrl = "https://pbs.twimg.com/media/Ey8oK6gXMAUKrEX.jpg"; const RolandTheFrank: NextPage = () => { return ( -
-
- author avatar -
-
-

- Roland The Frank -

-

Software Engineer

-
- - Twitter - +
+
+ author avatar +
+
+

+ Roland The Frank +

+

Software Engineer

+ -
-
-
-

Have spare SepETH? Send it my way!

-
-
-
-
-

Not a designer!

- - Profile Source Code - + YouTube + {YouTubeIcon} + +
+
+
+
+

Have spare SepETH? Send it my way!

+
+
+
+
+

Not a designer!

+ + Profile Source Code + +
diff --git a/packages/nextjs/app/builders/0xd1B41bE30F980315b8A6b754754aAa299C7abea2/profileLinks.tsx b/packages/nextjs/app/builders/0xd1B41bE30F980315b8A6b754754aAa299C7abea2/profileLinks.tsx new file mode 100644 index 0000000..2ba99b1 --- /dev/null +++ b/packages/nextjs/app/builders/0xd1B41bE30F980315b8A6b754754aAa299C7abea2/profileLinks.tsx @@ -0,0 +1,59 @@ +export const TwitterIcon = ( + + + +); + +export const GitHubIcon = ( + + + +); + +export const LinkedInIcon = ( + + + +); + +export const YouTubeIcon = ( + + + +); From 8cb29ab44c59441880f492db24fce636dc553971 Mon Sep 17 00:00:00 2001 From: RafaelCaso <94573618+RafaelCaso@users.noreply.github.com> Date: Wed, 14 Aug 2024 16:05:18 -0400 Subject: [PATCH 3/3] fix css property name for React compatibility --- .../profileLinks.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/nextjs/app/builders/0xd1B41bE30F980315b8A6b754754aAa299C7abea2/profileLinks.tsx b/packages/nextjs/app/builders/0xd1B41bE30F980315b8A6b754754aAa299C7abea2/profileLinks.tsx index 2ba99b1..6098487 100644 --- a/packages/nextjs/app/builders/0xd1B41bE30F980315b8A6b754754aAa299C7abea2/profileLinks.tsx +++ b/packages/nextjs/app/builders/0xd1B41bE30F980315b8A6b754754aAa299C7abea2/profileLinks.tsx @@ -17,7 +17,7 @@ export const GitHubIcon = (