diff --git a/components/States/HospitalListCard.jsx b/components/States/HospitalListCard.jsx index 264562d..877b188 100644 --- a/components/States/HospitalListCard.jsx +++ b/components/States/HospitalListCard.jsx @@ -9,7 +9,12 @@ const mapStatuses = (statuses, hospital) => { return (
- + @@ -21,8 +26,12 @@ const mapStatuses = (statuses, hospital) => { const HospitalListCard = (hospital) => { const getImageData = (hospital) => { - const hospitalPhoto = hospital.hospital_photos.filter((photo) => photo !== ""); - const hospitalGallery = hospital.hospital_gallery.filter((photo) => photo !== ""); + const hospitalPhoto = hospital.hospital_photos.filter( + (photo) => photo !== "" + ); + const hospitalGallery = hospital.hospital_gallery.filter( + (photo) => photo !== "" + ); return [...hospitalPhoto, ...hospitalGallery]; }; @@ -34,7 +43,9 @@ const HospitalListCard = (hospital) => {
{hospital.hospital_name}
-
{hospital.district} Dt.
+
+ {hospital.district} Dt. +
{
)}
-
+
Hospital Status Details
@@ -101,46 +112,57 @@ const HospitalListCard = (hospital) => {
-
-
Site
-
Equipment
-
Technology
-
-
+
- {mapStatuses( - ["site_space", "site_electrical", "site_internet", "site_oxygen"], - hospital - )} +
Site
+
+ {mapStatuses( + [ + "site_space", + "site_electrical", + "site_internet", + "site_oxygen", + ], + hospital + )} +
- {mapStatuses( - [ - "equipment_ordered", - "equipment_delivered", - "equipment_installed", - "equipment_staff_trained", - ], - hospital - )} +
Equipment
+
+ {mapStatuses( + [ + "equipment_ordered", + "equipment_delivered", + "equipment_installed", + "equipment_staff_trained", + ], + hospital + )} +
- {mapStatuses( - [ - "tech_trained", - "tech_hospital_registration", - "tech_patient_management", - "tech_tele_icu_live", - ], - hospital - )} +
Technology
+
+ {mapStatuses( + [ + "tech_trained", + "tech_hospital_registration", + "tech_patient_management", + "tech_tele_icu_live", + ], + hospital + )} +
Go Live on: - {hospital.launch_date || "TBD"} + + {hospital.launch_date || "TBD"} +
diff --git a/components/common/Footer.jsx b/components/common/Footer.jsx index 2995c6d..b050dff 100644 --- a/components/common/Footer.jsx +++ b/components/common/Footer.jsx @@ -1,29 +1,57 @@ -import { FiFacebook, FiTwitter, FiYoutube } from 'react-icons/fi'; +import { FiFacebook, FiTwitter, FiYoutube } from "react-icons/fi"; const Footer = () => { - return ( - + ); +}; -export default Footer; \ No newline at end of file +export default Footer;