Merge version_1 into main #4

Merged
bender merged 3 commits from version_1 into main 2026-02-23 15:17:49 +00:00
3 changed files with 10 additions and 11 deletions

View File

@@ -39,7 +39,7 @@ export default function BlogPage() {
<div id="blog-section" data-section="blog-section">
{!isLoading && posts && posts.length > 0 && (
<BlogCardThree
posts={posts}
items={posts}
animationType="slide-up"
gridVariant="three-columns-all-equal-width"
textboxLayout="default"

View File

@@ -46,8 +46,7 @@ function ProductDetailContent({
name={product.name}
description={product.description || ""}
price={product.price || ""}
image={product.imageSrc || ""}
imageAlt={product.imageAlt || product.name}
images={[{ src: product.imageSrc || "", alt: product.imageAlt || product.name }]}
onAddToCart={handleAddToCart}
/>
<ProductCart

View File

@@ -12,19 +12,19 @@ function ShopPageContent() {
const {
products,
isLoading,
searchTerm,
setSearchTerm,
selectedCategory,
setSelectedCategory,
search,
setSearch,
category,
setCategory,
} = useProductCatalog();
return (
<ProductCatalog
products={products}
searchTerm={searchTerm}
onSearchChange={setSearchTerm}
selectedCategory={selectedCategory}
onCategoryChange={setSelectedCategory}
search={search}
onSearchChange={setSearch}
category={category}
onCategoryChange={setCategory}
/>
);
}