✨feature: Scaffold project
This commit is contained in:
12
src/components/PromptCard.astro
Normal file
12
src/components/PromptCard.astro
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
// PromptCard.astro
|
||||
import "../styles/global.css";
|
||||
|
||||
const { title, description } = Astro.props;
|
||||
---
|
||||
|
||||
<div class="border rounded p-4 bg-white shadow-sm">
|
||||
<h3 class="text-lg font-semibold">{title}</h3>
|
||||
|
||||
<p class="text-sm text-gray-600 mt-1">{description}</p>
|
||||
</div>
|
||||
Reference in New Issue
Block a user