diff --git a/src/components/profile-menu/ExternalLinks.tsx b/src/components/profile-menu/ExternalLinks.tsx index 8a82917db..7fc64b933 100644 --- a/src/components/profile-menu/ExternalLinks.tsx +++ b/src/components/profile-menu/ExternalLinks.tsx @@ -1,33 +1,56 @@ import { SiGithub, SiNotion } from '@icons-pack/react-simple-icons'; import Link from 'next/link'; import React from 'react'; -import { DropdownMenuItem } from '../ui/dropdown-menu'; import { ArrowUpRightFromSquare } from 'lucide-react'; +import { + DropdownMenuItem, + DropdownMenuSub, + DropdownMenuSubContent, + DropdownMenuSubTrigger, +} from '@/components/ui/dropdown-menu'; -const ExternalLinks = () => { - const externalLinks = [ +export default function ExternalLinks() { + const assignmentLinks = [ { href: 'https://github.com/100xdevs-cohort-2/assignments', - label: 'Assignments', - icon: , + label: 'Cohort 2', }, { - href: 'https://projects.100xdevs.com/', - label: 'Slides', - icon: , + href: 'https://github.com/100xdevs-cohort-3/assignments', + label: 'Cohort 3', }, ]; - return externalLinks.map((link) => ( - - - - {link.icon} - {link.label} - - - - - )); -}; -export default ExternalLinks; + return ( + <> + + + + + Assignments + + + + {assignmentLinks.map((link) => ( + + + {link.label} + + + + ))} + + + + + + + + Slides + + + + + > + ); +}