From 5a789ef460895a3ed142e58cf07ef8d5dc3ec774 Mon Sep 17 00:00:00 2001 From: Anthony Li Date: Thu, 14 Mar 2024 20:27:50 -0400 Subject: [PATCH] Add GitHub and Ed links --- app/menu.tsx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/app/menu.tsx b/app/menu.tsx index b181ca6..a3a47db 100644 --- a/app/menu.tsx +++ b/app/menu.tsx @@ -48,6 +48,18 @@ export const menuItems: MenuItemProps[] = [ icon: "🧑‍💻", href: "/resources", }, + { + id: "github", + title: "GitHub", + icon: "☁️", + href: "https://github.com/cis1951", + }, + { + id: "ed", + title: "Ed Discussion", + icon: "💬", + href: "https://edstem.org/us/courses/54318/discussion/", + }, ] export type MenuCoordinator = { @@ -93,7 +105,6 @@ export function MenuItemActivator({ item }: MenuItemActivatorProps) { function MenuItem({ id, title, icon, href }: MenuItemProps) { const context = useMenuContext() - const router = useRouter() const isActive = id === context.activeItem let className = "block px-3 py-2 rounded-xl group relative bg-opacity-0"