1import Link from "next/link";
2import GatewayImage from "./gateway/Image";
4const ResourceCard = ({ type, shortcode, title, color, image }) => (
5 <Link href={`/${type}s/${shortcode}`}>
6 <div className="cursor-pointer rounded-xl bg-wall-100 p-4 flex items-center space-x-4 mr-2 my-1">
7 <GatewayImage color={color} image={image || color} size={50} />
8 <a className="font-semibold">{title}</a>
13export default ResourceCard;
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