diff --git a/apps/web/src/components/DashboardLayout.tsx b/apps/web/src/components/DashboardLayout.tsx index 3be50b2..d02ac11 100644 --- a/apps/web/src/components/DashboardLayout.tsx +++ b/apps/web/src/components/DashboardLayout.tsx @@ -1,9 +1,11 @@ import {useActiveProject} from '../lib/contexts/ActiveProjectProvider'; import {useUser} from '../lib/hooks/useUser'; +import {WIKI_URI} from '../lib/constants'; import {network} from '../lib/network'; import { Activity, BarChart3, + BookOpen, ChevronDown, FileText, Layers, @@ -246,6 +248,16 @@ export function DashboardLayout({children}: DashboardLayoutProps) { {/* Settings & User Menu */}
+ + + Documentation + + setShowMobileMenu(false)} diff --git a/apps/web/src/pages/docs.tsx b/apps/web/src/pages/docs.tsx new file mode 100644 index 0000000..c9ea0e5 --- /dev/null +++ b/apps/web/src/pages/docs.tsx @@ -0,0 +1,15 @@ +import {WIKI_URI} from '../lib/constants'; +import type {GetServerSideProps} from 'next'; + +export default function Docs() { + return null; +} + +export const getServerSideProps: GetServerSideProps = async () => { + return { + redirect: { + destination: WIKI_URI, + permanent: false, + }, + }; +};