-
Notifications
You must be signed in to change notification settings - Fork 5
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
Added profile header #29
Conversation
}: HeaderProps) => { | ||
return ( | ||
<div className="mb-10 mt-7 flex max-w-full flex-row items-center gap-5 overflow-hidden"> | ||
<img |
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.
use next/image
<div className="max-h-full max-w-full"> | ||
<div className="gap-x-1/2 gap-y-1/2 grid grid-cols-[30px_1fr] items-center"> | ||
<Mail className="h-5 w-5" /> | ||
<a |
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.
use next/link
instead of a
className="hidden h-40 w-1/6 rounded-xl object-cover md:block" | ||
/> | ||
<div className="flex max-h-full w-full max-w-full flex-col gap-1"> | ||
<h1 className="text-3xl font-bold">{name}</h1> |
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.
using h1 directly like this messes with SEO.
should be able to use a <p>
tag instead and i think text-3xl
will keep it the same size.
…-GHub/Profile-Header
Had to use react icons for the discord logo, added the header, and added a public folder to test out images. Also right now everything is blue.
Let me know if anything needs to be changed!