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
flayks
b764b4d1d1
Remove unused code and update packages
2022-09-23 10:07:01 +02:00
flayks
2b30f3b07a
[chore] Update packages
2022-09-21 22:06:20 +02:00
flayks
a51179f6f4
Add SEO share images on remaining pages
2022-09-21 16:32:23 +02:00
flayks
730a6789eb
Make Banner back link optional
2022-09-21 16:31:48 +02:00
flayks
37d2d20698
[chore] Update packages
2022-09-20 11:13:30 +02:00
flayks
2568502ab1
Rewrite conditional class definition
2022-09-20 11:12:36 +02:00
flayks
b2a1fbb83b
Center Globe horizontally
2022-09-20 11:09:18 +02:00
flayks
3517aa6a00
Fix another flag picture border radius
2022-09-20 11:09:08 +02:00
flayks
7c5808e7db
Set Shop nav left scroll of current link if further than half of viewport width
2022-09-20 10:59:19 +02:00
flayks
1c50f36f0d
Fix About page pictures border radius and present section picture height
2022-09-20 10:40:59 +02:00
flayks
504bb4c41b
Fix Photos filters bar
2022-09-20 10:39:07 +02:00
flayks
5299995b45
Fix Location flag on Safari
2022-09-20 10:32:45 +02:00
flayks
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
flayks
5545871c85
Use page specific stale-while-revalidate Cache-Control headers
2022-09-20 00:20:18 +02:00
flayks
39fc74d8e9
Use stale-while-revalidate Cache-Control headers instead?
2022-09-19 23:50:54 +02:00
flayks
3a7056cce6
Add Cache-Control max-age headers globally
2022-09-19 23:38:07 +02:00
flayks
e0b28551b8
Fix ScrollingTitle translate animation on scroll
...
Just missed a colon in the style variable declaration 🤦
2022-09-19 20:19:17 +02:00
flayks
486213ac77
Use Lenis to use smooth scroll to anchors
2022-09-19 20:09:28 +02:00
flayks
f37a84d4f3
Only count published photos on Grid count
2022-09-19 14:55:10 +02:00
flayks
b1448f9db3
Update photo queries to match Postgres migration
2022-09-19 12:50:36 +02:00
flayks
719c7b6f87
Pass parameters to Swell fetch function
2022-09-18 21:48:41 +02:00
flayks
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
flayks
e01ba0d6c6
Create reusable Swell fetch functions
2022-09-18 19:57:19 +02:00
flayks
3ca8ed0d06
Use base64 library to encode basic auth 🤦
...
Buffer being not enabled on Vercel Edge Functions
2022-09-18 18:55:28 +02:00
flayks
f3f4ccf171
Change swell-js as normal dependency
2022-09-18 18:37:28 +02:00
flayks
b83a9f0652
Change error page CTAs
2022-09-18 17:10:24 +02:00
flayks
c7b67b909c
Use Swell REST API for fetching products
2022-09-18 17:10:06 +02:00
flayks
2393d28597
Fix Shop fetching on server side?
2022-09-18 12:52:48 +02:00
flayks
e870816ddc
Remove Banner unused prop
2022-09-18 12:52:39 +02:00
flayks
9497fad63f
Fix Cart updating
2022-09-18 12:52:30 +02:00
flayks
4b4906bd0d
Use Vercel Edge Functions
2022-09-18 12:15:35 +02:00
flayks
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
flayks
b3fdc5cea5
[chore] Update npm packages
2022-09-17 21:05:17 +02:00
flayks
91c28cf1e3
Fix email form server check and return error code if existing
2022-09-14 22:37:24 +02:00
flayks
c7ddfc7adf
Fix some styling
2022-09-14 22:24:29 +02:00
flayks
eaf1c789e0
Fix some SEO
2022-09-14 22:24:10 +02:00
flayks
eb9eaaa250
[chore] Update npm packages
2022-09-14 22:16:06 +02:00
flayks
829487ebea
Fix Shop location switcher scroll when changing
2022-09-14 22:15:59 +02:00
flayks
1699203f02
Shorten Shop local storage store code
2022-09-14 22:15:44 +02:00
flayks
0728491aa6
Use global typography styles on Poster page layout
2022-09-14 22:07:31 +02:00
flayks
07060c8661
Use copy email to clipboard as an action
...
Returns an event with the email to detect for value and timeouts
2022-09-14 13:28:58 +02:00
flayks
f38a8fcdc7
✨ Store location last seen date to check for New label
...
Stores the last location's page seeing date in localStorage to hide the Location's new label in list, on top of the date limit
2022-09-14 11:35:06 +02:00
flayks
683edc05fc
Fix button prefetch values and remove unused IO rootMargin
2022-09-14 10:29:37 +02:00
flayks
44959462ee
Change Photos page grid
...
Remove large size and keep [2-1-1] [1-1-2] alternating
2022-09-13 13:23:42 +02:00
flayks
3f55e178ff
Add SEO from API on About
2022-09-13 11:45:45 +02:00