Commit Graph

1179 Commits

Author SHA1 Message Date
7898eb9bec Add SEO stuff 2022-09-26 23:13:45 +02:00
a241dd849d Update humans and add robots file 2022-09-26 22:51:03 +02:00
48f4950bb0 Disable Carousel arrow on devices with no hover 2022-09-26 21:27:40 +02:00
4e4492e465 Fix Shop rotating images performances on Safari 2022-09-26 21:27:22 +02:00
95611d7c07 Merge branch 'v2' 2022-09-26 21:15:59 +02:00
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
407836c44e [wip] Globe: Define lighting from a specific hour 2022-09-26 20:02:02 +02:00
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
6ca570c745 Fix Shop Poster view link 2022-09-26 19:46:10 +02:00
0cc996e117 Edit Globe settings 2022-09-26 13:12:39 +02:00
193f6dc2ee Remove old Globe 2022-09-25 14:29:19 +02:00
bae3b4cdf7 Rewrite Globe dev things 2022-09-25 13:18:21 +02:00
d223811009 Disable Globe markers interactivity if type is cropped 2022-09-25 13:17:55 +02:00
0d0b9ae018 Use latitude only for Globe rotation starting angle 2022-09-24 23:48:55 +02:00
8247d481a1 Forgot to bind innerWidth for loading Globe assets 😬 2022-09-24 23:46:22 +02:00
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
b764b4d1d1 Remove unused code and update packages 2022-09-23 10:07:01 +02:00
2b30f3b07a [chore] Update packages 2022-09-21 22:06:20 +02:00
a51179f6f4 Add SEO share images on remaining pages 2022-09-21 16:32:23 +02:00
730a6789eb Make Banner back link optional 2022-09-21 16:31:48 +02:00
37d2d20698 [chore] Update packages 2022-09-20 11:13:30 +02:00
2568502ab1 Rewrite conditional class definition 2022-09-20 11:12:36 +02:00
b2a1fbb83b Center Globe horizontally 2022-09-20 11:09:18 +02:00
3517aa6a00 Fix another flag picture border radius 2022-09-20 11:09:08 +02:00
7c5808e7db Set Shop nav left scroll of current link if further than half of viewport width 2022-09-20 10:59:19 +02:00
1c50f36f0d Fix About page pictures border radius and present section picture height 2022-09-20 10:40:59 +02:00
504bb4c41b Fix Photos filters bar 2022-09-20 10:39:07 +02:00
5299995b45 Fix Location flag on Safari 2022-09-20 10:32:45 +02:00
be51fea5de Put Switcher over and next to Footer
Clever solution to keep it over but next to the title and not hide it
2022-09-20 10:32:35 +02:00
5545871c85 Use page specific stale-while-revalidate Cache-Control headers 2022-09-20 00:20:18 +02:00
39fc74d8e9 Use stale-while-revalidate Cache-Control headers instead? 2022-09-19 23:50:54 +02:00
3a7056cce6 Add Cache-Control max-age headers globally 2022-09-19 23:38:07 +02:00
e0b28551b8 Fix ScrollingTitle translate animation on scroll
Just missed a colon in the style variable declaration 🤦
2022-09-19 20:19:17 +02:00
486213ac77 Use Lenis to use smooth scroll to anchors 2022-09-19 20:09:28 +02:00
f37a84d4f3 Only count published photos on Grid count 2022-09-19 14:55:10 +02:00
b1448f9db3 Update photo queries to match Postgres migration 2022-09-19 12:50:36 +02:00
719c7b6f87 Pass parameters to Swell fetch function 2022-09-18 21:48:41 +02:00
f31f25aac9 🤦 Change Vite commonjs config to make swell-js working?
swell-js is being dissident with its requires
2022-09-18 20:37:15 +02:00
e01ba0d6c6 Create reusable Swell fetch functions 2022-09-18 19:57:19 +02:00
3ca8ed0d06 Use base64 library to encode basic auth 🤦
Buffer being not enabled on Vercel Edge Functions
2022-09-18 18:55:28 +02:00
f3f4ccf171 Change swell-js as normal dependency 2022-09-18 18:37:28 +02:00
b83a9f0652 Change error page CTAs 2022-09-18 17:10:24 +02:00
c7b67b909c Use Swell REST API for fetching products 2022-09-18 17:10:06 +02:00
2393d28597 Fix Shop fetching on server side? 2022-09-18 12:52:48 +02:00
e870816ddc Remove Banner unused prop 2022-09-18 12:52:39 +02:00
9497fad63f Fix Cart updating 2022-09-18 12:52:30 +02:00
4b4906bd0d Use Vercel Edge Functions 2022-09-18 12:15:35 +02:00
b66db25942 🚧 Switch to swell-js to handle Shop cart
swell-node was relying too much on Node packages like crypto or events to be used with Cloudflare Pages or Vercel Edge Functions
2022-09-18 12:14:43 +02:00
b3fdc5cea5 [chore] Update npm packages 2022-09-17 21:05:17 +02:00
91c28cf1e3 Fix email form server check and return error code if existing 2022-09-14 22:37:24 +02:00