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: menu for hidden nav items #77

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

Conversation

seandreassen
Copy link
Member

Added menu to access pages that aren't in the main navigation component in the header. Also added button to go to matrix and moved internal navigation links into a separate component.

Closes #74

@seandreassen seandreassen added the enhancement New feature or request label Nov 21, 2024
@seandreassen seandreassen self-assigned this Nov 21, 2024
@seandreassen seandreassen linked an issue Nov 21, 2024 that may be closed by this pull request
@@ -18,21 +21,39 @@ function Header() {
news: t('news'),
events: t('events'),
about: t('about'),
storage: t('storage'),
shiftSchedule: t('shiftSchedule'),
hackerspaceHome: t('hackerspaceHome'),
close: useTranslations('ui')('close'),
Copy link
Member

Choose a reason for hiding this comment

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

This is unrelated to this issue but the 'ui' namespaces is available in all client components so when we use from it we dont have to pass it as a prop we can use useTranslations('ui') within the client component

src/components/layout/header/DarkModeMenu.tsx Outdated Show resolved Hide resolved
src/components/layout/header/DesktopNavMenu.tsx Outdated Show resolved Hide resolved
src/components/layout/header/LocaleMenu.tsx Outdated Show resolved Hide resolved
src/components/layout/header/MatrixButton.tsx Outdated Show resolved Hide resolved
src/components/layout/header/Nav.tsx Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create the desktop menu for hidden nav items
3 participants