Commit Graph

14 Commits

Author SHA1 Message Date
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
f0173bb828 Remove unused code and refactor types importing 2022-06-22 23:16:34 +02: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
2f7082fd9d Add anchor to poster url 2021-12-07 21:58:53 +01:00
6559298212 Check stock for Shop's add to cart button 2021-11-20 21:39:49 +01:00
4ee17f921e Use 3 first photos only for PosterLayout 2021-11-20 21:39:12 +01:00
75f3e5f1d1 Get a category of products from Swell 2021-11-08 13:53:06 +01:00
378a64f2b0 Add product to cart from anywhere
Make a global function that adds a product to the current cart
2021-11-08 13:00:31 +01:00
3198fd8545 Move Shop store into separate file 2021-11-07 22:38:23 +01:00
e1c259164f Show a notification when adding a product to Cart 2021-11-07 20:18:19 +01:00
bd74f5612c [wip] 🔥 Integrate Swell into the shop
Create a custom and internal API for fetching and updating content to Swell Admin API (using swell-node)
2021-11-07 11:51:01 +01:00
77b072359c Fix Poster layout 2021-11-05 12:44:54 +01:00
1785fb1c03 Fix Lightpink button variant 2021-11-05 12:42:33 +01:00
99fe09c4fd Add data to Shop page 2021-10-31 19:38:08 +01:00