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
cfd6173baf
Rename getRandomElement function to getRandomItem
2022-06-13 15:26:53 +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
29165717fc
Rename Shop and Newsletter modules files
2022-06-07 16:36:08 +02:00
85aacf12e3
Code optimizations
2022-06-07 14:54:28 +02:00
218676b9ca
Add rotating images to Shop module
2022-06-01 20:11:11 +02:00
758c3548d7
Change some $$props.class to shorthands
2022-05-31 10:10:41 +02:00
c2dc2bf2fb
[chore] Fix TS
2022-05-30 20:50:23 +02:00
f417b80aab
Disable lazyloaded images for Collage
2022-05-23 12:24:59 +02:00
5b3fbb7ece
Add async decoding for lazy loaded images
2022-05-23 12:08:05 +02:00
7b43e50b6c
Change default font weight and Fix copy
2022-05-21 00:04:04 +02:00
3de6764fb5
Cleanup & Redefine font weights
2022-05-20 22:28:35 +02:00
7c369794c1
✨ Scroll back to top when transition out is finished
...
Potentially the end of nightmares for page transitions with `sveltekit:noscroll`?
2022-03-21 14:05:54 +01:00
91510df410
Fix Homepage collage's active photo effect while hover
...
- Change method and use a class on collage itself fading all photos, then highlight the one being hovered
- For some reason the content inside was conflicting the mouseenter event
2022-03-21 14:04:52 +01:00
21b5eefce2
Temp fix for carousels types
2022-03-21 13:42:14 +01:00
8047ffe034
Isolate Homepage collage component and add hover effect on other photos
2022-03-21 11:03:05 +01:00
3841bc2ced
[chore] Update npm packages and SvelteKit config
2022-03-13 19:55:05 +01:00
df17b0cff1
Add house icon to Switcher
2022-03-02 19:51:12 +01:00
482b62da0e
Re-implement close state to Globe marker
2022-03-01 12:48:10 +01:00
9e3a3be60b
Use Switcher links from API and animate component
2022-01-24 22:19:25 +01:00
2ec810b932
Misc fixes
2022-01-18 17:05:11 +01:00
088e2454bc
Add moving earth icon and Fix icons/buttons
2022-01-18 17:04:07 +01:00
cffef1835f
Fix Page transitions by using a hacky FOUC trick
...
Seems to work though!
2022-01-18 14:22:38 +01:00
729138cffb
[chore] Update npm packages and fix errors/run migrations
2022-01-03 20:12:22 +01:00
551991d407
Fix accessibility issues
2021-12-15 22:31:49 +01:00
82f5dd4727
[wip] Rework Shop
...
- Change strategy for content fetching
- Add a route per page instead of using __layout for all
- Change the behaviors of the posters section (add a carousel on small screens)
- Change Poster buttons styling and make interactions only for desktop
2021-12-14 23:23:12 +01:00
ac03348349
Fix style and responsive issues
2021-12-14 23:19:46 +01:00
2f7082fd9d
Add anchor to poster url
2021-12-07 21:58:53 +01:00
06db598b90
Use PageTransition component on every route
...
- Scrolls back to top when mounting new page with a timeout of the delay
- Rename photo Viewer class
- Change Shop posters section text from p to label
2021-12-07 21:58:17 +01:00
f15a2f2e47
Add entering transition on Shop and fix some styling
...
- Center intro title vertically
- Cart item styling tweaks
- Add cart button quantity label inside of button so it's clickable
2021-12-06 22:14:02 +01:00
d655050da1
Make better detection for Switcher current link
2021-12-06 15:05:40 +01:00
e920a162f8
Add TS interface for location on Shop module
2021-12-06 15:05:23 +01:00
8ac954b1a2
Add tabindex to elements for better keyboard navigation
2021-12-06 15:03:41 +01:00
778e15dfbd
Add active class on Switcher current link
2021-11-30 22:16:54 +01:00
a7eb9782f5
Rework SiteTitle styling
2021-11-30 20:26:40 +01:00
f95d793d58
Rename PageTransition prop
2021-11-30 19:49:55 +01:00
f8fe141505
Use page transition component to avoid repetition on main
2021-11-30 00:23:36 +01:00
e8843409ce
Manage Carousel first/last slide click cases
2021-11-28 23:27:44 +01:00
8958362d07
Add hover on ButtonCircle only when having a clone
2021-11-28 23:08:54 +01:00
89234e6e52
Fix sizeKey on Image without sizes
2021-11-28 23:08:13 +01:00
7169faa3aa
Fix getRandomElement function
...
Now return an array item instead of an index
2021-11-28 23:06:22 +01:00
595a93087c
Fix Location images
2021-11-25 23:50:16 +01:00
a9651b6b02
Position Switcher for mobile and on Viewer
2021-11-23 23:04:54 +01:00
dd66c34b6a
Add close button to Viewer
2021-11-23 23:04:33 +01:00
7b94685451
Manage Images sizes & srcset only if is set
2021-11-23 12:02:50 +01:00
8e56d58b30
Change Photo viewer controls and ButtonCircle
2021-11-21 22:41:35 +01:00
9e6df85bf1
Make more icons reusable in global SVG sprite
2021-11-21 22:11:59 +01:00