diff --git a/client/src/views/Invoice/Invoice.css b/client/src/views/Invoice/Invoice.css
index 41ad1e97..59186ec8 100644
--- a/client/src/views/Invoice/Invoice.css
+++ b/client/src/views/Invoice/Invoice.css
@@ -1,5 +1,4 @@
.Container{
- height: 800px;
width: 100%;
}
.invoice-card{
From 07666f293376090ae6afa26e7ca6beddc8620be7 Mon Sep 17 00:00:00 2001
From: anuj-2001 <56990215+anuj-2001@users.noreply.github.com>
Date: Sun, 12 Dec 2021 03:26:41 +0530
Subject: [PATCH 2/5] billing css
---
client/src/views/Billing/Billing.css | 10 +--
client/src/views/Billing/Billing.js | 121 +++++++++++++++------------
2 files changed, 71 insertions(+), 60 deletions(-)
diff --git a/client/src/views/Billing/Billing.css b/client/src/views/Billing/Billing.css
index 40488bda..36d5e73c 100644
--- a/client/src/views/Billing/Billing.css
+++ b/client/src/views/Billing/Billing.css
@@ -2,7 +2,7 @@
height: 160px;
background: #E8E7FE;
display: flex;
- border: 1px solid #4F46E5;
+ border: 1px solid #40ccc4;
}
.billingtoph1{
@@ -29,7 +29,7 @@
}
.formhead{
- background: #4F46E5;
+ background: #40ccc4;
padding: 19px;
font-weight: normal;
font-size: 18px;
@@ -75,7 +75,7 @@
.formsubmit{
width: 223px;
height: 37px;
- background: #4F46E5;
+ background: #40ccc4;
color: white;
margin-left: auto;
margin-right: auto;
@@ -117,7 +117,7 @@
.removebutton{
width: fit-content;
- background: #4F46E5;
+ background: #40ccc4;
color: white;
margin-right: 14px;
padding: 7px;
@@ -126,7 +126,7 @@
.addbutton{
width: fit-content;
- background: #4F46E5;
+ background: #40ccc4;
color: white;
margin-right: 14px;
padding: 7px;
diff --git a/client/src/views/Billing/Billing.js b/client/src/views/Billing/Billing.js
index 59788d03..9d9a192b 100644
--- a/client/src/views/Billing/Billing.js
+++ b/client/src/views/Billing/Billing.js
@@ -2,6 +2,10 @@ import React, { useState } from 'react'
import './Billing.css'
import { v4 as uuidv4 } from 'uuid';
import axios from 'axios';
+import InvoiceForm from '../../components/dashboard/StoreDashboard/InvoiceForm';
+import TitleInvoice from '../../components/dashboard/StoreDashboard/TitleInvoice';
+import SideNav from '../../components/dashboard/StoreDashboard/SideNav';
+
const Billing = () => {
const [formkey, setFormkey] = useState(2);
const [amount, setAmount] = useState();
@@ -67,63 +71,70 @@ const Billing = () => {
}
return (
-
-
Billing
-
-
diff --git a/client/src/components/dashboard/DonorDashboard/ProgressBar.js b/client/src/components/dashboard/DonorDashboard/ProgressBar.js
new file mode 100644
index 00000000..7d56eaf9
--- /dev/null
+++ b/client/src/components/dashboard/DonorDashboard/ProgressBar.js
@@ -0,0 +1,15 @@
+import React from 'react'
+import styling from './styler.css'
+import Card from "react-bootstrap/Card";
+
+function ProgressBar() {
+ return (
+
+
+ Time since last donation : 69
+
+
+ )
+}
+
+export default ProgressBar
diff --git a/client/src/components/dashboard/DonorDashboard/TotalDons.js b/client/src/components/dashboard/DonorDashboard/TotalDons.js
new file mode 100644
index 00000000..b65b3614
--- /dev/null
+++ b/client/src/components/dashboard/DonorDashboard/TotalDons.js
@@ -0,0 +1,14 @@
+import React from 'react'
+import Card from "react-bootstrap/Card";
+
+function TotalDons() {
+ return (
+
+
+ Total Donations : 3
+
+
+ )
+}
+
+export default TotalDons
\ No newline at end of file
diff --git a/client/src/components/dashboard/DonorDashboard/styler.css b/client/src/components/dashboard/DonorDashboard/styler.css
new file mode 100644
index 00000000..853b7feb
--- /dev/null
+++ b/client/src/components/dashboard/DonorDashboard/styler.css
@@ -0,0 +1,20 @@
+.total-card{
+ width: 100%;
+ margin: auto;
+ margin-top: 100px;
+ height: 120px;
+}
+.progress-card{
+ width: 100%;
+ margin: auto;
+ margin-top: 30px;
+ height: 120px;
+}
+.total-title{
+ font-size: 60px;
+ font-family: Arial, Helvetica, sans-serif;
+ font-weight: 600;
+ text-align: left;
+ margin-left: 10%;
+ margin-top: 2%;
+}
\ No newline at end of file