Remove reviews section from product pages

- Delete Reviews.tsx component
- Remove Reviews from standard product page
- Remove Reviews from made-to-order product page
- Simplify page layout by removing review section

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
Andymick
2026-07-18 16:24:28 +01:00
co-authored by Claude Haiku 4.5
parent 74f9db6501
commit 10af792261
4 changed files with 3 additions and 68 deletions
-5
View File
@@ -4,7 +4,6 @@ import { prisma } from '@/lib/prisma';
import { toProductDTO } from '@/lib/product';
import { fetchActivePromotions } from '@/lib/promotions';
import ProductCard from '@/components/ProductCard';
import Reviews from '@/components/Reviews';
const DesignCanvas = dynamic(() => import('@/components/DesignCanvas'), { ssr: false });
@@ -26,10 +25,6 @@ export default async function ProductDetailPage({ params }: { params: { slug: st
<div className="mx-auto max-w-6xl px-6 py-12">
<DesignCanvas product={product} />
<section className="mt-20 border-t border-line pt-12">
<Reviews />
</section>
{related.length > 0 && (
<section className="mt-20 border-t border-line pt-12">
<h2 className="mb-8 font-display text-3xl">You might also like</h2>
-5
View File
@@ -4,7 +4,6 @@ import { toProductDTO } from '@/lib/product';
import { fetchActivePromotions } from '@/lib/promotions';
import StandardProductView from '@/components/StandardProductView';
import ProductCard from '@/components/ProductCard';
import Reviews from '@/components/Reviews';
export default async function StandardProductPage({ params }: { params: { slug: string } }) {
const activePromotions = await fetchActivePromotions();
@@ -24,10 +23,6 @@ export default async function StandardProductPage({ params }: { params: { slug:
<div className="mx-auto max-w-6xl px-6 py-12">
<StandardProductView product={product} />
<section className="mt-20 border-t border-line pt-12">
<Reviews />
</section>
{related.length > 0 && (
<section className="mt-20 border-t border-line pt-12">
<h2 className="mb-8 font-display text-3xl">You might also like</h2>