mobileMenu updated for categories list

This commit is contained in:
parsa aghaei 2024-10-07 18:07:42 +03:30
parent a78dbd657c
commit 4747cde67a

View File

@ -55,22 +55,13 @@ export default function MobileMenu({ clicked, setClicked }: propsType) {
Popular
</Link>
<Link
href="/blog/reading-list"
href="/blog/categories"
className={`block w-full whitespace-nowrap px-[14px] py-[10px] text-[21px] font-[400] hover:cursor-pointer ${pathname === "/blog/reading-list" ? "text-blog-text-hover" : "text-white"}`}
onClick={() => {
setClicked(false);
}}
>
Reading list
</Link>
<Link
href="/blog/topics"
className={`block w-full whitespace-nowrap px-[14px] py-[10px] text-[21px] font-[400] hover:cursor-pointer ${pathname === "/blog/topics" ? "text-blog-text-hover" : "text-white"}`}
onClick={() => {
setClicked(false);
}}
>
Topics
Categories
</Link>
</nav>
</div>