diff --git a/src/components/ItemCard.tsx b/src/components/ItemCard.tsx index ad57e82..a75e454 100644 --- a/src/components/ItemCard.tsx +++ b/src/components/ItemCard.tsx @@ -4,7 +4,8 @@ import {classNames, isHoverable} from "../utils/helpers"; import DependentImage from "./DependentImage"; import ReactMarkdown from 'react-markdown' -import {AiFillGithub} from "react-icons/ai"; +import {AiFillGithub, AiFillLinkedin, AiOutlineLink,} from "react-icons/ai"; +import {RxOpenInNewWindow} from "react-icons/rx"; type ItemCardProps = { banner: string; @@ -21,27 +22,30 @@ const ItemCard = ({banner, bannerBlur, title, description}: ItemCardProps) => { setActive(false); }) - return
{ - if (!isHoverable()) toggleActive(); - }} - ref={itemRef} className={classNames("item", active ? "active" : null)}> + return
{ + if (!isHoverable()) toggleActive(); + }}> classNames("object-cover", loaded ? null : "blur-xl")} placeholder="blur" alt={`Banner for ${title}`} /> -
-
-
{title}
-
+
+
+
{title}
+
{description}
-
-
+
+ className="grid grid-cols-2 grid-rows-2 p-2 md:gap-3 aspect-square icon-grid"> + + {/**/} + {/**/}
diff --git a/src/styles/globals.scss b/src/styles/globals.scss index aac5629..576664d 100644 --- a/src/styles/globals.scss +++ b/src/styles/globals.scss @@ -57,6 +57,6 @@ html, body { > svg { width: 75%; height: 75%; - @apply transition-transform drop-shadow-md hover:scale-[120%] text-zinc-200 hover:text-zinc-50 m-auto aspect-square; + @apply transition-transform drop-shadow-md hover:scale-[120%] opacity-80 hover:opacity-100 text-white m-auto aspect-square; } } \ No newline at end of file