Skip to content

Commit

Permalink
Initialize page routes
Browse files Browse the repository at this point in the history
  • Loading branch information
johnny-t06 committed Oct 6, 2024
1 parent 95b07b2 commit aea6f0a
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const geistMono = localFont({
});

export const metadata: Metadata = {
title: "Create Next App",
title: "Bread and Roses",
description: "Generated by create next app",
};

Expand Down
11 changes: 11 additions & 0 deletions src/app/private/admin/home/layout.tsx
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;
9 changes: 9 additions & 0 deletions src/app/private/admin/home/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const AdminHomePage = () => {
return (
<div>
<h1>Admin Home</h1>
</div>
);
};

export default AdminHomePage;
11 changes: 11 additions & 0 deletions src/app/private/volunteer/home/layout.tsx
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;
9 changes: 9 additions & 0 deletions src/app/private/volunteer/home/page.tsx
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;

0 comments on commit aea6f0a

Please sign in to comment.