Commit Graph

473 Commits

Author SHA1 Message Date
flayks ec2d27f62c Fix current location in switcher on Product page 2022-08-26 10:03:09 +02:00
flayks e86a8d4ccd Adjust About page photos parallax values 2022-08-21 12:36:35 +02:00
flayks 1452edaa83 Create Terms page 2022-08-20 23:19:19 +02:00
flayks d7cab1f013 Destructurate page data 2022-08-18 23:23:57 +02:00
flayks 2539834ce1 Finish About page
Add entering and scroll animations
2022-08-18 23:20:48 +02:00
flayks a43c6393df Kill a bug 🐛 Checking for /api/data to only load photos on client
Server would also load an api route, which… does not really exist
2022-08-16 21:40:43 +02:00
flayks 0e6aaaa4e2 Make GraphQL queries more compact 2022-08-16 21:17:14 +02:00
flayks 52e0407700 Why an error again…? 2022-08-16 20:48:01 +02:00
flayks 42e9029da8 Switch back to VITE env variable for API token
Can't find a way around… but this works!
2022-08-16 20:40:57 +02:00
flayks 4a79015ec4 Remove errors on pages 2022-08-16 20:32:14 +02:00
flayks 93a50770d0 Move API fetch data to different file
Sharing multiple exportable functions in one file impacts the use of private env variables 🤷
2022-08-16 20:00:52 +02:00
flayks 6e904850aa 🚧 Migrate env variables to use internal SvelteKit system
Some API fetching function rewriting needed as privates cannot be included into public code
2022-08-16 16:58:57 +02:00
flayks 5e5c08ddd1 🚧 Migrate to new SvelteKit routing system
A bit annoying but for the best I guess?
2022-08-16 15:54:15 +02:00
flayks cf2becc931 Create reveal animation for About page Purpose section
Using Motion One inView for detecting and toggling class 🤌
2022-08-14 23:45:28 +02:00
flayks 1163ba61f5 Add latest issue part on Subscribe page and Create component for Issue 2022-08-14 23:01:56 +02:00
flayks 57f1dca240 Remove unused code 2022-08-14 22:59:28 +02:00
flayks fd6fc20b13 Finish to replace Anime with Motion One for page animations
Page intro animation and reveal that has now been simplified as Motion One manages an inView option (that uses IntersectionObserver)
2022-08-14 20:24:28 +02:00
flayks fa74e5bf7f Move get asset function into same API file 2022-08-14 19:21:49 +02:00
flayks f771a73b67 [wip] Switch from Anime to Motion One for page animations 2022-08-14 00:45:44 +02:00
flayks f688928757 Make About page stacking card scroll effect
Using Motion One example, thanks to https://codepen.io/bramus/pen/rNdzpZK (by Bramus)
2022-08-13 16:10:01 +02:00
flayks 0c82464a98 [wip] Make About page Process step a component
Also an attempt to manage the stacking effect of the steps but still not good 🙃 tricky shit
2022-08-11 23:07:50 +02:00
flayks 386670b5b6 [wip] Update About page with Stack of cards for Steps 2022-08-09 20:52:46 +02:00
flayks 8f299ba3ef Remove obsolete API field 2022-08-09 20:51:59 +02:00
flayks bb9eafc358 Remove Shop about field from data query 2022-08-03 12:49:42 +02:00
flayks 7e43846a92 Integrate more section in About page 2022-08-03 10:13:32 +02:00
flayks 42742bcba3 [wip] Create About page 2022-08-02 00:07:46 +02:00
flayks c91166d548 Use Svelte shorthand for CSS variables declaration 2022-08-01 21:00:08 +02:00
flayks e499f69574 Fix some missing smooth scroll function syntax 2022-08-01 18:10:18 +02:00
flayks 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
flayks 95b2398a00 Use favorite photos for Homepage Collage 2022-07-31 23:20:38 +02:00
flayks 4880483933 Add acknowledgement part at end of page
Specifically for Australia or other location needing an acknowledgement
2022-07-31 01:04:24 +02:00
flayks 39c8f6dd14 Update error messages 2022-07-30 17:03:12 +02:00
flayks cc3ddb2148 Location page product is not mandatory 2022-07-30 16:29:25 +02:00
flayks 38deb96197 Return specific error message if location doesn't exist 2022-07-30 15:16:19 +02:00
flayks 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
flayks 6a7c4a0c75 Restrict location page access to matching country slug from param
Location page would be accessible if the country page param was set to anything else than the country it should be linked to from the data
2022-07-29 23:46:03 +02:00
flayks 0dba9b78c3 Add smooth scroll globally 2022-07-27 18:17:36 +02:00
flayks d67eade6fb Preload fonts 2022-07-26 23:41:13 +02:00
flayks 72704eac8c Add SEO title and description to Homepage 2022-07-19 13:43:51 +02:00
flayks 6a66cdaf22 Use options parameters with types and default on smoothScroll function 2022-07-19 13:43:25 +02:00
flayks 3ba5a100c8 Fix anchor on Homepage locations button 2022-07-19 13:33:00 +02:00
flayks 543d2e5c8b Change locations anchor on Homepage 2022-07-19 11:55:16 +02:00
flayks 5d7d4896fe Filter empty continents directly in GraphQL query 2022-07-18 17:26:06 +02:00
flayks 4f274e52ce [WIP] Started new Globe from scratch using OGL 2022-07-16 18:55:47 +02:00
flayks 56118d611d Rename methods to match HTTP requests 2022-07-15 20:44:06 +02:00
flayks 9328b9d879 Fix location page error and message style 2022-07-15 20:43:22 +02:00
flayks 68b3f65dd3 Fix responsive issues globally 2022-07-11 21:41:32 +02:00
flayks 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
flayks c0a1514c57 Fix random things 2022-07-07 14:16:09 +02:00
flayks 91c55b46cf Fix some accessibility issues on links and buttons 2022-06-27 13:57:54 +02:00