Skip to content

Commit 4f311f3

Browse files
committed
feat: Cardコンポーネントを作成
1 parent 38dff38 commit 4f311f3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

2025/src/components/Card.astro

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
type Props = {
3+
class?: string;
4+
};
5+
6+
const { class: className } = Astro.props;
7+
---
8+
9+
<div
10+
class:list={[
11+
className,
12+
"rounded-lg border border-emerald-100 bg-card text-card-foreground",
13+
]}
14+
>
15+
<slot />
16+
</div>

0 commit comments

Comments
 (0)