Commit Graph

64 Commits

Author SHA1 Message Date
551991d407 Fix accessibility issues 2021-12-15 22:31:49 +01:00
82f5dd4727 [wip] Rework Shop
- Change strategy for content fetching
- Add a route per page instead of using __layout for all
- Change the behaviors of the posters section (add a carousel on small screens)
- Change Poster buttons styling and make interactions only for desktop
2021-12-14 23:23:12 +01:00
ac03348349 Fix style and responsive issues 2021-12-14 23:19:46 +01: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
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
e8843409ce Manage Carousel first/last slide click cases 2021-11-28 23:27:44 +01:00
7169faa3aa Fix getRandomElement function
Now return an array item instead of an index
2021-11-28 23:06:22 +01:00
9e6df85bf1 Make more icons reusable in global SVG sprite 2021-11-21 22:11:59 +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
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
ac40eedb2f Use sveltekit:noscroll/prefetch on internal links 2021-11-17 19:25:59 +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
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
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
70c0165cf9 [chore] Update npm packages 2021-11-07 11:46:31 +01:00
b8d1d6334c Add Cart button and opening/closing transition 2021-11-05 12:45:30 +01:00
9b9d89b760 Fix Carousel dots clicking propagation 2021-11-04 20:58:15 +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
18f2e324c7 Manage Carousel arrow rotation depending on the current slide
Right only when first and Left only when last
2021-11-03 22:00:16 +01:00
99fe09c4fd Add data to Shop page 2021-10-31 19:38:08 +01:00
2c0adcc4e2 Add interactive Carousel component 2021-10-31 19:37:00 +01:00
141f9c6723 Shop WIP 2021-10-29 21:48:08 +02:00
68f9743f17 Create shop page
Make components: poster, poster product
2021-10-27 22:48:31 +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
ea567693c2 🔥 Add hover effect on buttons and links 2021-10-19 16:10:26 +02:00
72db85ede2 Add hover effects on Footer links 2021-10-18 16:19:04 +02:00
7f8dc8cec6 Create a tag prop for SiteTitle + make it responsive 2021-10-18 16:17:36 +02:00
dfb019493e Redefine Location's new status from latest photo's creation date 2021-10-17 23:01:34 +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
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
99cc1bc661 Add option to enable or disable Shop button 2021-10-15 22:20:12 +02:00
dca8f112ed Remove extra image in Shop component 2021-10-12 22:40:08 +02:00
cd2b234728 Rename global data arrays as plural by default
Easier for each loop and maps as to use singular
2021-10-12 00:05:35 +02:00
49b6e5eb55 Make Shop module content dynamic 2021-10-10 14:07:09 +02:00
121c325f99 Fix SiteTitle style on Footer 2021-10-10 14:06:27 +02:00
bc9a93101c Fix some styles issues (font-weight, max-width, markup) 2021-10-09 20:13:52 +02:00
5e790ad68c Show dynamic locations with a poster on Shop module 2021-10-09 16:49:29 +02:00
8055434b93 Add starting slash on Footer links 2021-10-09 12:05:11 +02:00
04188ab7be Edit responsive on Browse/Locations page 2021-10-05 15:23:23 +02:00
54afac2ed5 Add and edit responsive style on homepage 2021-10-03 19:14:24 +02:00