Skip to content

Commit a52288f

Browse files
committed
feat: Create CardLink as reusable component and improve accessibility for this card
1 parent 448ee64 commit a52288f

File tree

3 files changed

+205
-205
lines changed

3 files changed

+205
-205
lines changed

src/components/CardLink.astro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
---
2-
import type { HTMLAttributes } from 'astro/types'
3-
42
interface Props {
53
title: string
64
url: string
75
description: string
86
languages?: string[]
97
}
8+
109
const { title, url, description, languages = [] } = Astro.props
1110
---
1211

0 commit comments

Comments
 (0)