Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prototype resource page #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import NavBar from "@/components/NavBar";
import Image from "next/image";

export default function Home() {
return <div className="w-screen min-h-screen"> <p>"EEEEEEEEEEEEE"</p> </div>;
return <div className="w-screen min-h-screen"> <p>EEEEEEEEEEEEE</p> </div>;
}
21 changes: 21 additions & 0 deletions src/app/resources/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

export default function Resource() {
return (
// <main className="flex min-h-screen flex-col items-center justify-between p-24">
<aside id="default-sidebar" className="absolute left-0 z-40 w-64 h-screen transition-transform -translate-x-full sm:translate-x-0 " aria-label="Sidebar">
<div className="h-full px-3 py-4 overflow-y-auto bg-gray-50 dark:bg-gray-800">
<ul className="space-y-2 font-medium">
<li>
<a href="#" className="flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group">
<span className="ms-3 ">Exams</span>
</a>
</li>
<li>
more stuff
</li>
</ul>
</div>
</aside>
// </main>
);
}
18 changes: 18 additions & 0 deletions src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
export default function Sidebar() {
return (
<aside id="default-sidebar" className="absolute left-0 z-40 w-64 h-screen transition-transform -translate-x-full sm:translate-x-0" aria-label="Sidebar">
<div className="h-full px-3 py-4 overflow-y-auto bg-gray-50 dark:bg-gray-800">
<ul className="space-y-2 font-medium">
<li>
<a href="#" className="flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group">
<span className="ms-3">Exams</span>
</a>
</li>
<li>
more stuff
</li>
</ul>
</div>
</aside>
);
}