1import Link from "next/link";
2import classnames from "classnames";
3export default function IndexCard({ slug, feat }) {
6 <div className="cursor-pointer bg-wall-100 rounded-xl min-h-0 flex-1">
7 <div className="flex flex-col p-4 h-full relative">
10 className="w-64 md:w-full rounded-xl object-cover overflow-hidden basis-1/2"
12 backgroundColor: feat?.matchedPost?.bgColor || "rgba(0,0,0,0)",
15 <img className="h-full w-64 md:w-full object-cover" src={feat.image} />
19 className="rounded-xl w-full"
21 backgroundColor: feat?.matchedPost?.bgColor || "rgba(0,0,0,0)",
25 <div className="pt-4">
26 <p className="mb-2 font-semibold leading-5">{feat.title}</p>
28 <p className="text-sm leading-5">{feat?.description}</p>
36const badge = (type) => {
39 className={classnames(
40 "uppercase font-bold text-white text-xs w-fit rounded-lg mb-5 px-2 py-1",
42 "bg-[#B37ED7]": type === "Organization",
43 "bg-[#83b2d4]": type === "Application",
44 "bg-wall-600": type === "Podcast",
45 "bg-[#8dd5b1]": type === "Marketplace",
46 "bg-[#B5966D]": type === "Article"
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list