Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frankie Power's Profile Page #19

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

FrankiePower
Copy link

@FrankiePower FrankiePower commented Jan 8, 2025

Add Personal Profile Page

Overview

Added a new profile page that serves as a portfolio/introduction. The page showcases my experience as a Web3 developer, includes social links, and provides easy access to my contact information.

Features

  • Professional introduction with Web3 focus
  • Experience stats and key metrics
  • Interactive profile image display
  • Social media/contact links integration
  • Location indicator
  • Dark/light mode support
  • Fully responsive design

Technical Implementation

  • Built using Next.js and Tailwind CSS
  • Integrated with Scaffold-ETH 2's theming system
  • Uses next/image for optimized image loading
  • Lucide icons for UI elements
  • Mobile-first responsive design

Components Added

  • Profile page component (pages/profile.tsx)
  • Social button component
  • Nigerian flag SVG component
  • Reused existing theme components

Screenshots

Screenshot from 2025-01-08 15-44-57

Screenshot from 2025-01-08 15-44-48

Additional Information

  • First contribution to batch repository
  • Following issue requirements

Related Issues #11

Your ENS/address: 0x24e765Fcd00106D7175837848ec9073f9fEb9d8e

Copy link

vercel bot commented Jan 8, 2025

@FrankiePower is attempting to deploy a commit to the BuidlGuidl Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

@derrekcoleman derrekcoleman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR, FrankiePower! I appreciate how descriptive your PR message is 🔥

Please take a look at my comments and let me know if you have any questions!

Copy link
Member

@derrekcoleman derrekcoleman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey again! Thanks for deleting package-lock.json and making the public folder.

I have two more requests related to the image filenames and yarn.lock, when you have a moment.

yarn.lock Outdated Show resolved Hide resolved
Copy link

vercel bot commented Jan 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
batch12.buidlguidl.com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 31, 2025 6:56am

Copy link
Collaborator

@phipsae phipsae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the updates!

A friendly tip: ensure your PR descriptions are concise and feel authentic. To me as a reviewer, it seems it was just copied from an LLM :)

Also, make sure to run your code before pushing it and requesting feedback. If you had, you'd have noticed that the pictures aren’t displaying as expected.

See below my comments.
Please don't hesitate to reach out if anything is unclear.

package.json Outdated Show resolved Hide resolved
yarn.lock Outdated Show resolved Hide resolved
href: string;
}

const profileImages = ["/image1.jpeg", "/image2.jpg"];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls make sure you have the right paths to the picture.
Have you tried to run your page before pushing? Because like this it cannot work :)

Comment on lines 125 to 129
<button
onClick={handleNextImage}
className="bg-white rounded-full dark:bg-base-300 btn btn-circle"
aria-label="Switch profile picture"
>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure that the format of the pictures are the same, so that when I click the button the code doesn't jump around.

Comment on lines 132 to 140
<button
onClick={toggleLocation}
className="bg-white rounded-full dark:bg-base-300 btn btn-circle relative"
aria-label={showLocation ? "Show globe" : "Show location"}
>
<div className="transition-all duration-300 transform group-hover:scale-110">
{showLocation ? <NigerianFlag /> : <Globe className="h-6 w-6" />}
</div>
</button>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the button for? Just to switch between the Nigerian flag and the globe symbol?
To me it seems the code is not complete, since its called toggleLocation?

const [showLocation, setShowLocation] = useState(false);

const handleNextImage = () => {
setCurrentImage(prev => (prev + 1) % profileImages.length);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we have a constant array profileImages, why do we need this logic?

@phipsae
Copy link
Collaborator

phipsae commented Jan 19, 2025

@FrankiePower don't forget your personal page :)

@FrankiePower FrankiePower deleted the superfranky branch January 31, 2025 06:28
@FrankiePower FrankiePower restored the superfranky branch January 31, 2025 06:28
@phipsae
Copy link
Collaborator

phipsae commented Jan 31, 2025

@FrankiePower in here should be only files that relates to your personal page review, please.

@derrekcoleman
Copy link
Member

@FrankiePower if you're not sure how to proceed, look up git push --force and git rebase to learn how to remove files from a PR that's already open

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants