453583c189
Add link to see map on House location
2022-06-27 11:31:44 +02:00
0ce305480f
Make Switcher links accessible
...
Also switch button and links to keep tabing
2022-06-24 13:02:36 +02:00
9f2b1c37bf
Fix Newsletter form types
2022-06-24 12:54:37 +02:00
a9869b72be
✨ Implement newsletter subscription form using API
...
Switch from SendInBlue to EmailOctopus for newsletter. Now uses their API through the form to handle subscription.
2022-06-23 20:10:55 +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
6d4224abea
Use global value to check for current Shop product
...
Also add other stores types to hint on expected values
2022-06-22 23:20:52 +02:00
f0173bb828
Remove unused code and refactor types importing
2022-06-22 23:16:34 +02:00
23b0035272
Fix current product detection on Shop location switcher select
2022-06-21 13:38:55 +02:00
d5b860da03
Rework Location page photos ratio and hover
...
Defines if the photo is under 3/2 by calculating ratio from width and height
2022-06-13 23:34:33 +02:00
0272e7ed18
Various fixes for Location page
2022-06-13 18:30:42 +02:00
615f7df4a1
Force 3/2 format for non landscape photos on Location page
...
Center image on a background when square, portrait or other ratio
- Fix MutuationObserver for using components (would think a component is an item)
2022-06-13 18:30:26 +02:00
157b50f36c
Use House component
2022-06-13 15:59:34 +02:00
f417b80aab
Disable lazyloaded images for Collage
2022-05-23 12:24:59 +02:00
7b43e50b6c
Change default font weight and Fix copy
2022-05-21 00:04:04 +02:00
91510df410
Fix Homepage collage's active photo effect while hover
...
- Change method and use a class on collage itself fading all photos, then highlight the one being hovered
- For some reason the content inside was conflicting the mouseenter event
2022-03-21 14:04:52 +01:00
8047ffe034
Isolate Homepage collage component and add hover effect on other photos
2022-03-21 11:03:05 +01:00
3841bc2ced
[chore] Update npm packages and SvelteKit config
2022-03-13 19:55:05 +01:00
df17b0cff1
Add house icon to Switcher
2022-03-02 19:51:12 +01:00
9e3a3be60b
Use Switcher links from API and animate component
2022-01-24 22:19:25 +01:00
2ec810b932
Misc fixes
2022-01-18 17:05:11 +01:00
729138cffb
[chore] Update npm packages and fix errors/run migrations
2022-01-03 20:12:22 +01:00
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
2f7082fd9d
Add anchor to poster url
2021-12-07 21:58:53 +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
d655050da1
Make better detection for Switcher current link
2021-12-06 15:05:40 +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
89234e6e52
Fix sizeKey on Image without sizes
2021-11-28 23:08:13 +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
9e6df85bf1
Make more icons reusable in global SVG sprite
2021-11-21 22:11:59 +01:00
8654e43af5
Fix city on PhotoCard
2021-11-21 12:08:31 +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
4b05186662
Fix Shop product location switcher path
2021-11-16 14:53:38 +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
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
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
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
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
e71652303a
Add gray variant to button circle
2021-11-05 22:45:11 +01:00