Spaces:
Build error
Build error
Upload components/CardsSection.jsx with huggingface_hub
Browse files- components/CardsSection.jsx +25 -0
components/CardsSection.jsx
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import ContentCard from './ContentCard';
|
| 2 |
+
import PrintIcon from './PrintIcon';
|
| 3 |
+
|
| 4 |
+
const CardsSection = ({ onPrintClick }) => (
|
| 5 |
+
<div className="grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3">
|
| 6 |
+
<ContentCard
|
| 7 |
+
title="Document Preview"
|
| 8 |
+
description="Preview and print formatted documents with our custom print modal"
|
| 9 |
+
icon={<PrintIcon />}
|
| 10 |
+
onClick={onPrintClick}
|
| 11 |
+
/>
|
| 12 |
+
<ContentCard
|
| 13 |
+
title="Report Generation"
|
| 14 |
+
description="Generate printable reports with clean layouts and formatting"
|
| 15 |
+
icon={<PrintIcon />}
|
| 16 |
+
onClick={onPrintClick}
|
| 17 |
+
/>
|
| 18 |
+
<ContentCard
|
| 19 |
+
title="Invoice Printing"
|
| 20 |
+
description="Create and print invoices with professional formatting"
|
| 21 |
+
icon={<PrintIcon />}
|
| 22 |
+
onClick={onPrintClick}
|
| 23 |
+
/>
|
| 24 |
+
</div>
|
| 25 |
+
);
|