Commit Graph

268 Commits

Author SHA1 Message Date
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
d655050da1 Make better detection for Switcher current link 2021-12-06 15:05:40 +01:00
e920a162f8 Add TS interface for location on Shop module 2021-12-06 15:05:23 +01:00
8ac954b1a2 Add tabindex to elements for better keyboard navigation 2021-12-06 15:03:41 +01:00
778e15dfbd Add active class on Switcher current link 2021-11-30 22:16:54 +01:00
a7eb9782f5 Rework SiteTitle styling 2021-11-30 20:26:40 +01:00
f95d793d58 Rename PageTransition prop 2021-11-30 19:49:55 +01:00
f8fe141505 Use page transition component to avoid repetition on main 2021-11-30 00:23:36 +01:00
e8843409ce Manage Carousel first/last slide click cases 2021-11-28 23:27:44 +01:00
8958362d07 Add hover on ButtonCircle only when having a clone 2021-11-28 23:08:54 +01:00
89234e6e52 Fix sizeKey on Image without sizes 2021-11-28 23:08:13 +01:00
7169faa3aa Fix getRandomElement function
Now return an array item instead of an index
2021-11-28 23:06:22 +01:00
595a93087c Fix Location images 2021-11-25 23:50:16 +01:00
a9651b6b02 Position Switcher for mobile and on Viewer 2021-11-23 23:04:54 +01:00
dd66c34b6a Add close button to Viewer 2021-11-23 23:04:33 +01:00
7b94685451 Manage Images sizes & srcset only if is set 2021-11-23 12:02:50 +01:00
8e56d58b30 Change Photo viewer controls and ButtonCircle 2021-11-21 22:41:35 +01:00
9e6df85bf1 Make more icons reusable in global SVG sprite 2021-11-21 22:11:59 +01:00
8759477b79 Use reveal function to animate in ScrollingTitle 2021-11-21 14:40:02 +01:00
c618141f51 Use reveal function to animate Locations items 2021-11-21 13:51:11 +01:00
7e29caf2c2 Sort Shop locations alphabetically 2021-11-21 13:50:44 +01:00
68236bf39e Reveal inline SiteTitle 2021-11-21 13:40:13 +01:00
8654e43af5 Fix city on PhotoCard 2021-11-21 12:08:31 +01:00
6559298212 Check stock for Shop's add to cart button 2021-11-20 21:39:49 +01:00
4ee17f921e Use 3 first photos only for PosterLayout 2021-11-20 21:39:12 +01:00
1b181b92fc Disconnect IOs on destroy 2021-11-17 21:51:41 +01:00
df1e6f7311 Add reveal animation on Locations list 2021-11-17 21:51:26 +01:00
78cacbcd46 Cleanup Switcher code 2021-11-17 21:41:08 +01:00
ac40eedb2f Use sveltekit:noscroll/prefetch on internal links 2021-11-17 19:25:59 +01:00
8a53079fa1 Change Switcher labels and close it when clicking outside 2021-11-16 23:47:24 +01:00
a9d42dcc0d Cleanup classes 2021-11-16 22:35:58 +01:00
ed62030b29 Create a component for scrolling huge titles 2021-11-16 22:35:42 +01:00
4b05186662 Fix Shop product location switcher path 2021-11-16 14:53:38 +01:00
5080fadd60 Create a new cart if current cart is not active/has been paid 2021-11-15 17:02:44 +01:00
c9c028118b Cleanup code
- Remove unused props
- Add alt to icon on BoxCTA
2021-11-14 19:56:11 +01:00
cf6afd832e Add photo's city to Postcard on Photos grid 2021-11-14 19:51:58 +01:00
db7307669d Change Discover text 2021-11-14 19:51:02 +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
0475e3f61e Go to new page when changing location on the Shop switcher 2021-11-08 14:37:36 +01:00
75f3e5f1d1 Get a category of products from Swell 2021-11-08 13:53:06 +01:00
378a64f2b0 Add product to cart from anywhere
Make a global function that adds a product to the current cart
2021-11-08 13:00:31 +01:00
571f5d0a6d Use sveltekit:noscroll on Button link 2021-11-08 12:56:58 +01:00
a88359c468 Fix pink light buttons 2021-11-08 12:14:53 +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
e1c259164f Show a notification when adding a product to Cart 2021-11-07 20:18:19 +01:00
03cc79da69 Add transition to ButtonCart quantity label 2021-11-07 20:08:45 +01:00
ffc26877c8 Merge branch 'v2' into v2-shop
# Conflicts:
#	src/components/molecules/PosterCart.svelte
#	src/routes/shop/__layout.svelte
#	src/style/atoms/_button-circle.scss
#	src/style/organisms/_cart.scss
#	src/style/pages/_shop.scss
#	src/style/style.scss
2021-11-07 12:07:18 +01:00