import useCollectionStore from "@/store/collections"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faFolder, faBox, faHashtag, faBookmark, faChartSimple, } from "@fortawesome/free-solid-svg-icons"; import useTagStore from "@/store/tags"; import Link from "next/link"; import { useRouter } from "next/router"; import { useEffect, useState } from "react"; export default function ({ className }: { className?: string }) { const { collections } = useCollectionStore(); const { tags } = useTagStore(); const router = useRouter(); const [active, setActive] = useState(""); useEffect(() => { setActive(router.asPath); }, [router, collections]); return (
Linkwarden
Dashboard
All Collections
All Links
Collections
{e.name}
Tags
{e.name}