38deb96197
Return specific error message if location doesn't exist
2022-07-30 15:16:19 +02:00
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
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
0dba9b78c3
Add smooth scroll globally
2022-07-27 18:17:36 +02:00
d67eade6fb
Preload fonts
2022-07-26 23:41:13 +02:00
72704eac8c
Add SEO title and description to Homepage
2022-07-19 13:43:51 +02:00
6a66cdaf22
Use options parameters with types and default on smoothScroll function
2022-07-19 13:43:25 +02:00
3ba5a100c8
Fix anchor on Homepage locations button
2022-07-19 13:33:00 +02:00
543d2e5c8b
Change locations anchor on Homepage
2022-07-19 11:55:16 +02:00
5d7d4896fe
Filter empty continents directly in GraphQL query
2022-07-18 17:26:06 +02:00
4f274e52ce
[WIP] ✨ Started new Globe from scratch using OGL
2022-07-16 18:55:47 +02:00
56118d611d
Rename methods to match HTTP requests
2022-07-15 20:44:06 +02:00
9328b9d879
Fix location page error and message style
2022-07-15 20:43:22 +02:00
68b3f65dd3
Fix responsive issues globally
2022-07-11 21:41:32 +02:00
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
c0a1514c57
Fix random things
2022-07-07 14:16:09 +02:00
91c55b46cf
Fix some accessibility issues on links and buttons
2022-06-27 13:57:54 +02:00
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
453583c189
Add link to see map on House location
2022-06-27 11:31:44 +02:00
ea7360cae4
Fix location page Of animation timing
2022-06-24 12:28:10 +02:00
3e13a86581
Handle inexistant location page
2022-06-24 12:26:56 +02:00
b46df04258
Fix Error page styles and ListCTAs
2022-06-24 12:03:51 +02:00
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
dc4eaca312
Revert and fix location page styling (woops)
...
Forgot that one! 🫢
2022-06-23 20:08:10 +02:00
c66fe85879
✨ Add Analytics
2022-06-23 19:07:31 +02:00
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
565c1c2be9
Cleanup some (unused) code
2022-06-22 23:22:16 +02:00
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
f0173bb828
Remove unused code and refactor types importing
2022-06-22 23:16:34 +02:00
deb0c1d708
Remove lazy loading on location illustration
2022-06-20 16:39:19 +02:00
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
2831600f57
Return destructured data only if existing on layout
2022-06-14 11:58:54 +02:00
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
0272e7ed18
Various fixes for Location page
2022-06-13 18:30:42 +02:00
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
157b50f36c
Use House component
2022-06-13 15:59:34 +02:00
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
cfd6173baf
Rename getRandomElement function to getRandomItem
2022-06-13 15:26:53 +02:00
622e304efa
Store previous page globally from beforeNavigate
2022-06-13 14:21:23 +02:00
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
152961996d
Get rid of stuff
2022-06-07 16:51:45 +02:00
29cb3a30ba
Add error page on Shop
2022-06-07 16:36:39 +02:00
29165717fc
Rename Shop and Newsletter modules files
2022-06-07 16:36:08 +02:00
bd8c4e590f
Add types to Swell route api
2022-06-07 14:55:20 +02:00
ce25f9314b
Add global error page
2022-06-07 14:55:05 +02:00
218676b9ca
Add rotating images to Shop module
2022-06-01 20:11:11 +02:00
9ac9301540
Cleanup GraphQL query and add types
2022-06-01 20:10:59 +02:00
e1d9e0bd50
Switch subscribe query to page endpoint
2022-06-01 00:44:34 +02:00
ecc051a439
Update Homepage query
...
Filter published photos only
2022-05-31 18:34:07 +02:00
d87ec1835a
Remove unused global photos count
2022-05-30 22:07:20 +02:00