Skip to content

Commit 4e8d10c

Browse files
committed
resources: add documentation link
1 parent bda8fcd commit 4e8d10c

File tree

1 file changed

+8
-1
lines changed
  • clients/apps/web/src/app/(main)/(landing)/resources

1 file changed

+8
-1
lines changed

clients/apps/web/src/app/(main)/(landing)/resources/page.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ export const metadata: Metadata = {
3232
}
3333

3434
const resourceLinks = [
35+
{
36+
title: 'Documentation',
37+
description: 'Learn the ins and outs of the Polar platform',
38+
href: '/docs',
39+
target: '_blank',
40+
},
3541
{
3642
title: 'Why Polar',
3743
description:
@@ -48,7 +54,7 @@ const resourceLinks = [
4854
href: '/resources/merchant-of-record',
4955
description: 'Learn the differences between PSPs and Merchant of Records',
5056
},
51-
] as const
57+
]
5258

5359
export default function Resources() {
5460
return (
@@ -67,6 +73,7 @@ export default function Resources() {
6773
key={link.title}
6874
className="dark:hover:bg-polar-900 dark:border-polar-700 flex w-full cursor-pointer flex-col gap-6 border border-gray-300 p-6 transition-colors duration-200 hover:bg-gray-100"
6975
href={link.href}
76+
target={link.target}
7077
>
7178
<ArrowOutwardOutlined fontSize="inherit" />
7279
<div className="flex flex-col gap-2">

0 commit comments

Comments
 (0)