@@ -0,0 +1,47 @@
1+import Link from "next/link";
2+import classnames from "classnames";
3+export default function IndexCard({ slug, feat }) {
6+ <div className="cursor-pointer bg-wall-100 rounded-xl basis-1/3 h-full">
7+ <div className="flex flex-col p-6 justify-between items-between h-full relative">
10+ className="rounded-xl w-full flex-1 object-cover"
12+ style={{ aspectRatio: "4 / 3" }}
16+ className="bg-wall-200 rounded-xl w-full flex-1"
17+ style={{ aspectRatio: "4 / 3" }}
20+ <div className="grow-1 shrink-0 flex flex-col h-full min-h-0 pt-4">
21+ <h3 className="mb-2">{feat.title}</h3>
23+ <p>{feat?.description}</p>
31+const badge = (type) => {
34+ className={classnames(
35+ "uppercase font-bold text-white text-xs w-fit rounded-lg mb-2 px-2 py-1",
37+ "bg-[#B37ED7]": type === "Organization",
38+ "bg-[#83b2d4]": type === "Application",
39+ "bg-[#8dd5b1]": type === "Podcast",
40+ "bg-[#8dd5b1]": type === "Marketplace",