diff --git a/.claude/settings.local.json b/.claude/settings.local.json
index 1e23609..5816419 100644
--- a/.claude/settings.local.json
+++ b/.claude/settings.local.json
@@ -46,7 +46,9 @@
"Bash(rm -rf .next node_modules/.cache)",
"Bash(git commit -m 'Fix JSX syntax errors in DesignCanvas - close bracket issues *)",
"Bash(rm -rf craft2prints)",
- "Bash(git commit -m 'Add design approval workflow and per-image dimension tracking *)"
+ "Bash(git commit -m 'Add design approval workflow and per-image dimension tracking *)",
+ "Bash(git commit -m 'Remove feedback messages to simplify design canvas layout *)",
+ "Bash(git commit -m 'Remove reviews section from product pages *)"
]
}
}
diff --git a/src/app/made-to-order/[slug]/page.tsx b/src/app/made-to-order/[slug]/page.tsx
index 2174d1a..5b2e51e 100644
--- a/src/app/made-to-order/[slug]/page.tsx
+++ b/src/app/made-to-order/[slug]/page.tsx
@@ -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
-
-
{related.length > 0 && (
You might also like
diff --git a/src/app/products/[slug]/page.tsx b/src/app/products/[slug]/page.tsx
index 49dc946..79a951d 100644
--- a/src/app/products/[slug]/page.tsx
+++ b/src/app/products/[slug]/page.tsx
@@ -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:
-
-
{related.length > 0 && (
You might also like
diff --git a/src/components/Reviews.tsx b/src/components/Reviews.tsx
deleted file mode 100644
index 47cc08f..0000000
--- a/src/components/Reviews.tsx
+++ /dev/null
@@ -1,57 +0,0 @@
-// Placeholder reviews so the product page doesn't look empty. Swap this out for
-// real review data (its own Prisma model, or a reviews API) once you're ready.
-const SAMPLE_REVIEWS = [
- {
- name: 'Priya S.',
- rating: 5,
- body: 'The print came out exactly how I designed it. Fabric feels heavier than I expected in a good way.',
- },
- {
- name: 'Marcus T.',
- rating: 5,
- body: "Uploaded my own logo and it lined up perfectly. Shipping was faster than the estimate too.",
- },
- {
- name: 'Aisha K.',
- rating: 4,
- body: 'Great quality overall. Wish there were a couple more color options for this one.',
- },
-];
-
-function Stars({ rating }: { rating: number }) {
- return (
-
- {'★'.repeat(rating)}
- {'★'.repeat(5 - rating)}
-
- );
-}
-
-export default function Reviews() {
- const average =
- Math.round((SAMPLE_REVIEWS.reduce((s, r) => s + r.rating, 0) / SAMPLE_REVIEWS.length) * 10) / 10;
-
- return (
-
-
-
Reviews
-
-
-
- {average} · {SAMPLE_REVIEWS.length} reviews
-
-
-
-
-
- {SAMPLE_REVIEWS.map((r) => (
-
-
-
{r.body}
-
{r.name}
-
- ))}
-
-
- );
-}