@@ -1,6 +1,7 @@
11import Link from "next/link";
22import GatewayImage from "./Image";
33import classNames from "classnames";
4+import { capitalize } from "@urbit/foundation-design-system";
45
56const ResourceCard = ({ type, shortcode, title, description = "", color, image, full }) => (
67 <Link href={`/${type}s/${shortcode}`}>
@@ -13,7 +14,7 @@ const ResourceCard = ({ type, shortcode, title, description = "", color, image,
1314 <a className="font-semibold">{title}</a>
1415 <p className="hidden lg:block">{description}</p>
1516 </div>
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>
1718 </>
1819 : <a className="font-semibold">{title}</a>}
1920 </div>