diff --git a/src/components/dashboard/NavBar.tsx b/src/components/dashboard/NavBar.tsx index c82cb0a4..5f7ce6b3 100644 --- a/src/components/dashboard/NavBar.tsx +++ b/src/components/dashboard/NavBar.tsx @@ -402,6 +402,14 @@ export const NavBar: React.FC = ({ > Deutsch + { + window.open('https://docs.maxun.dev/development/i18n', '_blank'); + handleMenuClose(); + }} + > + Add Language + {renderThemeToggle()} @@ -490,6 +498,14 @@ export const NavBar: React.FC = ({ > Deutsch + { + window.open('https://docs.maxun.dev/development/i18n', '_blank'); + handleMenuClose(); + }} + > + Add Language + {renderThemeToggle()} @@ -499,7 +515,6 @@ export const NavBar: React.FC = ({ ); }; -// Styled Components const NavBarWrapper = styled.div<{ mode: 'light' | 'dark' }>` grid-area: navbar; background-color: ${({ mode }) => (mode === 'dark' ? '#1e2124' : '#ffffff')}; @@ -519,5 +534,4 @@ const NavBarRight = styled.div` align-items: center; justify-content: flex-end; margin-left: auto; -`; - +`; \ No newline at end of file