Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 084c66c542 | |||
| bc64d0e67e |
@@ -264,36 +264,6 @@ export default function LandingPage() {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="product" data-section="product">
|
|
||||||
<ProductCardTwo
|
|
||||||
title="Bestsellers"
|
|
||||||
description="Discover our top-selling iPhone models that customers love the most."
|
|
||||||
tag="Top Picks"
|
|
||||||
tagIcon={Star}
|
|
||||||
textboxLayout="default"
|
|
||||||
useInvertedBackground="invertDefault"
|
|
||||||
animationType="slide-up"
|
|
||||||
gridVariant="three-columns-all-equal-width"
|
|
||||||
products={[
|
|
||||||
{
|
|
||||||
id: "1", brand: "Apple", name: "iPhone 16 Pro Max", price: "$1,199.00", rating: 5, reviewCount: "12.5k", imageSrc: "https://images.unsplash.com/photo-1519681393784-d120267933ba?w=800&q=80", imageAlt: "iPhone 16 Pro Max"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "2", brand: "Apple", name: "iPhone 16 Pro", price: "$999.00", rating: 5, reviewCount: "10.2k", imageSrc: "https://images.unsplash.com/photo-1519681393784-d120267933ba?w=800&q=80", imageAlt: "iPhone 16 Pro"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "3", brand: "Apple", name: "iPhone 16", price: "$799.00", rating: 5, reviewCount: "8.9k", imageSrc: "https://images.unsplash.com/photo-1519681393784-d120267933ba?w=800&q=80", imageAlt: "iPhone 16"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "4", brand: "Apple", name: "iPhone 15 Pro", price: "$899.00", rating: 4.5, reviewCount: "7.8k", imageSrc: "https://images.unsplash.com/photo-1519681393784-d120267933ba?w=800&q=80", imageAlt: "iPhone 15 Pro"
|
|
||||||
}
|
|
||||||
]}
|
|
||||||
buttons={[
|
|
||||||
{ text: "View All Bestsellers", href: "#bestsellers" }
|
|
||||||
]}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer" data-section="footer">
|
<div id="footer" data-section="footer">
|
||||||
<FooterMedia
|
<FooterMedia
|
||||||
imageSrc="https://img.b2bpic.net/free-vector/abstract-technology-wire-wave-blue-background_1035-17376.jpg"
|
imageSrc="https://img.b2bpic.net/free-vector/abstract-technology-wire-wave-blue-background_1035-17376.jpg"
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ interface ProductCardTwoProps {
|
|||||||
textBoxButtonContainerClassName?: string;
|
textBoxButtonContainerClassName?: string;
|
||||||
textBoxButtonClassName?: string;
|
textBoxButtonClassName?: string;
|
||||||
textBoxButtonTextClassName?: string;
|
textBoxButtonTextClassName?: string;
|
||||||
|
backgroundImage?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ProductCardItemProps {
|
interface ProductCardItemProps {
|
||||||
@@ -174,6 +175,7 @@ const ProductCardTwo = ({
|
|||||||
textBoxButtonContainerClassName = "",
|
textBoxButtonContainerClassName = "",
|
||||||
textBoxButtonClassName = "",
|
textBoxButtonClassName = "",
|
||||||
textBoxButtonTextClassName = "",
|
textBoxButtonTextClassName = "",
|
||||||
|
backgroundImage = "https://images.unsplash.com/photo-1519681393784-d120267933ba?w=1920&q=80",
|
||||||
}: ProductCardTwoProps) => {
|
}: ProductCardTwoProps) => {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const { products: fetchedProducts, isLoading } = useProducts();
|
const { products: fetchedProducts, isLoading } = useProducts();
|
||||||
@@ -222,7 +224,7 @@ const ProductCardTwo = ({
|
|||||||
tagIcon={tagIcon}
|
tagIcon={tagIcon}
|
||||||
buttons={buttons}
|
buttons={buttons}
|
||||||
textboxLayout={textboxLayout}
|
textboxLayout={textboxLayout}
|
||||||
className={className}
|
className={cls(className, "bg-cover bg-center", { [backgroundImage]: backgroundImage })}
|
||||||
containerClassName={containerClassName}
|
containerClassName={containerClassName}
|
||||||
gridClassName={gridClassName}
|
gridClassName={gridClassName}
|
||||||
carouselClassName={carouselClassName}
|
carouselClassName={carouselClassName}
|
||||||
|
|||||||
Reference in New Issue
Block a user