diff --git a/src/app/private/volunteer/home/page.tsx b/src/app/private/volunteer/home/page.tsx index 4288c82..b78e251 100644 --- a/src/app/private/volunteer/home/page.tsx +++ b/src/app/private/volunteer/home/page.tsx @@ -1,7 +1,10 @@ +import DashboardAlert from "@components/DashboardAlert"; + const VolunteerHomePage = () => { return (

Volunteer Home

+
); }; diff --git a/src/components/DashboardAlert.tsx b/src/components/DashboardAlert.tsx new file mode 100644 index 0000000..d522129 --- /dev/null +++ b/src/components/DashboardAlert.tsx @@ -0,0 +1,37 @@ +import React from "react"; +import { Icon } from "@iconify/react/dist/iconify.js"; + +interface DashboardAlertProps { + Title: string; + Subtext: number | string; +} + +const DashboardAlert = ({ Title, Subtext }: DashboardAlertProps) => { + return ( +
+ {/* Side Tab */} +
+ +
+ + {/* Main Content Box */} +
+
+ {Title} +
+
+ {Subtext} +
+ + {/* Close Icon positioned in the top-right corner */} +
+ +
+
+
+ ); +}; + +export default DashboardAlert; + +