-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
95 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from "react"; | ||
|
||
interface IAdminHomeLayoutProps { | ||
children: React.ReactNode; | ||
} | ||
|
||
const AdminHomeLayout = ({ children }: IAdminHomeLayoutProps) => { | ||
return <div> {children} </div>; | ||
}; | ||
|
||
export default AdminHomeLayout; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
"use client"; | ||
|
||
import StatsCard from "@components/StatsCard"; | ||
import TopHeader from "@components/TopHeader"; | ||
import EventCard from "@components/EventCard"; | ||
|
||
|
||
const AdminHomePage = () => { | ||
return ( | ||
<div> | ||
<TopHeader userType = "admin"></TopHeader> | ||
</div> | ||
); | ||
}; | ||
|
||
export default AdminHomePage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from "react"; | ||
|
||
interface IAdminHomeLayoutProps { | ||
children: React.ReactNode; | ||
} | ||
|
||
const AdminHomeLayout = ({ children }: IAdminHomeLayoutProps) => { | ||
return <div> {children} </div>; | ||
}; | ||
|
||
export default AdminHomeLayout; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ( | ||
<div className="w-full"> | ||
<TopHeader userType="admin"></TopHeader> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from "react"; | ||
|
||
interface IAdminHomeLayoutProps { | ||
children: React.ReactNode; | ||
} | ||
|
||
const AdminHomeLayout = ({ children }: IAdminHomeLayoutProps) => { | ||
return <div> {children} </div>; | ||
}; | ||
|
||
export default AdminHomeLayout; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
"use client"; | ||
|
||
import SideNavBar from "@components/SideNavBar"; | ||
|
||
export default function Logout() { | ||
return ( | ||
<div className="flex items-center justify-center h-screen"> | ||
<SideNavBar role="admin"/> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from "react"; | ||
|
||
interface VolunteerHomeLayoutProps { | ||
children: React.ReactNode; | ||
} | ||
|
||
const VolunteerHomeLayout = ({ children }: VolunteerHomeLayoutProps) => { | ||
return <div> {children} </div>; | ||
}; | ||
|
||
export default VolunteerHomeLayout; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const VolunteerHomePage = () => { | ||
return ( | ||
<div> | ||
<h1> Volunteer Home</h1> | ||
</div> | ||
); | ||
}; | ||
|
||
export default VolunteerHomePage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters