From 60f54181d6d5e21d3140953dece51fee7a0d40c5 Mon Sep 17 00:00:00 2001 From: LofiSu <163713803+LofiSu@users.noreply.github.com> Date: Sun, 26 Jan 2025 04:27:57 +0000 Subject: home components --- src/components/StatsCard.tsx | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/components/StatsCard.tsx (limited to 'src/components/StatsCard.tsx') diff --git a/src/components/StatsCard.tsx b/src/components/StatsCard.tsx new file mode 100644 index 0000000..237f5dc --- /dev/null +++ b/src/components/StatsCard.tsx @@ -0,0 +1,26 @@ +import React from 'react'; +import { motion } from 'framer-motion'; +import { Card } from '@nextui-org/react'; + +interface StatsCardProps { + title: string; + value: string; +} + +export const StatsCard: React.FC = ({ title, value }) => { + return ( + + +
+

{value}

+

{title}

+
+
+
+ ); +}; -- cgit v1.2.3-70-g09d2