8c51f75b1c
Reduce wrap columns on mobile
2021-10-12 18:26:21 +02:00
9ba96efd6d
Add responsive to location page
2021-10-12 18:26:02 +02:00
56c523679b
Show message when no photos are available on Location
2021-10-12 17:12:33 +02:00
759dbaf7b3
Rework the Location page intro spacing on Desktop
2021-10-12 17:01:31 +02:00
b9b690cab2
Add background and zoom cursor on hover to Photos items
2021-10-12 15:09:56 +02:00
a92d5465e6
Check for when there are no photos
2021-10-12 15:09:20 +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
80747ffaf4
🤪 Process data to count photos per location and country
2021-10-12 00:11:58 +02:00
dd0e820b83
Set reusable global data on server side through stuff
...
https://kit.svelte.dev/docs#loading-input-stuff
2021-10-12 00:08:56 +02:00
ab6227b7e6
Use aggregated data from Directus to count photos on Location page
2021-10-12 00:06:55 +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
1ea9b9fadf
Define current Select option from selected option and not default
2021-10-12 00:03:02 +02:00
b6686d3ef3
Add World title on Homepage and fix some styling
...
- Fix photos collage positioning
- Remove Houses title centering
2021-10-11 20:25:01 +02:00
bda355d608
Fix Pagination and Newsletter module on Location page
2021-10-10 21:40:50 +02:00
51dc9650ec
Add dynamic photo's index on Location page
2021-10-10 21:40:30 +02:00
e44f51c0c4
Add Newsletter module when reached end on Location page
2021-10-10 14:20:21 +02:00
4a51fa9d09
Place Footer over Switcher
2021-10-10 14:09:20 +02:00
49b6e5eb55
Make Shop module content dynamic
2021-10-10 14:07:09 +02:00
e1f988d4b1
Add sveltekit:prefetch on internal links
2021-10-10 14:06:43 +02:00
121c325f99
Fix SiteTitle style on Footer
2021-10-10 14:06:27 +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
bc9a93101c
Fix some styles issues (font-weight, max-width, markup)
2021-10-09 20:13:52 +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
5e790ad68c
Show dynamic locations with a poster on Shop module
2021-10-09 16:49:29 +02:00
5cbd0d25f8
Trim last space of Button classes
2021-10-09 16:48:57 +02:00
8055434b93
Add starting slash on Footer links
2021-10-09 12:05:11 +02:00
437c0e173b
Add relative date from latest photo on Location page
2021-10-09 12:04:48 +02:00
ab01cf9809
Fix SiteTitle variants style
2021-10-09 12:04:28 +02:00
8b0de919d8
[wip] Make Select filters reactive
2021-10-08 23:33:41 +02:00
cd543bc9b5
[chore] Update npm packages
2021-10-08 23:33:09 +02:00
d595a73063
Place Footer over Globe
2021-10-08 23:32:17 +02:00
bebe0810ef
Fix Credits page spacing and border color + Add cropped Globe
2021-10-08 23:32:05 +02:00
4100cd3013
Add Medium font variant and update font weights globally
2021-10-08 00:31:16 +02:00
a7023c3a0f
Close Switcher when clicking on a link
2021-10-08 00:14:43 +02:00
70b68c5d24
Fix Globe page centering
2021-10-08 00:11:34 +02:00
37b70d0412
Add shadow effect
2021-10-07 22:10:32 +02:00
eb6762b240
Edit and WIP on Location page
...
Create house component
2021-10-07 22:10:16 +02:00
d397fdb00f
Merge branch 'v2' of https://git.server.flayks.com/cetrucflotte/housesof into v2
2021-10-07 14:47:55 +02:00
c66b8b0d90
Create Location page
2021-10-07 14:47:37 +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
4a793b49af
Fix some responsive issues on Photos page
2021-10-05 23:10:44 +02:00
9c36b2dbf6
🔥 Create Photos grid for mobile and desktop
2021-10-05 21:05:42 +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
1869bd2eb6
Change Switcher position with responsive
2021-10-05 21:00:56 +02:00