Skip to content

Commit 7f3a2db

Browse files
committed
Add DocumentationVersionHint component to NavbarWrapper
1 parent d4debb8 commit 7f3a2db

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/theme/Navbar/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import React from 'react';
55
import { LanguageSwitch } from '@site/src/components/LanguageSwitch';
66
import Navbar from '@theme-original/Navbar';
77
import { translate } from '@docusaurus/Translate';
8+
import DocumentationVersionHint from '../../components/DocumentationVersionHint';
89

910
export const NavbarWrapper: FunctionComponent<PropsWithChildren> = (props) => {
1011
// const [dark, setDark] = useState(false);
@@ -24,7 +25,7 @@ export const NavbarWrapper: FunctionComponent<PropsWithChildren> = (props) => {
2425

2526
return (
2627
<div className="kolibri-navbar-wrapper sticky top-0 z-50 bg-white">
27-
{/* <DocumentationVersionHint /> */}
28+
<DocumentationVersionHint />
2829
<div className="kolibri-navbar max-w-screen-md lg:max-w-4xl 2xl:max-w-[95rem] mx-auto grid grid-cols-[1fr,auto] gap-y-2 items-center 2xl:grid-cols-[1fr,auto,auto,auto] p-4 lg:px-8">
2930
<Navbar {...props} />
3031
<section aria-label="Toolbar" className="flex flex-wrap gap-2 col-span-2">

0 commit comments

Comments
 (0)