Skip to content

Conversation

@noemifrisina
Copy link
Contributor

@noemifrisina noemifrisina commented Sep 10, 2025

Closes #67

Spawned #69

@noemifrisina noemifrisina requested a review from a team as a code owner September 10, 2025 15:46
@adaudon
Copy link
Contributor

adaudon commented Sep 17, 2025

For the navbar, adding linkComponent to the logo will prevent it from reloading the entire page whenever the logo is clicked.

<Navbar logo={ssxLogo} containerWidth={false} linkComponent={Link}>

@noemifrisina
Copy link
Contributor Author

For the navbar, adding linkComponent to the logo will prevent it from reloading the entire page whenever the logo is clicked.

<Navbar logo={ssxLogo} containerWidth={false} linkComponent={Link}>

Done, thanks!

Copy link
Contributor

@adaudon adaudon left a 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.


export function BeamlineI24() {
const theme = useTheme();
const [value, setValue] = React.useState(0);
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fair enough, done

Copy link
Contributor

@adaudon adaudon 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 to me

@adaudon adaudon merged commit fe8cf56 into main Sep 18, 2025
2 checks passed
@adaudon adaudon deleted the 67-navbar branch September 18, 2025 10:38
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 a navbar component

3 participants