-
Notifications
You must be signed in to change notification settings - Fork 0
Add a working Navbar #68
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
Conversation
|
For the navbar, adding linkComponent to the logo will prevent it from reloading the entire page whenever the logo is clicked. |
Done, thanks! |
adaudon
left a comment
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.
A few small changes to consider before merging.
src/routes/BeamlineI24.tsx
Outdated
|
|
||
| export function BeamlineI24() { | ||
| const theme = useTheme(); | ||
| const [value, setValue] = React.useState(0); |
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.
Small change. But changing the name of the variable from value to something more easier to read like [tab, setTab] would be more helpful.
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.
fair enough, done
Co-authored-by: Tamoor <[email protected]>
adaudon
left a comment
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.
Looks good to me
Closes #67
Spawned #69