import classNames from "classnames"; import { useState } from "react"; /* -------------------------------------------------------------------------- */ /* Components */ /* -------------------------------------------------------------------------- */ import ContextMenuAction from "../ContextMenuAction"; import ContextMenu from "../ContextMenu"; import Logofreeland from "../Logofreeland"; import { Button } from "../Button/Button"; import Avatar from "../Avatar"; import Navbar from "../Navbar"; import Logo from "../Logo"; import { RouterLink } from "components/typography/RouterLink"; /* -------------------------------------------------------------------------- */ /* Icons */ /* -------------------------------------------------------------------------- */ import { SVGBellNotification, SVGBell, SVGFavoriteOutlined, SVGFolder, SVGFile, SVGEye, } from "components/icons"; const Header = () => { const [authenticated, setAuthenticated] = useState(false); const onClick = () => setAuthenticated(true); const [notification, setNotification] = useState(false); /* -------------------------------------------------------------------------- */ /* Implement Header Component */ /* -------------------------------------------------------------------------- */ return (
{/* Logo and Menu */}
{/* Logo - start - className="w-7 sm:w-10 " /> */} {/* Logo - end - */} {/* Menu( Create new - My library - About ) Start */}
{/* Link Create now - start - */} Create new {/* Link Create now - end - */} {/* Dropdown Menu My library - start - */} console.log("My publications")} icon={} > console.log("My Favorites")} icon={} > console.log("My Collections")} icon={} > console.log("Recent Viewed")} icon={} > {/* Dropdown Menu My library - End - */} {/* Dropdown Menu About - start - */} console.log("About Freeland")} > console.log("Contact Us")} > console.log("Help")} > {/* Dropdown Menu About - End - */}
{/* Menu( Create new - My library - About ) End */}
{/* Sign in - Sign up - Notification - Avatar - Burger */}
{!authenticated ? [ , , ] : [ , , ]} {/* Burger component will be shown for the small screens */}
); }; export default Header;