-
Notifications
You must be signed in to change notification settings - Fork 10
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
Created a personal page for snook1.eth (0xeb50...) #34
Open
NJarosz
wants to merge
1
commit into
BuidlGuidl:main
Choose a base branch
from
NJarosz:2-PersonalPageSnook1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file added
BIN
+2.93 KB
packages/nextjs/app/builders/0xeb50dD3Bb9E4F8986eB59A3fFbC9D72a4A3DD1c8/avatar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions
43
packages/nextjs/app/builders/0xeb50dD3Bb9E4F8986eB59A3fFbC9D72a4A3DD1c8/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import Image from "next/image"; | ||
import Link from "next/link"; | ||
import avatar from "./avatar.png"; | ||
import styles from "./styles.module.css"; | ||
import type { NextPage } from "next"; | ||
|
||
const Personal: NextPage = () => { | ||
return ( | ||
<div className="flex flex-col items-center p-4"> | ||
<Image | ||
src={avatar} | ||
alt="Nick's Avatar" | ||
width={150} | ||
height={150} | ||
className={`rounded-full mb-4 ${styles.animatedXMotion}`} | ||
/> | ||
<h1 className="text-3xl font-bold">snook1.eth</h1> | ||
<h2 className="text-xl ">Nick Jarosz</h2> | ||
<h3 className="text-l">Chicago, IL</h3> | ||
<h4 className="text-center">Developer | Blockchain Enthusiast</h4> | ||
<div className="bio-book bg-white shadow-lg rounded-lg p-4 max-w-md mb-4"> | ||
<p className="text-center mb-4 text-lg max-w-md"> | ||
I am a blockchain developer passionate about learning everything Web3 and Crypto. Currently exploring the | ||
intersection of RFID technology with Ethereum to build real-world supply chain solutions. | ||
</p> | ||
</div> | ||
<div className="grid grid-cols-2 gap-4 mt-4"> | ||
{[ | ||
{ href: "https://x.com/snook_eth", label: "X" }, | ||
{ href: "https://github.com/NJarosz", label: "GitHub" }, | ||
Comment on lines
+29
to
+30
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You could create a social links array and move it outside the component to prevent unnecessary recreation on each render and to enhance readability. |
||
].map((link, index) => ( | ||
<Link key={index} href={link.href} target="_blank" rel="noopener noreferrer"> | ||
<div className="flex items-center justify-center p-2 rounded-md border-2 border-gray-300 bg-white hover:border-blue-500 transition-all duration-300 ease-in-out"> | ||
<span className="text-l font-bold">{link.label}</span> | ||
</div> | ||
</Link> | ||
))} | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Personal; |
24 changes: 24 additions & 0 deletions
24
packages/nextjs/app/builders/0xeb50dD3Bb9E4F8986eB59A3fFbC9D72a4A3DD1c8/styles.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* styles.module.css */ | ||
@keyframes xMotion { | ||
|
||
0%, | ||
100% { | ||
transform: translate(0, 0); | ||
} | ||
|
||
25% { | ||
transform: translate(10px, -5px); | ||
} | ||
|
||
50% { | ||
transform: translate(-10px, -5px); | ||
} | ||
|
||
75% { | ||
transform: translate(10px, 0px); | ||
} | ||
} | ||
|
||
.animatedXMotion { | ||
animation: xMotion 3s ease-in-out infinite; | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since there are more personal pages, it would be nice to give it a more descriptive name.