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
flayks
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
flayks
453583c189
Add link to see map on House location
2022-06-27 11:31:44 +02:00
flayks
ea7360cae4
Fix location page Of animation timing
2022-06-24 12:28:10 +02:00
flayks
3e13a86581
Handle inexistant location page
2022-06-24 12:26:56 +02:00
flayks
b46df04258
Fix Error page styles and ListCTAs
2022-06-24 12:03:51 +02:00
flayks
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
flayks
dc4eaca312
Revert and fix location page styling (woops)
...
Forgot that one! 🫢
2022-06-23 20:08:10 +02:00
flayks
c66fe85879
✨ Add Analytics
2022-06-23 19:07:31 +02:00
flayks
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
flayks
565c1c2be9
Cleanup some (unused) code
2022-06-22 23:22:16 +02:00
flayks
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
flayks
f0173bb828
Remove unused code and refactor types importing
2022-06-22 23:16:34 +02:00
flayks
deb0c1d708
Remove lazy loading on location illustration
2022-06-20 16:39:19 +02:00
flayks
7d4899fa48
Keep original photos ratio if not 3/2 on Viewer
...
- Fix previousPage usage
- Fix entering animation timings and previous photo navigation
- Add fade transition on fullscreen viewer for mobile
- Display date only if existing
2022-06-14 23:14:12 +02:00
flayks
2831600f57
Return destructured data only if existing on layout
2022-06-14 11:58:54 +02:00
flayks
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
flayks
0272e7ed18
Various fixes for Location page
2022-06-13 18:30:42 +02:00
flayks
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
flayks
157b50f36c
Use House component
2022-06-13 15:59:34 +02:00
flayks
b7a857e2e6
🔥 Get 11 random published photos on the Homepage collage
...
Thanks to Directus help, this works!
Concept: fetch all published photos IDs only, get 11 random items and query these 11 IDs
Only 2 queries, one for the IDs and one for the photos
2022-06-13 15:53:42 +02:00
flayks
cfd6173baf
Rename getRandomElement function to getRandomItem
2022-06-13 15:26:53 +02:00
flayks
622e304efa
Store previous page globally from beforeNavigate
2022-06-13 14:21:23 +02:00
flayks
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
flayks
152961996d
Get rid of stuff
2022-06-07 16:51:45 +02:00
flayks
29cb3a30ba
Add error page on Shop
2022-06-07 16:36:39 +02:00
flayks
29165717fc
Rename Shop and Newsletter modules files
2022-06-07 16:36:08 +02:00
flayks
bd8c4e590f
Add types to Swell route api
2022-06-07 14:55:20 +02:00