Commit Graph

15 Commits

Author SHA1 Message Date
Niclas Edenvin dca02b90f0 Merged in fix/sw-1127-image-fixes (pull request #1123)
Fix/sw-1127 image fixes for lightbox

* fix(SW-1127): move back to top button behind lightbox

* fix(SW-1127): don't loop lightbox thumbnails

* fix(SW-1127): nicer animation in the gallery

This both fixes a bug in the gallery where the animation in the carousel
didn't work so good and also animates the images different directions
depending on if the user go left or right.


Approved-by: Matilda Landström
2025-01-07 07:56:17 +00:00
Erik Tiekstra cc7f4e0478 fix(SW-842): fixed close button positioning 2024-11-14 08:02:06 +01:00
Matilda Landström 5fa0c192db Merged in feat/SW-337-hotel-page-ui (pull request #848)
Feat(SW-337): Update lightbox UI

* chore(SW-337): hotelPage UI fixes

* refactor(SW-337): move width and height as props

* xhore(SW-337): update lightbox UI

* fix(SW-337): move margin

* fix(SW-337): update mobile fullview

* fix(SW-337): remove test border

* fix(SW-337): remove radius on fullview


Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2024-11-08 08:26:37 +00:00
Bianca Widstam fc8844eb96 feat/SW-689-image-gallery-sizes (pull request #781)
Feat/SW-689 image gallery sizes

* feat(SW-689): initial gallery changes

* feat(SW-689): remove console.log

* feat(SW-689): remove unneccessary code

* feat(SW-689): change sizes

* feat(SW-689): change size

* feat(SW-689): add design for ipad for fullview

* feat(SW-689): fix import type

* feat(SW-689): fix tripAdvisor placement

* feat(SW-689): fix image gallery type

* feat(SW-689): fix check gallery length


Approved-by: Christian Andolf
Approved-by: Matilda Landström
2024-10-29 13:54:12 +00:00
Niclas Edenvin 0efa52ada5 Merged in feat/sw-587-sidepeek-for-room (pull request #767)
Create the sidepeek for a specific roomtype. This also changes the lightbox to use react-aria instead of radix-ui, so we use the same for the lightbox and the sidepeek. Works better together!


Approved-by: Bianca Widstam
2024-10-25 14:11:06 +00:00
Chuma McPhoy d92308b99d feat(SW-337): logic for accesible dialog title text for lightbox 2024-09-09 15:03:37 +02:00
Chuma McPhoy 852e817ab7 fix(SW-337): better desktop gallery layout 2024-09-09 14:46:22 +02:00
Chuma McPhoy 1767fe2f4a refactor(SW-337): conditional rendering of image titles 2024-09-09 13:33:58 +02:00
Chuma McPhoy 16370f58b6 refactor(SW-337): fixes for lightbox 2024-09-09 13:33:58 +02:00
Chuma McPhoy 9a24865170 refactor(SW-337): UI fixes for hotel page 2024-09-09 13:33:58 +02:00
Chuma McPhoy 879e89cf61 fix(SW-96): use import type 2024-08-30 08:53:34 +02:00
Chuma McPhoy 64a44f7dcc fix(SW-96): use function declarations 2024-08-30 08:53:34 +02:00
Chuma McPhoy 7d47994539 refactor(SW-96): use images from API & reduce data returned in getHotel 2024-08-30 08:53:34 +02:00
Chuma McPhoy 6456be95b2 fix(SW-96): use Image component instead of next/image directly 2024-08-30 08:53:34 +02:00
Chuma McPhoy f97e521502 chore(SW-96): move fullview and gallery into own files 2024-08-30 08:53:34 +02:00