diff --git a/components/carousel/EmblaCarousel.jsx b/components/carousel/EmblaCarousel.jsx index 92c2c8d3..d0212ac3 100644 --- a/components/carousel/EmblaCarousel.jsx +++ b/components/carousel/EmblaCarousel.jsx @@ -137,6 +137,7 @@ const EmblaCarousel = (props) => { }} loader={gumletLoader} layout="fill" + key={item.original} objectFit="cover" priority={index == 0 ? true : false} fetchpriority={index == 0 ? "true" : "false"} @@ -147,7 +148,7 @@ const EmblaCarousel = (props) => { // data-src={current.original} alt={`Gallery Image ${index}`} sizes={"(max-width: 300px) 100vw, 600px"} - className='embla__slide__img cursor-pointer rounded-xl bg-white border border-gray-300/70' + className='embla__slide__img cursor-pointer rounded-xl border border-gray-300/50' /> diff --git a/components/toolbox/HeroCard.js b/components/toolbox/HeroCard.js new file mode 100644 index 00000000..0e63cfe1 --- /dev/null +++ b/components/toolbox/HeroCard.js @@ -0,0 +1,143 @@ +import Image from "next/image"; +import gumletLoader from "@/components/new-index/gumletLoader"; +import Link from "next/link"; +import Button from "@/components/Primitives/Button" +const HeroCard = ({logo, post, tags, featuredImage}) =>{ + return( +
+ {post?.attributes?.excerpt} +
+ ) : null} ++ {post?.attributes?.excerpt} +
+ ) : null} +- {post?.attributes?.excerpt} -
- ) : null} -- Join the 1000s who receive curated products from Graeme @ - Prototypr. -
-+ Join the 1000s who receive curated products from Graeme @ + Prototypr. +
+