Commit Graph

59 Commits

Author SHA1 Message Date
cf6afd832e Add photo's city to Postcard on Photos grid 2021-11-14 19:51:58 +01:00
73c9e80a21 Use SVG icons from global symbols
Allow to change color and avoid code duplication
2021-11-10 22:57:50 +01:00
0475e3f61e Go to new page when changing location on the Shop switcher 2021-11-08 14:37:36 +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
5923afed3b Make Shop location switcher a component using a global store
Using two switchers (one in the shop nav and the other in the cart) makes possible to have the switcher over the Cart overlay (over intro)
2021-11-07 22:40:52 +01:00
3198fd8545 Move Shop store into separate file 2021-11-07 22:38:23 +01:00
f7457b5f8d 🔥 Finish Cart implementation
- Use Select component in CartItem to change quantity
- Visual update when removing or changing an item quantity
- API: Remove Cart item action
- API: Handle Cart item adding and updating (quantity)
2021-11-07 20:21:20 +01:00
e1c259164f Show a notification when adding a product to Cart 2021-11-07 20:18:19 +01:00
ffc26877c8 Merge branch 'v2' into v2-shop
# Conflicts:
#	src/components/molecules/PosterCart.svelte
#	src/routes/shop/__layout.svelte
#	src/style/atoms/_button-circle.scss
#	src/style/organisms/_cart.scss
#	src/style/pages/_shop.scss
#	src/style/style.scss
2021-11-07 12:07:18 +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
e71652303a Add gray variant to button circle 2021-11-05 22:45:11 +01:00
163fbe75db Add cross (remove) icon to poster cart 2021-11-05 22:41:02 +01:00
460fe9420c Create notification for cart 2021-11-05 22:40:15 +01:00
2e05f00b68 Add link to Poster component and make a better hover
Buttons are now under the image, creating a parallax scale effect
2021-11-05 12:57:15 +01:00
1785fb1c03 Fix Lightpink button variant 2021-11-05 12:42:33 +01:00
50835fa6f6 Create Aside for Cart
With Poster Cart component
2021-11-04 16:05:39 +01:00
439cdaee98 Add Poster image from Shop page 2021-11-03 22:01:38 +01:00
99fe09c4fd Add data to Shop page 2021-10-31 19:38:08 +01:00
a5512ac51e Add slug prop to Shop Poster component 2021-10-29 23:45:34 +02:00
141f9c6723 Shop WIP 2021-10-29 21:48:08 +02:00
68f9743f17 Create shop page
Make components: poster, poster product
2021-10-27 22:48:31 +02:00
7c4d890706 Add hover effect on Homepage collage PhotoCard 2021-10-25 23:44:45 +02:00
e1b5ebd0b1 Fix PostCard responsive and add small size variant 2021-10-23 22:51:38 +02:00
89c55c17e2 Bind Select's value to make it simpler and more reactive 2021-10-23 15:32:49 +02:00
ecacc0c1a1 Rework buttons classes and variants
Add a conditional class and list props as BEM class modifiers
2021-10-19 17:19:53 +02:00
1aaa12f435 Add hover on Newsletter module links 2021-10-18 23:57:31 +02:00
dfb019493e Redefine Location's new status from latest photo's creation date 2021-10-17 23:01:34 +02:00
f29b4c3bb0 🔥 Use Directus Storage Assets Presets only for images
Block the generation of other image sizes from the URL

TODO: Block the access to root asset url as it still displays the original file
2021-10-17 22:17:52 +02:00
818e1cfad4 Add link to photo on Homepage collage 2021-10-16 22:30:56 +02:00
36f4c5a330 Fix Postcard style and hover + rename class 2021-10-16 15:54:11 +02:00
3e358843fd 🔥 Filter locations from clicked continent on Locations 2021-10-16 15:41:26 +02:00
8b07352431 Make newsletter form a reusable component 2021-10-16 13:25:26 +02:00
2ea5cbecda Make PostCard content dynamic 2021-10-14 23:19:09 +02:00
2ed411a94e 🔥 Implement sizes with Image component and webp loading with source 2021-10-13 23:33:07 +02:00
c45136beb0 Fixes here and there 2021-10-13 23:32:09 +02:00
4c14a85ab0 Create Heading component
Intro title with p
2021-10-12 22:39:55 +02:00
1ea9b9fadf Define current Select option from selected option and not default 2021-10-12 00:03:02 +02:00
e1f988d4b1 Add sveltekit:prefetch on internal links 2021-10-10 14:06:43 +02:00
bc9a93101c Fix some styles issues (font-weight, max-width, markup) 2021-10-09 20:13:52 +02:00
a7023c3a0f Close Switcher when clicking on a link 2021-10-08 00:14:43 +02:00
9c36b2dbf6 🔥 Create Photos grid for mobile and desktop 2021-10-05 21:05:42 +02:00
6af5e55be3 Make selects and reset button reactive on Photos filters 2021-10-05 21:02:48 +02:00
1257c1458c Merge branch 'v2' of https://git.server.flayks.com/cetrucflotte/housesof into v2
# Conflicts:
#	src/routes/photos.svelte
2021-10-05 16:44:02 +02:00
7dbc7cdf73 Create Post Card component 2021-10-04 18:18:07 +02:00
4df9cdedd6 Make custom Selects reactive 2021-10-04 13:05:39 +02:00
252b58993a Add Switcher on all pages 2021-10-03 23:16:59 +02:00
6c1dcf7535 Make Location hover preview images global on env 2021-10-02 20:55:27 +02:00
ec77cde75d Change Location hover photo change effect 2021-10-02 13:24:22 +02:00
77c19ff43f Add images inside of Location hover effect 2021-10-01 23:43:26 +02:00
57a12487a3 Add responsive on Homepage elements 2021-10-01 23:43:00 +02:00