diff --git a/compass/app/resource/layout.tsx b/compass/app/resource/layout.tsx index 9cb94c9..bb7fddd 100644 --- a/compass/app/resource/layout.tsx +++ b/compass/app/resource/layout.tsx @@ -14,6 +14,7 @@ export default function RootLayout({ return (
+ {/* button to open sidebar */} - + {/* sidebar */}
+ {/* page ui */}
{children}
diff --git a/compass/app/resource/page.tsx b/compass/app/resource/page.tsx index 4cd052a..ca68cdb 100644 --- a/compass/app/resource/page.tsx +++ b/compass/app/resource/page.tsx @@ -7,8 +7,8 @@ import Image from 'next/image'; export default function Page() { return ( - // Ensuring the main container takes at least full viewport height
+ {/* icon + title */}
+ {/* link to different pages */}
} text="Resources" /> } text="Services" /> } text="Training Manuals" />
+ {/* search bar */}
diff --git a/compass/components/resource/LandingSearchBar.tsx b/compass/components/resource/LandingSearchBar.tsx index 612ea77..f52b6ba 100644 --- a/compass/components/resource/LandingSearchBar.tsx +++ b/compass/components/resource/LandingSearchBar.tsx @@ -15,6 +15,7 @@ export const LandingSearchBar: React.FC = () => { return (
+ {/* searchbar */}
{ onChange={handleSearchChange} />
+ {/* input */} {searchTerm && (
+ {/* search results, for now since it's empty this is the default screen */}
Landing illustration

Need to find something? Use the links or the search bar above to get your results.

diff --git a/compass/components/resource/Sidebar.tsx b/compass/components/resource/Sidebar.tsx index 8bfcec6..f139b7d 100644 --- a/compass/components/resource/Sidebar.tsx +++ b/compass/components/resource/Sidebar.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { ChevronDoubleLeftIcon, BookmarkIcon, ClipboardIcon, BookOpenIcon } from '@heroicons/react/24/solid'; +import { HomeIcon, ChevronDoubleLeftIcon, BookmarkIcon, ClipboardIcon, BookOpenIcon } from '@heroicons/react/24/solid'; import { SidebarItem } from './SidebarItem'; interface SidebarProps { @@ -9,6 +9,7 @@ interface SidebarProps { const Sidebar: React.FC = ({ setIsSidebarOpen }) => { return (
+ {/* button to close sidebar */}
+ {/* user + logout button */}
@@ -30,9 +32,11 @@ const Sidebar: React.FC = ({ setIsSidebarOpen }) => {
+ {/* navigation menu */}

Pages