1import Link from "next/link";
2export default function HighlightCard({ slug, highlight }) {
4 <Link href={highlight.url}>
5 <div className="cursor-pointer bg-wall-100 rounded-xl min-h-0 flex-1">
6 <div className="flex flex-col p-4 h-full relative">
8 <div className="w-64 md:w-full rounded-xl object-cover overflow-hidden basis-3/5">
9 <img className="h-full w-64 md:w-full object-cover" src={highlight.image} />
12 <div className="rounded-xl w-full"/>
14 <div className="pt-4">
15 <p className="mb-2 font-semibold leading-5">{highlight.title}</p>
16 <p className="text-sm leading-5">{highlight?.description}</p>
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