diff --git a/components/LinksContainer/LinkContainer.jsx b/components/LinksContainer/LinkContainer.jsx index d9439c790..1371b2746 100644 --- a/components/LinksContainer/LinkContainer.jsx +++ b/components/LinksContainer/LinkContainer.jsx @@ -1,18 +1,30 @@ import React from "react"; -import {BsBoxArrowUpRight} from 'react-icons/bs'; +import { BsBoxArrowUpRight } from "react-icons/bs"; -export const LinkContainer = ({ name, description, url }) => { +export const LinkContainer = (props) => { + const { name, description, url, getCardId } = props; return ( -
+
getCardId(props)} + className="transition-all ease-in duration-100 w-full cursor-pointer md:w-72 h-64 bg-gray-100 shadow-lg dark:shadow-sm border hover:scale-[1.02] border-dashed border-violet-500 rounded-3xl dark:bg-gray-900 dark:text-gray-300" + >
-

{name}

-

{description}

+

+ {name} +

+

+ {description} +

e.stopPropagation()} href={url} target="_blank" rel="noreferrer" - className="mt-2 px-6 py-2 text-white text-center font-semibold bg-violet-600 rounded-2xl w-full hover:bg-transparent hover:text-violet-500 border border-dashed border-transparent duration-100 hover:border-violet-400 bottom-0 flex items-center justify-center" + className="mt-2 px-6 py-2 text-white text-center bg-violet-600 rounded-2xl w-full hover:bg-transparent hover:text-violet-500 border border-dashed border-transparent duration-100 hover:border-violet-400 bottom-0 flex items-center justify-center" > Visit site diff --git a/components/SideNavbar/SideNavbar.tsx b/components/SideNavbar/SideNavbar.tsx index 207140654..0702ae0e2 100644 --- a/components/SideNavbar/SideNavbar.tsx +++ b/components/SideNavbar/SideNavbar.tsx @@ -42,7 +42,7 @@ export const SideNavbar = () => {
-
+
diff --git a/components/SideNavbar/SideNavbarCategory.tsx b/components/SideNavbar/SideNavbarCategory.tsx index 3c3f82a5b..669261e78 100644 --- a/components/SideNavbar/SideNavbarCategory.tsx +++ b/components/SideNavbar/SideNavbarCategory.tsx @@ -40,7 +40,7 @@ export const SideNavbarCategory: FC<{item: ISidebar, openByDefault: string}> = ( className="flex w-full cursor-pointer justify-between py-2 hover:text-violet-500 focus-visible:rounded-md focus-visible:outline-none focus-visible:ring focus-visible:ring-violet-500" onClick={handleToggle} > -

+

{item.category}

diff --git a/components/SideNavbar/SideNavbarCategoryList.tsx b/components/SideNavbar/SideNavbarCategoryList.tsx index cdfef8b39..be80e6d9d 100644 --- a/components/SideNavbar/SideNavbarCategoryList.tsx +++ b/components/SideNavbar/SideNavbarCategoryList.tsx @@ -6,7 +6,7 @@ export const SideNavbarCategoryList: FC<{items: ISidebar[], openByDefault: strin const { items, openByDefault } = props; return ( -