Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TITAN-283] - Re-create latest products section in React #10

Merged
merged 7 commits into from
Apr 6, 2023

Conversation

RossoMaguire
Copy link
Contributor

@RossoMaguire RossoMaguire commented Apr 5, 2023

Description

Creating the ProductCard and ProductSection React components and adding them to the homepage using the mock data. Will be re-used for the on sale section which will follow Customer Testimonials.

The ProductCard component will be reused on the Shop and Search pages as well.

TITAN-283

Screenshots

Screenshot 2023-04-05 at 11 16 30

{item.quantity} ×{' '}
<span className={styles['price-amount']}>
<span>$</span>
{item.sale_price.toFixed(2)}
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder, do we need these zeros at the end of the price?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We come back to it when we are implementing the cart ? Right now we aren't working with any cart data so this will have to be refactored anyways

@RossoMaguire RossoMaguire merged commit d48566f into main Apr 6, 2023
@RossoMaguire RossoMaguire deleted the RossoMaguire/TITAN-283 branch April 6, 2023 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants