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

feat: improve images performance and product card design #180

Merged
merged 9 commits into from
May 4, 2023

Conversation

patzick
Copy link
Collaborator

@patzick patzick commented Apr 27, 2023

Description

merge after: #179, as prices are not showing correctly without it

  • improved images loaded from cloud, mostly in cms, images are rounded up to 100px, so we're not loading new images after minima resize
  • simplified card design
  • added some animations for
    • cart hover (small scale)
    • add to cart hover
    • wishlist icon hover

Sidenote

The code responsible for getting proper image sizes is not abstracted to some shared composable. It's easier to overwrite single components this way and change/remove functionality. We can think about this in future though.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Screenshots (if applicable)

Before:
image

After:
image

Variants:
Before:
image
After:
image

Advanced pricing /CMS/Commerce-element/:
Before:
image

After:
image

Sale:
Before:
image

After:
image

@vercel
Copy link

vercel bot commented Apr 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
frontends-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 4, 2023 0:48am
shopware-frontends-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 4, 2023 0:48am

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.

1 participant