Skip to content

Comments

Kayla navbar pt1#27

Open
KaylaYuChen wants to merge 9 commits intomainfrom
kayla-navbar
Open

Kayla navbar pt1#27
KaylaYuChen wants to merge 9 commits intomainfrom
kayla-navbar

Conversation

@KaylaYuChen
Copy link
Collaborator

Description

Made the Navbar
Screenshot 2026-02-05 at 7 16 44 PM

Checklist:

after creating your PR please mark all of these:

  • Global colors were used
  • I'm not sure how to pass these Text/images/paths in props without causing further errors. Can you leads (Kyhara or Austin) take a look at it?

@KaylaYuChen KaylaYuChen linked an issue Feb 6, 2026 that may be closed by this pull request
@@ -0,0 +1,65 @@
.nav {
display: flex;
width: 90rem;
Copy link
Collaborator

@austin1im austin1im Feb 13, 2026

Choose a reason for hiding this comment

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

this should be 100% so it can grow/shrink with every screen size (line 3)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I see! That makes sense!

align-items: center;
gap: 0.625rem;
background-color: var(--white);
box-shadow: 0 5px 50px rgba(126, 132, 160, 0.10);
Copy link
Collaborator

@austin1im austin1im Feb 13, 2026

Choose a reason for hiding this comment

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

what does this do (line 10)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It adds to the rest of the page so the the rest of the page match the color of the navbar. But I realized the navbar currently looks grey even though I coded it white. I'm not sure why it looks grey. Can you take a look for me? The goal is for it to look white.

Screenshot 2026-02-19 at 12 08 10 AM

background-color: var(--white);
box-shadow: 0 5px 50px rgba(126, 132, 160, 0.10);

position: fixed;
Copy link
Collaborator

@austin1im austin1im Feb 13, 2026

Choose a reason for hiding this comment

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

is anything below here really necessary (line 12)

Copy link
Collaborator

Choose a reason for hiding this comment

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

also final note can u make a folder called _components and rename _Navbar to Navbar and move it in there, i forgot to add it on the old version of main

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I did it for centering and pushing the navbar up but you're right nothing changed when I deleted it so I'll remove it. Thank you for noticing it!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added!

Copy link
Collaborator

Choose a reason for hiding this comment

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

can u remove position: fixed as well

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done!

background-color: var(--white);
box-shadow: 0 5px 50px rgba(126, 132, 160, 0.10);

position: fixed;
Copy link
Collaborator

Choose a reason for hiding this comment

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

can u remove position: fixed as well

.nav {
display: flex;
width: 100%;
height: 6rem;
Copy link
Collaborator

Choose a reason for hiding this comment

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

can u remove the height and depend on padding instead

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done!

}

.pages {
margin-left: auto;
Copy link
Collaborator

Choose a reason for hiding this comment

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

instead of margin left auto i think it would be better to have a div with the logo & links and then use justify-content: space-between

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done I added a div name .right

position: fixed;
}

.logo {
Copy link
Collaborator

Choose a reason for hiding this comment

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

im not entirely sure this .logo is necessary at all if you're trying to adjust the logo size you can do that directly on the height & width on the component .jsx page and that can just be in px i think it's supposed to be 105x105px on figma

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed! I made the logo into 100x100, 105x105 looks too big

flex-direction: row;
align-items: center;
gap: 0.625rem;
background-color: var(--white);
Copy link
Collaborator

Choose a reason for hiding this comment

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

for your background color we don't have a set --white but maybe css does which is why it's like a gray tone? you can just use --off-white it's close enough to #FFFFFF

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

off-white worked!! Thank you!

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.

Navbar

2 participants