7ca8366cd5
✨ Use map function to define the side margins on Photos page
...
Also defines the amount of viewport from the screen width to height ratio for small screens
Merci @sixclones et @raphael! (devs slack)
2021-10-18 11:13:55 +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
56857fe30d
Don't put Globe above everything
2021-10-17 19:50:50 +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
f9937f6c9a
[bug] Import dayjs plugins with js extension
2021-10-12 23:01:55 +02:00
db8f984739
[wip] Add reducing side margin effect on Photos when scrolling
2021-10-12 22:12:24 +02:00
ee851f2cfa
🔥 Make Photos page completely dynamic with filters
...
- The page now reacts properly with default Select options (`default` was used to set current instead of `selected`)
- Make `filtered` variable reactive from filterCountry/filterSort
- Reset link goes to parameters and not just `/photos`
- Show latest updated date from first photo of the `photos` data
- Display the total of photo depending on the country (calculated from `__layout`)
2021-10-12 00:17:04 +02:00
80a972253f
Use stuff on page load function
2021-10-12 00:06:14 +02:00
cd2b234728
Rename global data arrays as plural by default
...
Easier for each loop and maps as to use singular
2021-10-12 00:05:35 +02:00
8aa3ddfe35
🔥 Load new photos on Location page
2021-10-09 22:24:37 +02:00
dd760ebf89
Use env settings for default filters
2021-10-09 21:35:47 +02:00
6ef8e41c80
🔥 Update Photos content when changing filters
2021-10-09 19:20:41 +02:00
fd150e252c
[wip] Implement photos loading and make everything dynamic
...
- Handle what happens when we click on Load more photos (detect if can load next or if reached the end)
- Show the current and total amount of photos (WIP as it apparently can't be filtered for aggregated)
- See filtered photos from URL when coming directly
- Disable button when all photos has been seen
- Show message if location doesn't exist
2021-10-09 18:59:45 +02:00
8b0de919d8
[wip] Make Select filters reactive
2021-10-08 23:33:41 +02:00
3679ac9432
Prepare tasks todo for fetching data on Photos page
2021-10-05 23:41:11 +02:00
012dba9a6b
Fix Photos grid bottom elements
2021-10-05 23:40:46 +02:00
d0fedfcc80
Update icon on Select when changing country on Photos
2021-10-05 23:39:39 +02:00
26e3492c5e
Make Earth icon a reusable component
2021-10-05 21:05:05 +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
b0d6d9b054
Remove unused components from Photos page
2021-10-04 19:44:23 +02:00
9bb57362f0
Add shop and newsletter subscribe to photos page
2021-10-04 18:22:15 +02:00
4fb2f6da07
Create photo grid for photos page
...
with control bar
2021-10-04 18:21:14 +02:00
4df9cdedd6
Make custom Selects reactive
2021-10-04 13:05:39 +02:00
0d622ef69f
Use reusable DiscoverText with count data
2021-10-04 13:05:02 +02:00
de6da7394b
Create Photos page with filter bar
2021-10-03 22:50:33 +02:00