diff --git a/src/app/page.tsx b/src/app/page.tsx index 62c7213..363ffcd 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,4 +1,6 @@ +import { FaBookBookmark } from "react-icons/fa6" import { FiBook, FiBookOpen, FiClipboard, FiFileText, FiPenTool, FiTriangle, FiUploadCloud } from "react-icons/fi" +import { CardCaption } from "@/components/card-caption" import { CardIcon } from "@/components/card-icon" import { Hero } from "@/components/home/hero" @@ -55,6 +57,20 @@ export default function Home() { ))} +
+ + +
) diff --git a/src/components/card-caption.tsx b/src/components/card-caption.tsx new file mode 100644 index 0000000..0fbc179 --- /dev/null +++ b/src/components/card-caption.tsx @@ -0,0 +1,28 @@ +import type { IconType } from "react-icons" +import { Card, CardAction, CardContent, CardHeader, CardTitle } from "./ui/card" + +export function CardCaption({ + title, + caption, + icon, + iconPosition = "right", +}: { + title: string + caption: string + icon?: IconType + iconPosition?: "top" | "right" +}) { + return ( + + + {title} + {icon && } + + +

{caption}

+
+
+ ) +}