Add 'For personalized design' label to product price
This commit is contained in:
@@ -677,7 +677,8 @@ export default function DesignCanvas({ product }: { product: ProductDTO }) {
|
|||||||
<div>
|
<div>
|
||||||
<h1 className="font-display text-4xl">{product.name}</h1>
|
<h1 className="font-display text-4xl">{product.name}</h1>
|
||||||
<p className="mt-2 text-muted">{product.description}</p>
|
<p className="mt-2 text-muted">{product.description}</p>
|
||||||
<p className="mt-4 flex items-baseline gap-2 font-mono text-lg">
|
<div className="mt-4">
|
||||||
|
<p className="flex items-baseline gap-2 font-mono text-lg">
|
||||||
{(() => {
|
{(() => {
|
||||||
const { onSale, price, originalPrice } = getEffectivePrice(
|
const { onSale, price, originalPrice } = getEffectivePrice(
|
||||||
{
|
{
|
||||||
@@ -702,6 +703,8 @@ export default function DesignCanvas({ product }: { product: ProductDTO }) {
|
|||||||
);
|
);
|
||||||
})()}
|
})()}
|
||||||
</p>
|
</p>
|
||||||
|
<p className="text-xs text-muted">For personalized design</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user