diff --git a/govtool/frontend/src/App.tsx b/govtool/frontend/src/App.tsx index 3da3e9a9b..cfd3595a9 100644 --- a/govtool/frontend/src/App.tsx +++ b/govtool/frontend/src/App.tsx @@ -140,8 +140,8 @@ export default function App() { handleClose={ !modals[modal.type].preventDismiss ? callAll(modals[modal.type]?.onClose, () => - openModal({ type: "none", state: null }) - ) + openModal({ type: "none", state: null }) + ) : undefined } > diff --git a/govtool/frontend/src/components/organisms/DashboardTopNav.tsx b/govtool/frontend/src/components/organisms/DashboardTopNav.tsx index 75a721ebb..fd8c01c0c 100644 --- a/govtool/frontend/src/components/organisms/DashboardTopNav.tsx +++ b/govtool/frontend/src/components/organisms/DashboardTopNav.tsx @@ -121,8 +121,69 @@ export const DashboardTopNav = ({ sx={{ padding: 0 }} onClick={() => setIsDrawerOpen(false)} > - - + + setIsDrawerOpen(false)} + > + + + + + + { + setIsDrawerOpen(false); + }} + isConnectWallet + /> + + + { + setIsDrawerOpen(false); + }} + isConnectWallet + /> + + + { + openInNewTab( + "https://docs.sanchogov.tools/about/what-is-sanchonet-govtool" + ); + setIsDrawerOpen(false); + }} + isConnectWallet + /> + + + { + openInNewTab("https://docs.sanchogov.tools/faqs"); + setIsDrawerOpen(false); + }} + isConnectWallet + /> + +