diff --git a/src/components/ProductCatalog.tsx b/src/components/ProductCatalog.tsx index 927581585707e5..bac8196799f6ba 100644 --- a/src/components/ProductCatalog.tsx +++ b/src/components/ProductCatalog.tsx @@ -110,6 +110,7 @@ const ProductCatalog = ({ products }: { products: ProductData[] }) => { {productList.map((product) => { return ( diff --git a/src/pages/products.astro b/src/pages/products.astro index 18758d18bc4def..54109c3d1fa080 100644 --- a/src/pages/products.astro +++ b/src/pages/products.astro @@ -6,6 +6,7 @@ import StarlightPage from "@astrojs/starlight/components/StarlightPage.astro"; import { getIconData, iconToSVG } from "@iconify/utils"; import ProductCatalog from "~/components/ProductCatalog"; import type { ProductData } from "~/components/ProductCatalog"; +import type { StarlightPageProps } from "@astrojs/starlight/props"; let products: CollectionEntry<"products">[] = await getCollection( "products", @@ -31,15 +32,18 @@ let productData: ProductData[] = products.map((product) => { }; }); -const frontmatter = { - title: "Products", - description: - "API reference, how-to guides, tutorials, example code, and more.", - template: "splash", -} as const; +const props = { + frontmatter: { + title: "Products", + description: + "API reference, how-to guides, tutorials, example code, and more.", + template: "splash", + }, + hideBreadcrumbs: true, +} as StarlightPageProps; --- - +