149e3472b6
Track more events
...
- addToCart with product name
- cartOpen
- cartCheckout when going to checkout page
2022-11-03 23:15:58 +01:00
12327ecb1f
Block scroll when opening cart
2022-10-09 15:37:52 +02:00
9497fad63f
Fix Cart updating
2022-09-18 12:52:30 +02:00
b66db25942
🚧 Switch to swell-js to handle Shop cart
...
swell-node was relying too much on Node packages like crypto or events to be used with Cloudflare Pages or Vercel Edge Functions
2022-09-18 12:14:43 +02:00
5e5c08ddd1
🚧 Migrate to new SvelteKit routing system
...
A bit annoying but for the best I guess?
2022-08-16 15:54:15 +02:00
120771efa1
Fix Shop issues
...
- Move ButtonCart from nav to position it on top right
- ButtonCart amount indicator position (center left => top left)
- Bring back updating label when changing cart (+ other transitions)
- Make ShopHeader picture gradient a bit bigger
2022-07-11 12:30:42 +02:00
cdabe6935b
🔥 Huge style refactoring by using SvelteKit built-in style tag
...
It's been tricky but got there finally! Hello `:global`
- Avoid using one global CSS file containing everything
- Import the component SCSS file in a script tag from the component file to allow style scoping and including it only when used
2022-06-22 23:26:00 +02:00
565c1c2be9
Cleanup some (unused) code
2022-06-22 23:22:16 +02:00
f15a2f2e47
Add entering transition on Shop and fix some styling
...
- Center intro title vertically
- Cart item styling tweaks
- Add cart button quantity label inside of button so it's clickable
2021-12-06 22:14:02 +01:00
5080fadd60
Create a new cart if current cart is not active/has been paid
2021-11-15 17:02:44 +01:00
73c9e80a21
Use SVG icons from global symbols
...
Allow to change color and avoid code duplication
2021-11-10 22:57:50 +01:00
5229105e5d
Fix Cart checkout Button hover
...
It was disabled 🤦
2021-11-07 22:41:34 +01:00
5923afed3b
Make Shop location switcher a component using a global store
...
Using two switchers (one in the shop nav and the other in the cart) makes possible to have the switcher over the Cart overlay (over intro)
2021-11-07 22:40:52 +01:00
3198fd8545
Move Shop store into separate file
2021-11-07 22:38:23 +01:00
f7457b5f8d
🔥 Finish Cart implementation
...
- Use Select component in CartItem to change quantity
- Visual update when removing or changing an item quantity
- API: Remove Cart item action
- API: Handle Cart item adding and updating (quantity)
2021-11-07 20:21:20 +01:00
bd74f5612c
[wip] 🔥 Integrate Swell into the shop
...
Create a custom and internal API for fetching and updating content to Swell Admin API (using swell-node)
2021-11-07 11:51:01 +01:00
b8d1d6334c
Add Cart button and opening/closing transition
2021-11-05 12:45:30 +01:00
50835fa6f6
Create Aside for Cart
...
With Poster Cart component
2021-11-04 16:05:39 +01:00