@@ -1,6 +1,7 @@
1import Link from "next/link";
1import Link from "next/link";
2import GatewayImage from "./Image";
2import GatewayImage from "./Image";
3import classNames from "classnames";
3import classNames from "classnames";
4+import { capitalize } from "@urbit/foundation-design-system";
5const ResourceCard = ({ type, shortcode, title, description = "", color, image, full }) => (
6const ResourceCard = ({ type, shortcode, title, description = "", color, image, full }) => (
6 <Link href={`/${type}s/${shortcode}`}>
7 <Link href={`/${type}s/${shortcode}`}>
@@ -13,7 +14,7 @@ const ResourceCard = ({ type, shortcode, title, description = "", color, image,
13 <a className="font-semibold">{title}</a>
14 <a className="font-semibold">{title}</a>
14 <p className="hidden lg:block">{description}</p>
15 <p className="hidden lg:block">{description}</p>
16− <a className="button-lg bg-green-400 text-white shrink-0">View {type}</a>
17+ <a className="button-lg bg-green-400 text-white shrink-0">View {capitalize(type)}</a>
18 : <a className="font-semibold">{title}</a>}
19 : <a className="font-semibold">{title}</a>}