diff --git a/astro/src/components/Hero.astro b/astro/src/components/Hero.astro index 2b98c55f..57d80d54 100644 --- a/astro/src/components/Hero.astro +++ b/astro/src/components/Hero.astro @@ -1,12 +1,14 @@ --- import { getImage } from "astro:assets"; import type { ImageMetadata } from "astro"; +import RandomContent from "./RandomContent.astro"; interface Props { image: ImageMetadata | string; theme?: string; columns?: string; actionBreakpoint?: string; + actionBarItems?: number; } const { @@ -14,6 +16,7 @@ const { theme = "primary", columns = "col-lg-6", actionBreakpoint = "lg", + actionBarItems = 3, } = Astro.props; let heroBgUrl; @@ -39,11 +42,12 @@ if (image) { { Astro.slots.has("action-bar") && (