Commit Graph

35 Commits

Author SHA1 Message Date
498a717699 Turn Image's null into undefined 2021-10-23 22:52:09 +02:00
ff4222c05e Make Image component's srcSet reactive 2021-10-23 15:30:58 +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
ea567693c2 🔥 Add hover effect on buttons and links 2021-10-19 16:10:26 +02:00
ab9b0e1a59 Add style to Photo Viewer page 2021-10-19 12:22:20 +02:00
91a8eb89a5 Fix SiteTitle default tag prop 2021-10-18 17:39:44 +02:00
7f8dc8cec6 Create a tag prop for SiteTitle + make it responsive 2021-10-18 16:17:36 +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
2ed411a94e 🔥 Implement sizes with Image component and webp loading with source 2021-10-13 23:33:07 +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
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
5cbd0d25f8 Trim last space of Button classes 2021-10-09 16:48:57 +02:00
ab01cf9809 Fix SiteTitle variants style 2021-10-09 12:04:28 +02:00
4100cd3013 Add Medium font variant and update font weights globally 2021-10-08 00:31:16 +02:00
012dba9a6b Fix Photos grid bottom elements 2021-10-05 23:40:46 +02:00
26e3492c5e Make Earth icon a reusable component 2021-10-05 21:05:05 +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
04188ab7be Edit responsive on Browse/Locations page 2021-10-05 15:23:23 +02:00
944871ae62 Edit site title large variant 2021-10-04 22:04:26 +02:00
0d622ef69f Use reusable DiscoverText with count data 2021-10-04 13:05:02 +02:00
c4ba30db6a Add anchor links to CTAs 2021-10-03 13:10:57 +02:00
25ef6b37d1 Fix Button styling 2021-10-02 13:21:40 +02:00
f1ddc05d17 Add lazy loading on images 2021-10-01 23:40:33 +02:00
aa36810a3d Fix BoxCTA internal layout 2021-09-30 23:50:02 +02:00
0cde65c0b1 Create BoxCTA atom 2021-09-30 18:48:15 +02:00
0ba0ab1f60 Edit Newsletter component 2021-09-29 23:38:00 +02:00
e0d048fe8c Add style to Footer 2021-09-29 19:19:25 +02:00
1409dc0894 Create Newsletter component 2021-09-28 22:51:06 +02:00
15461588ec Edit browse locations section
Create badge atom,
2021-09-28 12:57:13 +02:00
bd89e28e15 Create homepage
Photo-card layout, button, typography
2021-09-27 23:23:16 +02:00
c2ce89f049 Create helper function for getting asset URL from API 2021-09-26 23:37:33 +02:00
2211c74c99 [wip] Add Image component 2021-09-24 21:52:04 +02:00
bf70c133c8 Add Credits page with API data (as boilerplate) 2021-09-24 21:51:45 +02:00
bb8a67a82a Setup some components 2021-09-24 11:03:08 +02:00