diff --git a/src/app/private/admin/home/layout.tsx b/src/app/private/admin/home/layout.tsx new file mode 100644 index 0000000..5927c11 --- /dev/null +++ b/src/app/private/admin/home/layout.tsx @@ -0,0 +1,11 @@ +import React from "react"; + +interface IAdminHomeLayoutProps { + children: React.ReactNode; +} + +const AdminHomeLayout = ({ children }: IAdminHomeLayoutProps) => { + return
{children}
; +}; + +export default AdminHomeLayout; diff --git a/src/app/private/admin/home/page.tsx b/src/app/private/admin/home/page.tsx new file mode 100644 index 0000000..5182710 --- /dev/null +++ b/src/app/private/admin/home/page.tsx @@ -0,0 +1,16 @@ +"use client"; + +import StatsCard from "@components/StatsCard"; +import TopHeader from "@components/TopHeader"; +import EventCard from "@components/EventCard"; + + +const AdminHomePage = () => { + return ( +
+ +
+ ); +}; + +export default AdminHomePage; diff --git a/src/app/private/home/layout.tsx b/src/app/private/home/layout.tsx new file mode 100644 index 0000000..5927c11 --- /dev/null +++ b/src/app/private/home/layout.tsx @@ -0,0 +1,11 @@ +import React from "react"; + +interface IAdminHomeLayoutProps { + children: React.ReactNode; +} + +const AdminHomeLayout = ({ children }: IAdminHomeLayoutProps) => { + return
{children}
; +}; + +export default AdminHomeLayout; diff --git a/src/app/private/home/page.tsx b/src/app/private/home/page.tsx new file mode 100644 index 0000000..3b67e31 --- /dev/null +++ b/src/app/private/home/page.tsx @@ -0,0 +1,13 @@ +"use client"; + +import StatsCard from "@components/StatsCard"; +import TopHeader from "@components/TopHeader"; +import EventCard from "@components/EventCard"; + +export default function Home() { + return ( +
+ +
+ ); +} diff --git a/src/app/private/layout.tsx b/src/app/private/layout.tsx index e76d279..4089a03 100644 --- a/src/app/private/layout.tsx +++ b/src/app/private/layout.tsx @@ -8,7 +8,7 @@ const HomeLayout = ({ children }: IHomeLayoutProps) => { return (
-
{children}
+
{children}
); }; diff --git a/src/app/private/logout/layout.tsx b/src/app/private/logout/layout.tsx new file mode 100644 index 0000000..5927c11 --- /dev/null +++ b/src/app/private/logout/layout.tsx @@ -0,0 +1,11 @@ +import React from "react"; + +interface IAdminHomeLayoutProps { + children: React.ReactNode; +} + +const AdminHomeLayout = ({ children }: IAdminHomeLayoutProps) => { + return
{children}
; +}; + +export default AdminHomeLayout; diff --git a/src/app/private/logout/page.tsx b/src/app/private/logout/page.tsx new file mode 100644 index 0000000..823bd7d --- /dev/null +++ b/src/app/private/logout/page.tsx @@ -0,0 +1,11 @@ +"use client"; + +import SideNavBar from "@components/SideNavBar"; + +export default function Logout() { + return ( +
+ +
+ ); +} diff --git a/src/app/private/volunteer/home/layout.tsx b/src/app/private/volunteer/home/layout.tsx new file mode 100644 index 0000000..b4a62a3 --- /dev/null +++ b/src/app/private/volunteer/home/layout.tsx @@ -0,0 +1,11 @@ +import React from "react"; + +interface VolunteerHomeLayoutProps { + children: React.ReactNode; +} + +const VolunteerHomeLayout = ({ children }: VolunteerHomeLayoutProps) => { + return
{children}
; +}; + +export default VolunteerHomeLayout; diff --git a/src/app/private/volunteer/home/page.tsx b/src/app/private/volunteer/home/page.tsx new file mode 100644 index 0000000..4288c82 --- /dev/null +++ b/src/app/private/volunteer/home/page.tsx @@ -0,0 +1,9 @@ +const VolunteerHomePage = () => { + return ( +
+

Volunteer Home

+
+ ); +}; + +export default VolunteerHomePage; diff --git a/src/components/TopHeader.tsx b/src/components/TopHeader.tsx index d5430db..b7cf08e 100644 --- a/src/components/TopHeader.tsx +++ b/src/components/TopHeader.tsx @@ -14,7 +14,7 @@ const TopHeader = ({ userType }: TopHeaderProps) => { const [isEnglish, setIsEnglish] = React.useState(true); return ( -
+