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

Feat/top bar #34

Merged
merged 2 commits into from
Jun 28, 2024
Merged

Feat/top bar #34

merged 2 commits into from
Jun 28, 2024

Conversation

rfgvieira
Copy link

Description

  • Change intl message from lateralName to routes
  • Adds TopBar component
  • Adds shadcn Input component

Related Issues

Closes #18

Visual reference

image

@rfgvieira rfgvieira force-pushed the feat/top-bar branch 2 times, most recently from 78b3151 to 962ceeb Compare June 28, 2024 18:39
<div className="w-full h-full">

<div className="flex flex-row w-full bg-bg">

Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: no need for this new line

{/* placeholder for search */}
<Input className="w-2/3" type="text" placeholder="Search" />
</div>
<div>{/* space to put icons on future */}</div>
Copy link
Collaborator

Choose a reason for hiding this comment

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

we can remove this for now


const TopBar = (): JSX.Element => {
return (
<div className="flex fixed top-0 h-20 mx-52 pl-6 pr-12 bg-white w-full ">
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: remove the extra space

@@ -32,6 +32,7 @@ module.exports = {
"accordion-up": "accordion-up 0.2s ease-out",
},
colors: {
'bg': '#F4F4F4',
Copy link
Collaborator

Choose a reason for hiding this comment

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

this color already exists

@rfgvieira rfgvieira force-pushed the feat/top-bar branch 3 times, most recently from 3552194 to 46cc56e Compare June 28, 2024 19:55
Copy link
Collaborator

@mari1912 mari1912 left a comment

Choose a reason for hiding this comment

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

Looks good!

@rfgvieira rfgvieira merged commit 11cd7fd into main Jun 28, 2024
4 checks passed
@rfgvieira rfgvieira deleted the feat/top-bar branch June 28, 2024 20:08
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.

Top bar component
2 participants