Skip to content
This repository was archived by the owner on Jul 3, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/pages/cart/CartItem/CartItemView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function CartItemView({
<Card className="w-full max-w-2xl py-4 sm:py-6">
<CardContent className="space-y-2 px-4 sm:px-6">
<div className="flex items-start justify-between gap-2">
<div className="flex flex-col gap-y-4">
<div className="flex flex-col gap-y-4 items-start">
<CardTitle>{name}</CardTitle>
<ProductPrice startPrice={price.value.centAmount} discountPrice={price.discounted?.value?.centAmount} />
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/pages/home/Discounts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function Discounts(): ReactElement {

return (
<div className="mt-6 mx-3">
<H2 className="text-center mb-6">Discounts</H2>
<H2 className="text-center mb-6">Discount codes</H2>
<div className="grid grid-cols-1 sm:grid-cols-2 gap-3">
{discounts.map(({ id, code, description }) => (
<Card key={id} className="flex-grow w-full max-w-xs p-2 border-black p-2">
Expand Down