Commit Graph

262 Commits

Author SHA1 Message Date
a88359c468 Fix pink light buttons 2021-11-08 12:14:53 +01:00
5141198167 Move functions to directory 2021-11-08 12:14:39 +01:00
7242027be9 Fix Shop intro responsive 2021-11-07 23:12:48 +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
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
a3ead40a6d Cleanup shop 2021-11-07 11:59:14 +01:00
910d973678 Reveal Shop header when scrolling past Intro block 2021-11-07 11:53:48 +01:00
d087a58f36 Change Cart button naming 2021-11-07 11:53:48 +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
60f2ee526d Reveal Shop header when scrolling past Intro block 2021-11-07 11:47:51 +01:00
460fe9420c Create notification for cart 2021-11-05 22:40:15 +01:00
35ba7f7c63 Change Cart button naming 2021-11-05 17:52:28 +01:00
b8d1d6334c Add Cart button and opening/closing transition 2021-11-05 12:45:30 +01:00
e7bfc6fc52 Add Nav to shop page for cart and shop city 2021-11-04 16:05:39 +01:00
cb175073d0 Add new variants for cart buttons 2021-11-04 16:05:39 +01:00
50835fa6f6 Create Aside for Cart
With Poster Cart component
2021-11-04 16:05:39 +01:00
439cdaee98 Add Poster image from Shop page 2021-11-03 22:01:38 +01:00
230a5568e8 Check if location has a poster on Shop 2021-11-03 22:01:21 +01:00
365b8f5390 Use filtered aggregated photos count on Location page 2021-11-01 11:11:33 +01:00
99fe09c4fd Add data to Shop page 2021-10-31 19:38:08 +01:00
e3fcfacdbe Add some data on Shop page 2021-10-29 23:47:40 +02:00
68f9743f17 Create shop page
Make components: poster, poster product
2021-10-27 22:48:31 +02:00
7c4d890706 Add hover effect on Homepage collage PhotoCard 2021-10-25 23:44:45 +02:00
450ceb2bfa Hide Footer on Photo viewer 2021-10-25 15:45:19 +02:00
adc395b3f7 Finish Photo viewer styling with responsive 2021-10-25 15:45:12 +02:00
e830a18454 Use total photos count from global data 2021-10-24 22:20:01 +02:00
04a0b2bec5 Fix Location page photos overflow hiding its index 2021-10-24 22:03:18 +02:00
726aa60a06 Cleanup Photos page code 2021-10-24 15:30:06 +02:00
fd04d98463 Change max sides margin depending on window width when scrolling
Running it on window scroll avoids a flash effect on and is more optimized as it is not ran every time scrollY changes
2021-10-24 15:29:57 +02:00
18726f6798 Define small PostCard from photo index 2021-10-24 15:10:59 +02:00
eb026cabad Fix Photos page reactivity when changing country 2021-10-23 15:34:28 +02:00
ecacc0c1a1 Rework buttons classes and variants
Add a conditional class and list props as BEM class modifiers
2021-10-19 17:19:53 +02:00
ab9b0e1a59 Add style to Photo Viewer page 2021-10-19 12:22:20 +02:00
d9648f7513 Add large size buttons variant and make disabled state global 2021-10-18 11:14:02 +02:00
7ca8366cd5 Use map function to define the side margins on Photos page
Also defines the amount of viewport from the screen width to height ratio for small screens

Merci @sixclones et @raphael! (devs slack)
2021-10-18 11:13:55 +02:00
dfb019493e Redefine Location's new status from latest photo's creation date 2021-10-17 23:01:34 +02:00
38006355db Add Metas on Location page 2021-10-17 22:18:03 +02:00
f29b4c3bb0 🔥 Use Directus Storage Assets Presets only for images
Block the generation of other image sizes from the URL

TODO: Block the access to root asset url as it still displays the original file
2021-10-17 22:17:52 +02:00
56857fe30d Don't put Globe above everything 2021-10-17 19:50:50 +02:00
ea2162c2b9 Fix Location page total photos amount 2021-10-17 13:41:38 +02:00
62ddc32795 [wip] Create photo detail page with informations 2021-10-16 22:32:13 +02:00
818e1cfad4 Add link to photo on Homepage collage 2021-10-16 22:30:56 +02:00
3e358843fd 🔥 Filter locations from clicked continent on Locations 2021-10-16 15:41:26 +02:00
8b07352431 Make newsletter form a reusable component 2021-10-16 13:25:26 +02:00
a2d1a4c64c Add target on newsletter issue link and complete styling with hover 2021-10-16 13:14:55 +02:00
7384088388 Use Newsletter data from API 2021-10-15 22:34:36 +02:00
99cc1bc661 Add option to enable or disable Shop button 2021-10-15 22:20:12 +02:00