Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
Add GitHub and Ed links
Browse files Browse the repository at this point in the history
  • Loading branch information
anli5005 committed Mar 15, 2024
1 parent 8bd0b18 commit 5a789ef
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion app/menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 5a789ef

Please sign in to comment.