From f2690a09bfa9cf69caae6b0da972d268829da6bc Mon Sep 17 00:00:00 2001 From: Charlie RABILLER Date: Mon, 18 Jan 2021 23:23:35 +0100 Subject: [PATCH] add payment card component --- .../components/elements/data/PaymentCard.tsx | 177 ++++++++++++++++++ components/kit/components/elements/index.tsx | 2 +- pages/components/data/index.tsx | 8 + 3 files changed, 186 insertions(+), 1 deletion(-) create mode 100644 components/kit/components/elements/data/PaymentCard.tsx diff --git a/components/kit/components/elements/data/PaymentCard.tsx b/components/kit/components/elements/data/PaymentCard.tsx new file mode 100644 index 0000000..c289bc0 --- /dev/null +++ b/components/kit/components/elements/data/PaymentCard.tsx @@ -0,0 +1,177 @@ +import React from "react"; + +const PaymentCard = () => { + return ( +
+
+

+ Account +

+ + VIEW ALL + +
+
+ + + + + + + + + +
+
+

American Express

+

Wallet deposit

+
+ +$3,124 +
+
+
+ + + + + + + + + + + + +
+
+

Visa Premier

+

Wallet deposit

+
+ +$23,240 +
+
+
+ + + + + + + + + + + + + + +
+
+

MasterCard

+

Wallet deposit

+
+ -$1,904 +
+
+
+ + + + + + + + + + + +
+
+

Paypal

+

Wallet deposit

+
+ +$904 +
+
+
+ ); +}; +export default PaymentCard; diff --git a/components/kit/components/elements/index.tsx b/components/kit/components/elements/index.tsx index fff626d..366321a 100644 --- a/components/kit/components/elements/index.tsx +++ b/components/kit/components/elements/index.tsx @@ -35,7 +35,7 @@ const Elements: FC = () => { }, { title: "Dashboards", - items: 11, + items: 12, img: "images/sections/data.png", link: "/components/data", }, diff --git a/pages/components/data/index.tsx b/pages/components/data/index.tsx index 4df6dc0..ce89f95 100644 --- a/pages/components/data/index.tsx +++ b/pages/components/data/index.tsx @@ -13,6 +13,7 @@ import TagsCard from "../../../components/kit/components/elements/data/TagsCard" import TaskCard from "../../../components/kit/components/elements/data/TaskCard"; import MutlipleTask from "../../../components/kit/components/elements/data/MutlipleTask"; import CalendarCard from "../../../components/kit/components/elements/data/CalendarCard"; +import PaymentCard from "../../../components/kit/components/elements/data/PaymentCard"; const DataPage = () => { return ( @@ -49,6 +50,13 @@ const DataPage = () => { element={} component={CalendarCard} /> + } + component={PaymentCard} + />