diff --git a/.changeset/nine-flowers-matter.md b/.changeset/nine-flowers-matter.md new file mode 100644 index 000000000..fe7c8d63b --- /dev/null +++ b/.changeset/nine-flowers-matter.md @@ -0,0 +1,5 @@ +--- +"@bigcommerce/catalyst-core": patch +--- + +Add `Slide` component to be used in `Slideshow`. diff --git a/core/components/hero/index.tsx b/core/components/hero/index.tsx index 10003ff0f..768ccad7a 100644 --- a/core/components/hero/index.tsx +++ b/core/components/hero/index.tsx @@ -1,53 +1,34 @@ -import Image from 'next/image'; - -import { Button } from '~/components/ui/button'; import { Slideshow } from '~/components/ui/slideshow'; +import { Slide } from '../ui/slide'; + import SlideshowBG from './slideshow-bg-01.jpg'; const slides = [ -
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut - labore et dolore magna aliqua. Ut enim ad minim veniam. -
- -- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut - labore et dolore magna aliqua. Ut enim ad minim veniam. -
- -- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut - labore et dolore magna aliqua. Ut enim ad minim veniam. -
- -{description}
+ {cta && ( + + )} +