-
Notifications
You must be signed in to change notification settings - Fork 8
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
Issue #2 - abdulkadir personal page #35
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import React from "react"; | ||
import { FaGithub } from "react-icons/fa"; | ||
import { SiGmail } from "react-icons/si"; | ||
import { Address } from "~~/components/scaffold-eth"; | ||
import { BlockieAvatar } from "~~/components/scaffold-eth"; | ||
|
||
const PersonalPage = () => { | ||
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 might want to consider typing your page as NextPage since we are using TypeScript, as this ensures better integration and adds clarity for future maintainers by indicating that the component is a Next.js page. Also you could consider it after your name since there are are many more personal pages. |
||
return ( | ||
<div className=" flex justify-center items-center"> | ||
<div> | ||
<div className=" pt-24 lg:pt-[100px]"> | ||
<div className="flex flex-col-reverse lg:flex-row items-center justify-center gap-x-[50px] md:mx-[550px]"> | ||
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. |
||
<div className=" w-full"> | ||
<h1 className=" text-[40px] font-bold md:my-[1rem]">Hello 👋🏼</h1> | ||
<p className=" text-[14px] md:text-lg p-1 font-semibold w-full text-justify mb-[6px]"> | ||
My name is Abdulkadir. I want to become a doctor in the future. I really like computer games. I try to | ||
balance my studies with my hobbies. | ||
</p> | ||
<div className=" flex items-center gap-x-2 -my-3"> | ||
<p>Address :</p>{" "} | ||
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. |
||
<div className="bg-primary-content text-secondary px-3 py-2 rounded-[10px] my-3"> | ||
<Address address="0x6d3321b4637D8451740Cf400848602f838F7A594" /> | ||
</div> | ||
</div> | ||
|
||
<div className=" flex items-center justify-center lg:justify-start gap-5 text-[20px] lg:text-[23px] my-1 "> | ||
<a | ||
href={"https://github.com/0xabdulkadir"} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
className=" hover:text-accent duration-300 ease-in-out text-[1.8rem]" | ||
> | ||
<FaGithub /> | ||
</a> | ||
|
||
<a | ||
href="mailto:[email protected]" | ||
className=" hover:text-accent duration-300 ease-in-out text-[1.8rem]" | ||
> | ||
<SiGmail /> | ||
</a> | ||
</div> | ||
</div> | ||
|
||
<div className=" relative rounded-full overflow-hidden h-auto w-[270px] md:mb-20"> | ||
<BlockieAvatar address="0x6d3321b4637D8451740Cf400848602f838F7A594" size={270} /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default PersonalPage; |
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.
You don't need to explicitly import React in Next.js anymore, starting from Next.js 12.2 and React 17 and above. With these versions, Next.js automatically imports React when needed, so you can safely omit import React from "react" at the top of your files.