diff --git a/src/components/widgets/Brands.astro b/src/components/widgets/Brands.astro new file mode 100644 index 0000000..6f576b4 --- /dev/null +++ b/src/components/widgets/Brands.astro @@ -0,0 +1,36 @@ +--- +import { Icon } from 'astro-icon/components'; +import type { Brands } from '~/types'; +import Headline from '~/components/ui/Headline.astro'; +import WidgetWrapper from '~/components/ui/WidgetWrapper.astro'; +const { + title = '', + subtitle = '', + tagline = '', + icons = [], + images = [], + id, + isDark = false, + classes = {}, + bg = await Astro.slots.render('bg'), +} = Astro.props as Brands; +--- + + + + +
+ {icons && icons.map((icon) => )} + { + images && + images.map( + (image) => + image.src && ( +
+ {image.alt +
+ ) + ) + } +
+
diff --git a/src/pages/homes/startup.astro b/src/pages/homes/startup.astro index 3162b0a..9dd26ad 100644 --- a/src/pages/homes/startup.astro +++ b/src/pages/homes/startup.astro @@ -9,6 +9,7 @@ import Features from '~/components/widgets/Features.astro'; import Stats from '~/components/widgets/Stats.astro'; import Features3 from '~/components/widgets/Features3.astro'; import FAQs from '~/components/widgets/FAQs.astro'; +import Brands from '~/components/widgets/Brands.astro'; const metadata = { title: 'Startup Landing Page', @@ -64,7 +65,8 @@ const metadata = { + + + + ; images?: Array; }