Commit Graph

281 Commits

Author SHA1 Message Date
ac40eedb2f Use sveltekit:noscroll/prefetch on internal links 2021-11-17 19:25:59 +01:00
30b2cc3f16 Add Homepage entering animations 2021-11-16 22:35:48 +01:00
ed62030b29 Create a component for scrolling huge titles 2021-11-16 22:35:42 +01:00
bcc03459c6 Filter posters and locations by published 2021-11-16 10:44:48 +01:00
c9c028118b Cleanup code
- Remove unused props
- Add alt to icon on BoxCTA
2021-11-14 19:56:11 +01:00
8dd59e74d4 Check for illustration on location page 2021-11-14 19:52:46 +01:00
b835d0f5f6 Add photo's city on Photo viewer 2021-11-14 19:52:30 +01:00
cf6afd832e Add photo's city to Postcard on Photos grid 2021-11-14 19:51:58 +01:00
c0bd1ac516 🔥 Make the photo viewer completely working
Merci Grafikart 🙏
A whole bunch of headaches and challenges to load prev and next photos depending on the current one, while animating everything nicely.
Added lots of comments to document the logic and fetching.
2021-11-11 23:32:41 +01:00
7daf97ba1c Only aggregate photos/locations/countries that are published 2021-11-11 23:05:04 +01:00
f7af2aa8f3 Add city to House info if existing 2021-11-10 23:55:48 +01:00
b0e4351b05 Fix Shop product data finding
Use location slug from API product
2021-11-10 23:10:18 +01:00
17af949e8e Add Shop poster link on location page 2021-11-10 22:58:07 +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
f1be0b719e Fix Cart issue by using PosterLayout on each shop page and not layout 2021-11-09 22:41:36 +01:00
11ff9291d2 Destructure Shop stylesheets 2021-11-08 14:37:16 +01:00
27daa26fd9 Cleanup Shop layout 2021-11-08 14:03:21 +01:00
f133c00522 Change Shop About section layout 2021-11-08 14:03:00 +01:00
75f3e5f1d1 Get a category of products from Swell 2021-11-08 13:53:06 +01:00
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