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