Skip to content

Commit

Permalink
feat: adicionado arquivo redirect.csv
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus committed Apr 18, 2024
1 parent 90d9abe commit c9a3582
Show file tree
Hide file tree
Showing 4 changed files with 503 additions and 18 deletions.
1 change: 1 addition & 0 deletions components/product/ProductDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ function Details({
height={HEIGHT}
aspect={ASPECT_RATIO}
product={product}
highlights={highlights}
/>

{/* Product Info */}
Expand Down
39 changes: 22 additions & 17 deletions components/product/ProductDetailsImages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,24 +68,29 @@ function ProductDetailsImages(
</Slider.Item>
))}
</Slider>
<div class="absolute w-full right-0 top-0 xl:pl-32">
{/* Discount tag */}
<div class="grid gap-y-2 w-full">
{
/* {price && listPrice && price !== listPrice
? (
<DiscountBadge
price={price}
listPrice={listPrice}
className="lg:left-auto lg:right-0 left-4"
/>
)
: null} */
}

{/* Discount tag */}
{price && listPrice && price !== listPrice
? (
<DiscountBadge
price={price}
listPrice={listPrice}
className="lg:left-auto lg:right-0 left-4"
/>
)
: null}

{product && (
<ProductHighlights
product={product}
highlights={highlights}
/>
)}
{product && (
<ProductHighlights
product={product}
highlights={highlights}
/>
)}
</div>
</div>
</div>

{/* Dots */}
Expand Down
2 changes: 1 addition & 1 deletion components/product/ProductHighlights.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function ProductHighlights(props: Props) {
${GRID_ROW_SPAN[rowSpan ?? 0]}
${GRID_COL_SPAN[colSpan ?? 0]}
${GRID_ROW_HORIZONTAL[alignHorizontal ?? "start"]}
${icon ? "p-0 self-start" : "p-1 2xl:p-2 self-start"}
${icon ? "p-0 " : "p-1 2xl:p-2 "}
`}
style={{
background: backgorundColor,
Expand Down
Loading

1 comment on commit c9a3582

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on c9a3582 Apr 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

500: Internal Server Error (INTERNAL_SERVER_ERROR_3)

An error has occurred inside of a Deno Deploy system (code 3).

Please sign in to comment.