Skip to content

Commit ec5a011

Browse files
committed
feat: added brand to product page
1 parent 43547f1 commit ec5a011

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/app/product/[id]/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,10 +415,10 @@ export default function ProductPage({ params }: { params: Promise<{ id: string }
415415
{product.productName}
416416
</h1>
417417
<span
418-
className="text-xs mt-0.5 truncate block"
419-
style={{ color: colours.text.secondary }}
418+
className="text-m mt-0.5 truncate block font-semibold"
419+
style={{ color: colours.text.muted }}
420420
>
421-
Product ID: {product.id}
421+
{product.brandName}
422422
</span>
423423
</div>
424424
</div>

src/app/search/page.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,8 @@ const SearchResult = memo(({ product, onSelect }: { product: ProductSearchResult
5454
style={{ color: colours.text.muted }}
5555
>
5656
<span className="font-semibold">
57-
{product.brandName}
57+
{product.brandName}
5858
</span>
59-
6059
</div>
6160
</Link>
6261
);

0 commit comments

Comments
 (0)