Commit Graph

212 Commits

Author SHA1 Message Date
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
c66fe85879 Add Analytics 2022-06-23 19:07:31 +02:00
b6af9a9a52 Fix ButtonCircle sizes? 2022-06-23 14:25:54 +02:00
46fae80137 Fix alt tag on Shop module images and SEO for link 2022-06-22 23:41:35 +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
255b00ab66 Add delay on SiteTitle reveal animation 2022-06-22 23:17:56 +02:00
33487cba5c Use svelte:element to avoid tag conditions 2022-06-22 23:17:37 +02:00
cce0e5d9c2 Fix ScrollingTitle animation by increasing from value 2022-06-22 23:17:19 +02:00
f0173bb828 Remove unused code and refactor types importing 2022-06-22 23:16:34 +02:00
23b0035272 Fix current product detection on Shop location switcher select 2022-06-21 13:38:55 +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
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