import {
Avatar,
Badge,
Collapse,
Divider,
Dropdown,
Menu,
Tooltip,
} from "antd";
import { useRouter } from "next/router";
import { useRef } from "react";
import { GlobalHotKeys, KeyMap } from "react-hotkeys";
import {
FaAngleDown,
FaAngleRight,
FaAtlassian,
FaCheck,
FaCode,
FaDotCircle,
FaGithub,
FaGlobe,
FaGoogleDrive,
FaHeadphones,
FaImage,
FaImages,
FaLayerGroup,
FaMicrophone,
FaMicrophoneAlt,
FaPhoneSlash,
FaPlay,
FaPlus,
FaRegArrowAltCircleDown,
FaRegClock,
FaRocket,
FaSearch,
FaStream,
FaThumbtack,
FaUser,
FaWalking,
} from "react-icons/fa";
import { HiSpeakerphone } from "react-icons/hi";
import MainLogo from "../components/MainLogo";
import UserStatusBubble from "../components/UserStatusBubble";
import { UserStatus } from "../models/user";
const { Panel } = Collapse;
export default function Me() {
return (
);
}
function Header() {
const router = useRouter();
const UserMenu = (
);
const inputRef = useRef();
const selectSearch = () => {
inputRef.current.focus();
};
const keyMap: KeyMap = {
SELECT_SEARCH: {
name: "select search to start searching",
sequence: "/",
action: "keyup",
},
};
const handlers = {
SELECT_SEARCH: selectSearch,
};
return (
{/* search bar */}
{/* controls */}
{/* profile section */}
);
}
function Sidebar() {
return (
{/* new button */}
{/* navigation items */}
Todo
Priority
Snooze
Done
Drawer
new
{/* Live Rooms */}
{/* section title */}
Rooms
{/* list of current rooms */}
K
} />
} />
Engineering
Business Talk Specs
{/* pinned items */}
{/* section title */}
Pinned
{/* pinned drawer items */}
{/* list of pinned convos */}
Josh
engineer
Mark
architect
2
Sydney
designer
3
Jessica
recruiter
4
General
5
K
} />
} />
} />
} />
Engineering
5
);
}
function Convos() {
return (
{/* Pinned */}
Pinned
K
}
/>
}
/>
}
/>
}
/>
Engineering
General
You spoke 2 hours ago
7:22am
{/* actions */}
Sydney
{/* actions */}
Last 7 Days
Earlier This Month
);
}