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

Added profile header #29

Merged
merged 9 commits into from
Oct 29, 2024
Merged

Added profile header #29

merged 9 commits into from
Oct 29, 2024

Conversation

Jacob-GHub
Copy link
Collaborator

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.

Screenshot 2024-10-24 at 9 19 23 PM

Let me know if anything needs to be changed!

@Jacob-GHub Jacob-GHub self-assigned this Oct 25, 2024
@Jacob-GHub Jacob-GHub linked an issue Oct 25, 2024 that may be closed by this pull request
}: HeaderProps) => {
return (
<div className="mb-10 mt-7 flex max-w-full flex-row items-center gap-5 overflow-hidden">
<img
Copy link
Contributor

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
Copy link
Contributor

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>
Copy link
Contributor

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.

@shahdivyank shahdivyank merged commit 3b8ac2d into dev Oct 29, 2024
5 checks passed
@shahdivyank shahdivyank deleted the Jacob-GHub/Profile-Header branch October 29, 2024 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create Profile Header
3 participants