diff --git a/src/components/AddManagerStationModal/addmanagerStationModal.tsx b/src/components/AddManagerStationModal/addmanagerStationModal.tsx
index ece8e23..92ab622 100644
--- a/src/components/AddManagerStationModal/addmanagerStationModal.tsx
+++ b/src/components/AddManagerStationModal/addmanagerStationModal.tsx
@@ -30,7 +30,7 @@ const AddManagerStationModal = ({ open, handleClose }: any) => {
const payload = {
connectorType,
- power,
+ power,
price,
available,
};
@@ -57,10 +57,9 @@ const AddManagerStationModal = ({ open, handleClose }: any) => {
top: "50%",
left: "50%",
transform: "translate(-50%, -50%)",
- width: 400,
- bgcolor: "background.paper",
+ width: 500,
boxShadow: 24,
- p: 3,
+ p: 0,
borderRadius: 2,
}}
>
@@ -70,6 +69,10 @@ const AddManagerStationModal = ({ open, handleClose }: any) => {
display: "flex",
justifyContent: "space-between",
alignItems: "center",
+ backgroundColor: "#000000",
+ color: "#D0E1E9",
+ padding: "20px 24px",
+ borderRadius: "10px 10px 0 0",
}}
>
@@ -81,78 +84,112 @@ const AddManagerStationModal = ({ open, handleClose }: any) => {
{/* Divider */}
-
-
- {/* Connector Type */}
-
- Connector Type
-
-
-
- {/* Power */}
-
- Power (kW)
-
-
-
- {/* Price */}
-
- Price (₹)
-
-
-
- {/* Availability Switch */}
- setavailable((prev) => !prev)}
- />
- }
- label={available ? "Available" : "Not Available"}
- sx={{ mt: 2 }}
- />
-
- {/* Submit */}
+ {/* */}
-
+
+
+ {/* Power */}
+
+ Power (kW)
+
+
+
+ {/* Price */}
+
+ Price (₹)
+
+
+
+ {/* Availability Switch */}
+ setavailable((prev) => !prev)}
+ />
+ }
+ label={available ? "Available" : "Not Available"}
+ sx={{ mt: 2 }}
+ />
+
+ {/* Submit */}
+
- Add Station
-
+
+
diff --git a/src/components/AddSlotModal/addSlotModal.tsx b/src/components/AddSlotModal/addSlotModal.tsx
index f2d3fc1..6a910f4 100644
--- a/src/components/AddSlotModal/addSlotModal.tsx
+++ b/src/components/AddSlotModal/addSlotModal.tsx
@@ -98,10 +98,10 @@ const AddSlotModal = ({ open, handleClose }: any) => {
top: "50%",
left: "50%",
transform: "translate(-50%, -50%)",
- width: 400,
- bgcolor: "background.paper",
+ width: 500,
+
boxShadow: 24,
- p: 3,
+ p: 0,
borderRadius: 2,
}}
>
@@ -111,6 +111,11 @@ const AddSlotModal = ({ open, handleClose }: any) => {
display: "flex",
justifyContent: "space-between",
alignItems: "center",
+ backgroundColor: "#000000",
+ color: "#D0E1E9",
+
+ padding: "16px 24px",
+ borderRadius: "10px 10px 0 0",
}}
>
@@ -122,182 +127,245 @@ const AddSlotModal = ({ open, handleClose }: any) => {
{/* Horizontal Line */}
-
+ {/* */}
- {/* Date Range Toggle */}
- setIsDateRange(!isDateRange)}
- />
- }
- label="Select Date Range"
+
-
- {/* Date Input Fields */}
- {isDateRange ? (
- <>
-
- Start Date
-
-
- value >= today ||
- "Start date cannot be in the past",
- })}
- type="date"
- fullWidth
- error={!!errors.startingDate}
- helperText={errors.startingDate?.message}
- inputProps={{ min: today }}
- />
-
- End Date
-
-
- value >= today ||
- "End date cannot be in the past",
- })}
- type="date"
- fullWidth
- error={!!errors.endingDate}
- helperText={errors.endingDate?.message}
- inputProps={{ min: today }}
- />
- >
- ) : (
- <>
-
- Date
-
-
- value >= today ||
- "Date cannot be in the past",
- })}
- type="date"
- fullWidth
- error={!!errors.date}
- helperText={errors.date?.message}
- inputProps={{ min: today }}
- />
- >
- )}
-
- {/* Start Hour */}
-
- Start Hour
-
-
-
- {/* End Hour */}
-
- End Hour
-
-
- value > startHour ||
- "End hour must be after start hour",
- })}
- type="time"
- fullWidth
- error={!!errors.endHour}
- helperText={errors.endHour?.message}
- inputProps={{ min: minEndTime }}
- />
-
- {/* Duration and Duration Unit */}
-
- Slot Duration
-
-
-
+ {/* Date Range Toggle */}
+ setIsDateRange(!isDateRange)}
+ />
+ }
+ label="Select Date Range"
+ sx={{
+ fontWeight: 500,
+ fontSize: "16px",
+ margin: 0,
+ color: "#000000",
+ mb: 1,
+ }}
/>
- {/* Dropdown for selecting Minutes/Hours */}
-
- Unit
-
-
-
+ {/* Date Input Fields */}
+ {isDateRange ? (
+ <>
+
+ Start Date
+
+
+ value >= today ||
+ "Start date cannot be in the past",
+ })}
+ type="date"
+ fullWidth
+ error={!!errors.startingDate}
+ helperText={errors.startingDate?.message}
+ inputProps={{ min: today }}
+ />
+
+ End Date
+
+
+ value >= today ||
+ "End date cannot be in the past",
+ })}
+ type="date"
+ fullWidth
+ error={!!errors.endingDate}
+ helperText={errors.endingDate?.message}
+ inputProps={{ min: today }}
+ />
+ >
+ ) : (
+ <>
+
+ Date
+
+
+ value >= today ||
+ "Date cannot be in the past",
+ })}
+ type="date"
+ fullWidth
+ error={!!errors.date}
+ helperText={errors.date?.message}
+ inputProps={{ min: today }}
+ />
+ >
+ )}
- {/* Availability Toggle */}
-
-
-
- {isAvailable ? "Available" : "Not Available"}
+ Start Hour
-
+
- {/* Submit Button */}
-
-
+
+ value > startHour ||
+ "End hour must be after start hour",
+ })}
+ type="time"
+ fullWidth
+ error={!!errors.endHour}
+ helperText={errors.endHour?.message}
+ inputProps={{ min: minEndTime }}
+ />
+
+ {/* Duration and Duration Unit */}
+
+ Slot Duration
+
+
+
+
+ {/* Dropdown for selecting Minutes/Hours */}
+
+ Unit
+
+
+
+
+ {/* Availability Toggle */}
+
+
+
+ {isAvailable ? "Available" : "Not Available"}
+
+
+
+ {/* Submit Button */}
+
- Add Slot
-
+
+
diff --git a/src/components/AddStationLocation/addStationLocation.tsx b/src/components/AddStationLocation/addStationLocation.tsx
index cce3240..5028724 100644
--- a/src/components/AddStationLocation/addStationLocation.tsx
+++ b/src/components/AddStationLocation/addStationLocation.tsx
@@ -31,7 +31,7 @@ const AddStationLocationModal = ({
};
return (
-