feat: Add all homepage sections to product pages
Product pages now include: - Product Benefits - Product Reviews - Trust Badges - Before/After Gallery - How It Works - Testimonials - Newsletter
This commit is contained in:
@@ -12,6 +12,11 @@ import ProductCard from "@/components/product/ProductCard";
|
|||||||
import ProductBenefits from "@/components/product/ProductBenefits";
|
import ProductBenefits from "@/components/product/ProductBenefits";
|
||||||
import ProductReviews from "@/components/product/ProductReviews";
|
import ProductReviews from "@/components/product/ProductReviews";
|
||||||
import AsSeenIn from "@/components/home/AsSeenIn";
|
import AsSeenIn from "@/components/home/AsSeenIn";
|
||||||
|
import TrustBadges from "@/components/home/TrustBadges";
|
||||||
|
import BeforeAfterGallery from "@/components/home/BeforeAfterGallery";
|
||||||
|
import HowItWorks from "@/components/home/HowItWorks";
|
||||||
|
import TestimonialsSection from "@/components/home/TestimonialsSection";
|
||||||
|
import NewsletterSection from "@/components/home/NewsletterSection";
|
||||||
|
|
||||||
interface ProductDetailProps {
|
interface ProductDetailProps {
|
||||||
product: Product;
|
product: Product;
|
||||||
@@ -423,6 +428,21 @@ export default function ProductDetail({ product, relatedProducts, locale = "SR"
|
|||||||
|
|
||||||
{/* Customer Reviews */}
|
{/* Customer Reviews */}
|
||||||
<ProductReviews locale={locale} productName={localized.name} />
|
<ProductReviews locale={locale} productName={localized.name} />
|
||||||
|
|
||||||
|
{/* Trust Badges */}
|
||||||
|
<TrustBadges />
|
||||||
|
|
||||||
|
{/* Before/After Gallery */}
|
||||||
|
<BeforeAfterGallery />
|
||||||
|
|
||||||
|
{/* How It Works */}
|
||||||
|
<HowItWorks />
|
||||||
|
|
||||||
|
{/* Testimonials */}
|
||||||
|
<TestimonialsSection />
|
||||||
|
|
||||||
|
{/* Newsletter */}
|
||||||
|
<NewsletterSection />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user