@@ -12,19 +12,21 @@ import {
1212 faList ,
1313 faMobileVibrate ,
1414 faPlug ,
15+ faQuestionCircle ,
1516 faTableCellsLarge ,
1617 faTableColumns ,
1718 faWaveSquare ,
1819} from "@fortawesome/free-solid-svg-icons" ;
1920import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" ;
2021import { type JSX , memo , useEffect , useMemo , useRef , useState } from "react" ;
2122import { useTranslation } from "react-i18next" ;
22- import { NavLink , type NavLinkRenderProps } from "react-router" ;
23+ import { Link , NavLink , type NavLinkRenderProps } from "react-router" ;
2324import store2 from "store2" ;
2425import LanguageSwitcher from "../components/LanguageSwitcher.js" ;
2526import Notifications from "../components/Notifications.js" ;
2627import PermitJoinButton from "../components/PermitJoinButton.js" ;
2728import ThemeSwitcher from "../components/ThemeSwitcher.js" ;
29+ import { HELP_URL } from "../consts.js" ;
2830import { SIDEBAR_COLLAPSED_KEY } from "../localStoreConsts.js" ;
2931import NavBar from "./NavBar.js" ;
3032import { NavBarProvider } from "./NavBarContext.js" ;
@@ -147,6 +149,9 @@ const AppLayout = memo(({ children }: AppLayoutProps) => {
147149 < PermitJoinButton sidebarCollapsed = { sidebarCollapsed } />
148150
149151 < div className = { `menu w-full p-2 gap-2 flex-row justify-center p-2 gap-2 ${ sidebarCollapsed ? "hidden lg:hidden" : "" } ` } >
152+ < Link to = { HELP_URL } className = "btn btn-outline btn-primary" target = "_blank" rel = "noopener noreferrer" >
153+ < FontAwesomeIcon icon = { faQuestionCircle } />
154+ </ Link >
150155 < LanguageSwitcher />
151156 < ThemeSwitcher />
152157 </ div >
0 commit comments