diff --git a/client/src/components/dashboard/DonorDashboard.js b/client/src/components/dashboard/DonorDashboard.js index 65b0bf1e..78144d1c 100644 --- a/client/src/components/dashboard/DonorDashboard.js +++ b/client/src/components/dashboard/DonorDashboard.js @@ -1,9 +1,22 @@ import React from 'react' +import SideNav from './StoreDashboard/SideNav' +import IntroCard from './StoreDashboard/IntroCard' function DonorDashboard() { + const user = {name:'Anuj',email:'anujpillai1201@gmail.com'} return ( -
- DonorDashboard +
+
+
+
+ +
+
+
+ +

Hello from donor dashboard

+
+
) } diff --git a/client/src/components/dashboard/StoreDashboard.css b/client/src/components/dashboard/StoreDashboard.css index b6619dea..cbd3ef0f 100644 --- a/client/src/components/dashboard/StoreDashboard.css +++ b/client/src/components/dashboard/StoreDashboard.css @@ -1,9 +1,7 @@ - .Container{ - height: 100%; } .Content-right{ - height: 100%; + height: auto; } .Content-left{ height: 100%; diff --git a/client/src/components/dashboard/StoreDashboard/styler.css b/client/src/components/dashboard/StoreDashboard/styler.css index 95a33d74..c5624a89 100644 --- a/client/src/components/dashboard/StoreDashboard/styler.css +++ b/client/src/components/dashboard/StoreDashboard/styler.css @@ -111,7 +111,6 @@ { height: 100%; width: 15%; - background-color: #4CCCC0; } .medicine-card{ diff --git a/client/src/index.css b/client/src/index.css index bc047dab..7c665b12 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -10,6 +10,7 @@ body { sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; + background: #DDF0EE; } code { 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

-
-
-
-

Bill 12abc435

- - - -
- +
+
+
+
- -
- - +
+
+ +
+ +

Bill 12abc435

+ + + +
+ +
+ +
+ + +
+ {inputFields.map((inputField , index)=> ( +
+ + handleChangeInput(inputField.id, event)} + className = "medicinequantity" + /> + + {index === inputFields.length - 1? + + :null} +
+ ))} +

Total Amount - 200

+ +
- {inputFields.map((inputField , index)=> ( -
- - handleChangeInput(inputField.id, event)} - className = "medicinequantity" - /> - - {index === inputFields.length - 1? - - :null} -
- ))} -

Total Amount - 200

- - +
) diff --git a/client/src/views/Invoice/Invoice.css b/client/src/views/Invoice/Invoice.css index 554fe6c7..41d93aee 100644 --- a/client/src/views/Invoice/Invoice.css +++ b/client/src/views/Invoice/Invoice.css @@ -1,6 +1,7 @@ .Container{ - height: 800px; width: 100%; + padding-bottom: 30px; + background: #DDF0EE; } .invoice-card{ margin-top: 20px;