Commit Graph

1171 Commits

Author SHA1 Message Date
flayks 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
flayks dfb019493e Redefine Location's new status from latest photo's creation date 2021-10-17 23:01:34 +02:00
flayks 277005c591 Create reusable class for Photo 2021-10-17 22:18:26 +02:00
flayks 38006355db Add Metas on Location page 2021-10-17 22:18:03 +02:00
flayks 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
flayks 56857fe30d Don't put Globe above everything 2021-10-17 19:50:50 +02:00
flayks 28c78bbe8a Fix normal size button sides padding 2021-10-17 19:47:53 +02:00
flayks ea2162c2b9 Fix Location page total photos amount 2021-10-17 13:41:38 +02:00
flayks 62ddc32795 [wip] Create photo detail page with informations 2021-10-16 22:32:13 +02:00
flayks 9f41b33d6e Put Globe under? 2021-10-16 22:31:56 +02:00
flayks 4d670dfb5d Add hover effect on Homepage collage photos 2021-10-16 22:31:13 +02:00
flayks 818e1cfad4 Add link to photo on Homepage collage 2021-10-16 22:30:56 +02:00
flayks af8a308474 Fix Homepage collage photo's default background 2021-10-16 16:30:47 +02:00
flayks 642b54975b Fix huge title text wrap 2021-10-16 16:27:48 +02:00
flayks 36f4c5a330 Fix Postcard style and hover + rename class 2021-10-16 15:54:11 +02:00
flayks 60ea3d2cb1 Add responsive for buttons 2021-10-16 15:42:30 +02:00
flayks 90a4be5b4d Add background color on photos parent element
So we see a color instead of a transparent block while loading the image
2021-10-16 15:42:08 +02:00
flayks 3e358843fd 🔥 Filter locations from clicked continent on Locations 2021-10-16 15:41:26 +02:00
flayks 8839684494 Add background on Newsletter module 2021-10-16 14:40:53 +02:00
shelbykay 5511639014 Change Heading component max-width 2021-10-16 13:25:27 +02:00
shelbykay 8b07352431 Make newsletter form a reusable component 2021-10-16 13:25:26 +02:00
shelbykay e9e838ae1a Edit max-width on newsletter component 2021-10-16 13:24:53 +02:00
flayks a2d1a4c64c Add target on newsletter issue link and complete styling with hover 2021-10-16 13:14:55 +02:00
flayks 7384088388 Use Newsletter data from API 2021-10-15 22:34:36 +02:00
flayks 99cc1bc661 Add option to enable or disable Shop button 2021-10-15 22:20:12 +02:00
flayks 3af8f7c37c [chore - breaking with node12] Update npm packages 2021-10-15 19:13:18 +02:00
flayks bc32a8ead0 [chore] Update npm packages 2021-10-14 23:21:29 +02:00
flayks 0436008f35 Make PostCard appear when hovering a photo on the grid 2021-10-14 23:21:22 +02:00
flayks 91923599e0 Make PostCard style responsive 2021-10-14 23:20:43 +02:00
flayks e40b08071d Change z-index when hovering photo on Homepage collage 2021-10-14 23:20:09 +02:00
flayks 5e69a6ef39 Change row gap of Locations list on desktop 2021-10-14 23:19:44 +02:00
flayks b57a9fe649 Fix Switcher hovering issues when hidden 2021-10-14 23:19:23 +02:00
flayks 2ea5cbecda Make PostCard content dynamic 2021-10-14 23:19:09 +02:00
flayks 2ed411a94e 🔥 Implement sizes with Image component and webp loading with source 2021-10-13 23:33:07 +02:00
flayks c45136beb0 Fixes here and there 2021-10-13 23:32:09 +02:00
flayks 7ffb04961a Use online API on dev instead of local 2021-10-13 22:32:48 +02:00
flayks ee31f7240d Add Vercel build script 2021-10-12 23:05:11 +02:00
flayks f9937f6c9a [bug] Import dayjs plugins with js extension 2021-10-12 23:01:55 +02:00
flayks 34dd087599 [chore] Install dayjs as a devDep? 2021-10-12 22:57:15 +02:00
flayks 2193d95c5c Merge branch 'v2' of https://git.server.flayks.com/cetrucflotte/housesof into v2 2021-10-12 22:41:59 +02:00
shelbykay ef9bda3708 Add Heading component to Locations page 2021-10-12 22:41:24 +02:00
shelbykay 3ccfb63188 Create Subscribe page
Create issue css component for past newsletter
2021-10-12 22:41:09 +02:00
shelbykay dca8f112ed Remove extra image in Shop component 2021-10-12 22:40:08 +02:00
shelbykay 4c14a85ab0 Create Heading component
Intro title with p
2021-10-12 22:39:55 +02:00
flayks db8f984739 [wip] Add reducing side margin effect on Photos when scrolling 2021-10-12 22:12:24 +02:00
shelbykay 8c51f75b1c Reduce wrap columns on mobile 2021-10-12 18:26:21 +02:00
shelbykay 9ba96efd6d Add responsive to location page 2021-10-12 18:26:02 +02:00
flayks 56c523679b Show message when no photos are available on Location 2021-10-12 17:12:33 +02:00
flayks 759dbaf7b3 Rework the Location page intro spacing on Desktop 2021-10-12 17:01:31 +02:00
flayks b9b690cab2 Add background and zoom cursor on hover to Photos items 2021-10-12 15:09:56 +02:00