|
| 1 | +import { ChatBubbleOvalLeftEllipsisIcon, Cog6ToothIcon, RssIcon, StopCircleIcon, UserGroupIcon } from "@heroicons/react/24/outline"; |
| 2 | +import { ChatBubbleLeftIcon } from "@heroicons/react/24/solid"; |
| 3 | +import DefaultUserImage from "@/components/DefaultUserImage"; |
| 4 | + |
| 5 | +export default function Menu() { |
| 6 | + return ( |
| 7 | + <div className="bg-[#F0F2F5] w-15 flex flex-col justify-between py-2"> |
| 8 | + <div className="flex flex-col gap-4 items-center"> |
| 9 | + <a href="#" className="p-2 rounded-full active:bg-slate-300/60 relative |
| 10 | + group flex items-center"> |
| 11 | + <ChatBubbleLeftIcon className="size-6 text-slate-700" /> |
| 12 | + <div className="absolute left-7/6 bg-gray-800 text-white |
| 13 | + text-sm rounded-full px-2 py-1 whitespace-nowrap transform scale-75 |
| 14 | + opacity-0 transition-all duration-300 group-hover:scale-100 |
| 15 | + group-hover:opacity-100"> |
| 16 | + Chats |
| 17 | + </div> |
| 18 | + </a> |
| 19 | + <a href="#" className="p-2 rounded-full active:bg-slate-300/60 relative |
| 20 | + group flex items-center"> |
| 21 | + <RssIcon className="size-6 text-slate-700" /> |
| 22 | + <div className="absolute left-7/6 bg-gray-800 text-white |
| 23 | + text-sm rounded-full px-2 py-1 whitespace-nowrap transform scale-75 |
| 24 | + opacity-0 transition-all duration-300 group-hover:scale-100 |
| 25 | + group-hover:opacity-100"> |
| 26 | + Status |
| 27 | + </div> |
| 28 | + </a> |
| 29 | + <a href="#" className="p-2 rounded-full active:bg-slate-300/60 relative |
| 30 | + group flex items-center"> |
| 31 | + <ChatBubbleOvalLeftEllipsisIcon className="size-6 text-slate-700" /> |
| 32 | + <div className="absolute left-7/6 bg-gray-800 text-white |
| 33 | + text-sm rounded-full px-2 py-1 whitespace-nowrap transform scale-75 |
| 34 | + opacity-0 transition-all duration-300 group-hover:scale-100 |
| 35 | + group-hover:opacity-100"> |
| 36 | + Channels |
| 37 | + </div> |
| 38 | + </a> |
| 39 | + <a href="#" className="p-2 rounded-full active:bg-slate-300/60 relative |
| 40 | + group flex items-center"> |
| 41 | + <UserGroupIcon className="size-6 text-slate-700" /> |
| 42 | + <div className="absolute left-7/6 bg-gray-800 text-white |
| 43 | + text-sm rounded-full px-2 py-1 whitespace-nowrap transform scale-75 |
| 44 | + opacity-0 transition-all duration-300 group-hover:scale-100 |
| 45 | + group-hover:opacity-100"> |
| 46 | + Communities |
| 47 | + </div> |
| 48 | + </a> |
| 49 | + <a href="#" className="p-2 rounded-full active:bg-slate-300/60 relative |
| 50 | + group flex items-center"> |
| 51 | + <StopCircleIcon className="size-6 text-sky-500" /> |
| 52 | + <div className="absolute left-7/6 bg-gray-800 text-white |
| 53 | + text-sm rounded-full px-2 py-1 whitespace-nowrap transform scale-75 |
| 54 | + opacity-0 transition-all duration-300 group-hover:scale-100 |
| 55 | + group-hover:opacity-100"> |
| 56 | + Mata AI |
| 57 | + </div> |
| 58 | + </a> |
| 59 | + </div> |
| 60 | + <div className="flex flex-col gap-4 items-center"> |
| 61 | + <a href="#" className="p-2 rounded-full active:bg-slate-300/60 relative |
| 62 | + group flex items-center"> |
| 63 | + <Cog6ToothIcon className="size-6 text-slate-700" /> |
| 64 | + <div className="absolute left-7/6 bg-gray-800 text-white |
| 65 | + text-sm rounded-full px-2 py-1 whitespace-nowrap transform scale-75 |
| 66 | + opacity-0 transition-all duration-300 group-hover:scale-100 |
| 67 | + group-hover:opacity-100"> |
| 68 | + Settings |
| 69 | + </div> |
| 70 | + </a> |
| 71 | + <a href="#" className="p-2 relative group flex items-center"> |
| 72 | + <DefaultUserImage size={32} /> |
| 73 | + <div className="absolute left-7/6 bg-gray-800 text-white |
| 74 | + text-sm rounded-full px-2 py-1 whitespace-nowrap transform scale-75 |
| 75 | + opacity-0 transition-all duration-300 group-hover:scale-100 |
| 76 | + group-hover:opacity-100"> |
| 77 | + Profile |
| 78 | + </div> |
| 79 | + </a> |
| 80 | + </div> |
| 81 | + </div> |
| 82 | + ) |
| 83 | +} |
0 commit comments