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

Tailwind Header #91

Open
wants to merge 5 commits into
base: staging
Choose a base branch
from
Open

Tailwind Header #91

wants to merge 5 commits into from

Conversation

eyeriss42
Copy link
Collaborator

Resolves #84 by incorporating Tailwind styling and Navlink from React Router

Copy link
Owner

@larkinds larkinds left a comment

Choose a reason for hiding this comment

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

Just two little changes, almost there!

<Link to="/" onClick={() => handleSetStarPage("/")}><IceCreamLogo />Randomice</Link>
<header className="w-full flex justify-between items-center h-[100px] px-4 mt-4">
<Link to="/">
<div className="flex items-center justify-center mb-2">
Copy link
Owner

Choose a reason for hiding this comment

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

It looks uneven to have the Randomice text on a different horizontal line than all of the rest of the text in the header. Shall we remove it?

<CartPage />
<button className="ml-2.5 mr-2.5 hover:underline">login/logout</button>
Copy link
Owner

Choose a reason for hiding this comment

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

Pls have only the relevant word visible - either Login or Logout, depending on whether the customer is logged in or not!

client/src/Components/Header.tsx Outdated Show resolved Hide resolved
client/src/components/FlavorThumbnail.tsx Show resolved Hide resolved
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.

Add Tailwind styling for Header
2 participants