diff --git a/website/src/pages/_components/landing-featured-projects.tsx b/website/src/pages/_components/landing-featured-projects.tsx index 3ca6cfcf2..45c4b846a 100644 --- a/website/src/pages/_components/landing-featured-projects.tsx +++ b/website/src/pages/_components/landing-featured-projects.tsx @@ -1,9 +1,17 @@ -import React from "react"; +import React, { ComponentProps } from "react"; import { FeaturedBadge } from "formidable-oss-badges"; import { LinkButton } from "../../components/link-button"; -const projects = [ +type ProjectName = ComponentProps["name"]; +type Projects = { + name: ProjectName; + link: string; + description: string; + title?: string; +}; + +const projects: Projects[] = [ { name: "spectacle", link: "https://commerce.nearform.com/open-source/spectacle", @@ -41,9 +49,13 @@ export const LandingFeaturedProjects = () => ( - + {title || name} diff --git a/website/src/pages/_components/landing-showcase.tsx b/website/src/pages/_components/landing-showcase.tsx index e696729e9..581a81842 100644 --- a/website/src/pages/_components/landing-showcase.tsx +++ b/website/src/pages/_components/landing-showcase.tsx @@ -18,7 +18,7 @@ export function LandingShowcase() {

A Few of Our Fans

-
+