diff --git a/src/app/page.tsx b/src/app/page.tsx index 254069d..7a8ce47 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,12 +1,10 @@ "use client"; -import ExampleButton from "@components/ExampleButton"; export default function Home() { return (
- {/* Example Button (ExampleButton.tsx in components folder) */} - +
); } diff --git a/src/components/StatsCard.tsx b/src/components/StatsCard.tsx new file mode 100644 index 0000000..e2e47ba --- /dev/null +++ b/src/components/StatsCard.tsx @@ -0,0 +1,46 @@ +import React from "react"; +import { Icon } from "@iconify/react/dist/iconify.js"; + +interface StatsCardProps { + heading: string; + value: number | string; + date: string; + icon: string; +} + +const StatsCard = ({ heading, value, icon, date }: StatsCardProps) => { + return ( +
+
+
+
+
+ {heading} +
+
+
+
+
+ {value} +
+
+
+ {date} +
+
+
+
+
+
+ +
+
+
+ ); +}; + +export default StatsCard;