Skip to content

Commit

Permalink
fix: add correct links
Browse files Browse the repository at this point in the history
  • Loading branch information
ephraimduncan committed Jun 19, 2024
1 parent 23b74aa commit 48f385d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/app/(landing)/_components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
10 changes: 5 additions & 5 deletions apps/web/src/app/(landing)/_components/mobile-navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ const MobileNavigationSheet = ({

const menuNavigationLinks = [
{
href: `/docs`,
text: 'Docs',
name: 'Docs',
href: 'https://docs.formbase.dev',
},
];
] as const;

return (
<Sheet open={isMenuOpen} onOpenChange={onMenuOpenChange}>
Expand All @@ -42,7 +42,7 @@ const MobileNavigationSheet = ({
</Link>

<div className="mt-8 flex w-full flex-col items-start gap-y-4">
{menuNavigationLinks.map(({ href, text }) => (
{menuNavigationLinks.map(({ href, name }) => (
<Link
key={href}
className="text-2xl font-semibold text-foreground hover:text-foreground/80"
Expand All @@ -51,7 +51,7 @@ const MobileNavigationSheet = ({
handleMenuItemClick();
}}
>
{text}
{name}
</Link>
))}
</div>
Expand Down

0 comments on commit 48f385d

Please sign in to comment.