Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions components/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@ interface Props {

const Card: React.FC<Props> = ({ index, image, title, description, link }) => {
return (
<div
key={index}
className="group relative flex h-auto flex-col justify-evenly rounded-lg border border-zinc-200 p-6 shadow-xl"
>
<div className="relative h-fit rounded-md flex justify-center items-center">
<Image
src={image}
alt="Protocol Logo"
loading="lazy"
width="700"
height="700"
className="h-64 w-full object-contain transition duration-500 group-hover:scale-110"
/>
<Link href={link}>
<div
key={index}
Expand Down