"use client"; import React, { FC } from "react"; import { Avatar, DarkThemeToggle, Dropdown, Label, Navbar, TextInput, } from "flowbite-react"; import { HiArchive, HiBell, HiCog, HiCurrencyDollar, HiEye, HiInbox, HiLogout, HiMenuAlt1, HiOutlineTicket, HiSearch, HiShoppingBag, HiUserCircle, HiUsers, HiViewGrid, HiX, } from "react-icons/hi"; import { siteurl } from "@/lib/utils/siteurl"; import { get_user } from "@/lib/utils/get_user"; import api from "@/lib/utils/axios"; const NavFlow: React.FC = ({ minimaze }) => { return (
{true && ( )} Man Power Management
); }; const NotificationBellDropdown: FC = function () { return ( Notifications } >
Notifications
New message from  Bonnie Green : "Hey, what's up? All set for the presentation?"
a few moments ago
Jese Leos  and  5 others  started following you.
10 minutes ago
Joseph Mcfall  and  141 others  love your story. See it and view more stories.
44 minutes ago
Leslie Livingston  mentioned you in a comment:  @bonnie.green  what do you say?
1 hour ago
Robert Brown  posted a new video: Glassmorphism - learn how to implement the new design trend.
3 hours ago
View all
); }; const NewMessageIcon: FC = function () { return ( ); }; const NewFollowIcon: FC = function () { return ( ); }; const NewLoveIcon: FC = function () { return ( ); }; const NewMentionIcon: FC = function () { return ( ); }; const NewVideoIcon: FC = function () { return ( ); }; const AppDrawerDropdown: FC = function () { return ( Apps } >
Apps
Sales
Users
Inbox
Profile
Settings
Products
Pricing
Billing
Logout
); }; const UserDropdown: FC = function () { return ( User menu } > {get_user("employee.name") ? get_user("employee.name") : "-"} {get_user("employee.email") ? get_user("employee.email") : "-"} { if (typeof window === "object") navigate( `${process.env.NEXT_PUBLIC_API_PORTAL}/choose-roles?state=manpower` ); }} > Switch Role { await api.delete(process.env.NEXT_PUBLIC_BASE_URL + "/api/destroy-cookies"); localStorage.removeItem('user'); if (typeof window === "object") navigate(`${process.env.NEXT_PUBLIC_API_PORTAL}/logout`); }} > Sign out ); }; export default NavFlow;