Commit Graph

1263 Commits

Author SHA1 Message Date
flayks 5ae812f9b4 Add products source
for Google and Pinterest
2022-10-12 11:02:02 +02:00
flayks dd57ea968e Fix Page transitions and scroll back to top
Might fix all the issues so far!
- start page loading on entering page transition start
- scroll back to top on leaving page transition end
2022-10-11 23:53:03 +02:00
flayks ff2aa2f030 [chore] Update packages 2022-10-11 21:12:35 +02:00
flayks bfcdd53d94 Rename constants files 🤦 2022-10-11 21:12:21 +02:00
flayks d8237bfbdc Add line break to pages content 2022-10-11 14:41:43 +02:00
flayks a927b358d7 Only fetch published photos on location page 2022-10-10 17:45:24 +02:00
flayks 24b9550c24 Put back Shop banner background animation 2022-10-10 17:32:32 +02:00
flayks ee095a2cc8 Redefine if location is has new photos and compare to last seen date 2022-10-10 17:26:22 +02:00
flayks a19339b49d Rework Shop nav and intro classes and styling
- rename things and move styles around to make more sense
- quick nav past banner was somehow broken and would not appear past banner
2022-10-09 16:02:32 +02:00
flayks 12327ecb1f Block scroll when opening cart 2022-10-09 15:37:52 +02:00
flayks 4b984fa078 Add Shop product page share image 2022-10-09 15:37:31 +02:00
flayks 35fb29da44 Change ProcessStep access and displaying
- make if condition in page and not with visible prop in component
- don't use hash as it was bugging the step 4 for some reason and also was not scrolling to it with hash
- send event when switching a step
2022-10-09 15:06:40 +02:00
flayks fd37c36595 🚧 Use PageTransition as a div and switch
- use a page classed div for PageTransition which avoids to make global style for the page
- fix the loading spinner that was too short and would come and go before arriving on the page, now fades out when changing page as pageLoading is defined on the PageTransition afterUpdate
2022-10-09 14:44:44 +02:00
flayks 8e6a38381f Send interactions events 2022-10-09 14:20:57 +02:00
flayks 25ed96ed2e Change Modules titles heading level and update packages 2022-10-09 11:15:41 +02:00
flayks c91b5c2392 Add service worker 2022-10-06 19:23:20 +02:00
flayks 52b06dcf3f [chore] Update packages 2022-10-06 19:23:15 +02:00
flayks 5241d5bc83 Fix static share image to include origin URL 2022-10-03 11:16:24 +02:00
flayks 7246711ce2 [chore] Update packages 2022-10-03 11:09:24 +02:00
flayks 559576e0b5 Switch temporarily homepage share image to static
Directus blocks assets from robots.txt?! 🤔
2022-10-03 11:09:16 +02:00
flayks 47afe8e4fa Change sitemap priority from number to string 2022-10-03 11:07:33 +02:00
flayks 23bad3fe76 Update robots.txt and packages 2022-09-29 14:19:08 +02:00
flayks d63db0f473 Add sitemap.xml 2022-09-27 17:30:19 +02:00
flayks 17ad74a59f Hide fixed nav ShopLocationSwitcher on mobile 2022-09-27 17:30:06 +02:00
flayks c618a95188 Add aria-label to Globe markers 2022-09-27 10:17:49 +02:00
flayks fb03377d77 Globe: Use Svelte transition using Motion to reveal current location Split text 2022-09-27 10:09:36 +02:00
flayks 4791fe5b13 Fix ScrollingTitle parallax on mobile
silly `display: inline-block`!
2022-09-27 09:45:27 +02:00
flayks 0eca069eaf Fix Photos page filters and reset button
Just remove photos from the filter label 🤭
2022-09-27 09:25:05 +02:00
flayks 594e8e976e Globe: Check for renderer on resize 2022-09-27 09:24:20 +02:00
flayks d83d609b0e Remove padding on CartItem remove button 2022-09-27 09:16:05 +02:00
flayks b316ff1745 Hide Carousel arrow on touch devices 2022-09-27 09:14:54 +02:00
flayks aa857e3531 Adapt Globe responsive and disable scroll on touch devices for now
Disabling scroll while finding a solution to only scroll horizontally on mobile
2022-09-27 09:13:10 +02:00
flayks d921f699b2 [wip] Define manually Globe dayTime until automatic calculation 2022-09-27 00:23:15 +02:00
flayks 395de99e63 Remove margin-top on every 10th item of Photos page 2022-09-26 23:41:03 +02:00
flayks 7898eb9bec Add SEO stuff 2022-09-26 23:13:45 +02:00
flayks a241dd849d Update humans and add robots file 2022-09-26 22:51:03 +02:00
flayks 48f4950bb0 Disable Carousel arrow on devices with no hover 2022-09-26 21:27:40 +02:00
flayks 4e4492e465 Fix Shop rotating images performances on Safari 2022-09-26 21:27:22 +02:00
flayks 95611d7c07 Merge branch 'v2' 2022-09-26 21:15:59 +02:00
flayks b7be64e3e0 Update Posters section
- keep carousel on medium screen
- center title
- remove subscribe module (fixes page transition scroll bug?! for now)
2022-09-26 21:03:30 +02:00
flayks 407836c44e [wip] Globe: Define lighting from a specific hour 2022-09-26 20:02:02 +02:00
flayks 7cc778e1cc Globe: Position camera to current continent
Quite complex to figure out but needed to use spherical coordinates to apply to the camera, inspired from Three.js
Thanks @Tape on Discord/Three.js!
2022-09-26 20:00:43 +02:00
flayks 6ca570c745 Fix Shop Poster view link 2022-09-26 19:46:10 +02:00
flayks 0cc996e117 Edit Globe settings 2022-09-26 13:12:39 +02:00
flayks 193f6dc2ee Remove old Globe 2022-09-25 14:29:19 +02:00
flayks bae3b4cdf7 Rewrite Globe dev things 2022-09-25 13:18:21 +02:00
flayks d223811009 Disable Globe markers interactivity if type is cropped 2022-09-25 13:17:55 +02:00
flayks 0d0b9ae018 Use latitude only for Globe rotation starting angle 2022-09-24 23:48:55 +02:00
flayks 8247d481a1 Forgot to bind innerWidth for loading Globe assets 😬 2022-09-24 23:46:22 +02:00
flayks 71625dbce0 💥 Update interactive Globe with latest features
It was long and painful but it's finally looking neat!

- place markers on globe following camera world matrix
- show location on marker hover instead of showing label near dot
- make marker easier to select
- make rotation constant no matter the monitor refresh rate by using a delta timed animation
- [wip] lighting the globe with a dark area / todo: how to get current sun lighting from a location?

Merci Julien :)
2022-09-24 23:42:00 +02:00