Commit Graph

240 Commits

Author SHA1 Message Date
54dc1a24ff Rework conditions for Button
- Was prefetching mailto links, so needs to detect if url string is starting
- Check if it actually has slots, then add a class
2022-08-01 18:09:51 +02:00
01859031aa Use Heading component on Credits and Subscribe page
Adapt the entering animation as well, SiteTitle was fading
2022-08-01 11:36:15 +02:00
5975c8e51a Update Analytics 2022-07-31 19:45:33 +02:00
39c8f6dd14 Update error messages 2022-07-30 17:03:12 +02:00
b058963b79 Add Shop module at end of Location page
With linked poster if existing, otherwise with all products
2022-07-30 13:49:29 +02:00
31351ae095 Create props for ShopModule content
Allows to customize content if for a specific one for instance
2022-07-30 10:28:07 +02:00
0dba9b78c3 Add smooth scroll globally 2022-07-27 18:17:36 +02:00
efb6183706 Fix Globe popin transition 2022-07-20 15:41:00 +02:00
6a66cdaf22 Use options parameters with types and default on smoothScroll function 2022-07-19 13:43:25 +02:00
978db8f76d Make cluster button more accessible 2022-07-19 12:37:02 +02:00
fa056d0933 Update resize method and debounce it on component 2022-07-19 12:36:51 +02:00
543d2e5c8b Change locations anchor on Homepage 2022-07-19 11:55:16 +02:00
a4176fed3b Update Globe and add comments 2022-07-19 11:54:50 +02:00
5d7d4896fe Filter empty continents directly in GraphQL query 2022-07-18 17:26:06 +02:00
4f274e52ce [WIP] Started new Globe from scratch using OGL 2022-07-16 18:55:47 +02:00
025bb522a9 Enable page transition on Shop index 2022-07-16 15:50:52 +02:00
7fa05ab6d3 Make share image conditional 2022-07-15 20:43:35 +02:00
310f7e5a44 Show cross to active Locations continent and change buttons behaviours
Active filtered continent stays pink instead of using opacity on the other ones
2022-07-11 21:40:25 +02:00
ae4ea7f4fa Use smooth scroll function to navigate to anchor
Using a eased RAF function to scroll to a specific target
Avoid using `scrollIntoView` or smooth behavior as it doesn't work on Safari and others.
2022-07-11 16:42:34 +02:00
120771efa1 Fix Shop issues
- Move ButtonCart from nav to position it on top right
- ButtonCart amount indicator position (center left => top left)
- Bring back updating label when changing cart (+ other transitions)
- Make ShopHeader picture gradient a bit bigger
2022-07-11 12:30:42 +02:00
18c2b1b16d Fix Globe appearing when changing page?!
Apparently the globe was running too early and would not show up from a page to another
Waiting for the page transition is helping
Thanks Baptiste!
2022-07-10 12:51:22 +02:00
d6c7ca5f70 Fix email form regex 🤦 2022-07-07 14:15:56 +02:00
67602b4fbc Fix House index position when ending with 1 2022-06-27 21:03:12 +02:00
c9053f9757 👀 Rework how House index is displayed
Use grids to place the index instead of position absolute
Add a condition if the index starts with 1 as it has a quite smaller width
2022-06-27 13:28:58 +02:00
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
b46df04258 Fix Error page styles and ListCTAs 2022-06-24 12:03:51 +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
c66fe85879 Add Analytics 2022-06-23 19:07:31 +02:00
b6af9a9a52 Fix ButtonCircle sizes? 2022-06-23 14:25:54 +02:00
46fae80137 Fix alt tag on Shop module images and SEO for link 2022-06-22 23:41:35 +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
255b00ab66 Add delay on SiteTitle reveal animation 2022-06-22 23:17:56 +02:00
33487cba5c Use svelte:element to avoid tag conditions 2022-06-22 23:17:37 +02:00
cce0e5d9c2 Fix ScrollingTitle animation by increasing from value 2022-06-22 23:17:19 +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
cfd6173baf Rename getRandomElement function to getRandomItem 2022-06-13 15:26:53 +02:00
3bd7061cd2 Rework Shop pages and switch to page endpoints
- Create ShopHeader component to reuse on pages
- Use page endpoints to query data from API and Swell
- Remove use of `stuff`
2022-06-07 16:58:57 +02:00
29165717fc Rename Shop and Newsletter modules files 2022-06-07 16:36:08 +02:00
85aacf12e3 Code optimizations 2022-06-07 14:54:28 +02:00
218676b9ca Add rotating images to Shop module 2022-06-01 20:11:11 +02:00
758c3548d7 Change some $$props.class to shorthands 2022-05-31 10:10:41 +02:00