Skip to content

Commit 4b68ed9

Browse files
committed
add id to resource card
1 parent 1ef491b commit 4b68ed9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/web/src/app/onboard/page.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ interface OnboardingStep {
2828
}
2929

3030
interface ResourceCard {
31+
id: string
3132
title: string
3233
description: string
3334
href: string
@@ -67,12 +68,14 @@ export default async function Onboarding({ searchParams }: OnboardingProps) {
6768

6869
const resourceCards: ResourceCard[] = [
6970
{
71+
id: "code-host-connections",
7072
title: "Code host connections",
7173
description: "Learn how to index repos across Sourcebot's supported platforms",
7274
href: "https://docs.sourcebot.dev/docs/connections/overview",
7375
icon: <GitBranchIcon className="w-4 h-4" />,
7476
},
7577
{
78+
id: "authentication-system",
7679
title: "Authentication system",
7780
description: "Learn how to setup additional auth providers, invite members, and more",
7881
href: "https://docs.sourcebot.dev/docs/configuration/auth",
@@ -153,6 +156,7 @@ export default async function Onboarding({ searchParams }: OnboardingProps) {
153156
<div className="grid grid-cols-1 gap-3">
154157
{resourceCards.map((resourceCard) => (
155158
<a
159+
key={resourceCard.id}
156160
href={resourceCard.href}
157161
target="_blank"
158162
rel="noopener"

0 commit comments

Comments
 (0)