From 48f385de894f1039731b90517fee8712a3514fee Mon Sep 17 00:00:00 2001 From: Ephraim Atta-Duncan Date: Wed, 19 Jun 2024 01:11:40 +0000 Subject: [PATCH] fix: add correct links --- apps/web/src/app/(landing)/_components/header.tsx | 2 +- .../app/(landing)/_components/mobile-navigation.tsx | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/web/src/app/(landing)/_components/header.tsx b/apps/web/src/app/(landing)/_components/header.tsx index 28bb1b2..4bca11e 100644 --- a/apps/web/src/app/(landing)/_components/header.tsx +++ b/apps/web/src/app/(landing)/_components/header.tsx @@ -7,7 +7,7 @@ import { env } from '@formbase/env'; import { MobileNavigation } from './mobile-navigation'; -const routes = [{ name: 'Docs', href: '/docs' }] as const; +const routes = [{ name: 'Docs', href: 'https://docs.formbase.dev' }] as const; type LandingHeaderProps = { user: LuciaUser | null; diff --git a/apps/web/src/app/(landing)/_components/mobile-navigation.tsx b/apps/web/src/app/(landing)/_components/mobile-navigation.tsx index 9335f1b..62011e2 100644 --- a/apps/web/src/app/(landing)/_components/mobile-navigation.tsx +++ b/apps/web/src/app/(landing)/_components/mobile-navigation.tsx @@ -25,10 +25,10 @@ const MobileNavigationSheet = ({ const menuNavigationLinks = [ { - href: `/docs`, - text: 'Docs', + name: 'Docs', + href: 'https://docs.formbase.dev', }, - ]; + ] as const; return ( @@ -42,7 +42,7 @@ const MobileNavigationSheet = ({
- {menuNavigationLinks.map(({ href, text }) => ( + {menuNavigationLinks.map(({ href, name }) => ( - {text} + {name} ))}