diff --git a/app/components/ui/revenueCard/RevenueCard.tsx b/app/components/ui/revenueCard/RevenueCard.tsx new file mode 100644 index 00000000..81ac677e --- /dev/null +++ b/app/components/ui/revenueCard/RevenueCard.tsx @@ -0,0 +1,34 @@ +import { Card, CardContent, CardDescription } from "./cardComponent"; + +interface RevenueCardProperties { + revenue: string; + change: string; +} + +const RevenueCard: React.FC = ({ revenue, change }) => { + return ( + + +
+

+ Total Revenue +

+ doller-sign +
+ +

+ ${revenue} +

+ + {change} + +
+
+ ); +}; + +export default RevenueCard; diff --git a/app/components/ui/revenueCard/cardComponent.tsx b/app/components/ui/revenueCard/cardComponent.tsx new file mode 100644 index 00000000..86f3d128 --- /dev/null +++ b/app/components/ui/revenueCard/cardComponent.tsx @@ -0,0 +1,35 @@ +import { cn } from "~/lib/utils/cn"; + +export const Card: React.FC> = ({ + className, + ...properties +}) => ( +
+); + +export const CardContent: React.FC> = ({ + className, + ...properties +}) =>
; + +export const CardHeader: React.FC> = ({ + className, + ...properties +}) =>
; + +export const CardTitle: React.FC> = ({ + className, + ...properties +}) =>

; + +export const CardDescription: React.FC< + React.HTMLAttributes +> = ({ className, ...properties }) => ( +

+); diff --git a/app/routes/product-list.tsx b/app/routes/product-list.tsx new file mode 100644 index 00000000..dd76ee8b --- /dev/null +++ b/app/routes/product-list.tsx @@ -0,0 +1,13 @@ +import RevenueCard from "~/components/ui/revenueCard/RevenueCard"; + +const App: React.FC = () => { + return ( +

+ + + +
+ ); +}; + +export default App; diff --git a/public/images/doller.png b/public/images/doller.png new file mode 100644 index 00000000..d9cc99af Binary files /dev/null and b/public/images/doller.png differ