diff --git a/apps/scandic-web/components/ContentType/DestinationPage/CityListing/cityListing.module.css b/apps/scandic-web/components/ContentType/DestinationPage/CityListing/cityListing.module.css
index 1f4318bb4..b5f62647a 100644
--- a/apps/scandic-web/components/ContentType/DestinationPage/CityListing/cityListing.module.css
+++ b/apps/scandic-web/components/ContentType/DestinationPage/CityListing/cityListing.module.css
@@ -18,10 +18,6 @@
gap: var(--Spacing-x2);
}
-.cityList:not(.allVisible) li:nth-child(n + 6) {
- display: none;
-}
-
@media screen and (min-width: 768px) {
.container {
--scroll-margin-top: calc(
diff --git a/apps/scandic-web/components/ContentType/DestinationPage/CityListing/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/CityListing/index.tsx
index dc787426c..e01ac8382 100644
--- a/apps/scandic-web/components/ContentType/DestinationPage/CityListing/index.tsx
+++ b/apps/scandic-web/components/ContentType/DestinationPage/CityListing/index.tsx
@@ -1,6 +1,6 @@
"use client"
-import { useRef, useState } from "react"
+import { useRef } from "react"
import { useIntl } from "react-intl"
import { useDestinationDataStore } from "@/stores/destination-data"
@@ -8,7 +8,6 @@ import { useDestinationDataStore } from "@/stores/destination-data"
import DestinationFilterAndSort from "@/components/DestinationFilterAndSort"
import Alert from "@/components/TempDesignSystem/Alert"
import { BackToTopButton } from "@/components/TempDesignSystem/BackToTopButton"
-import ShowMoreButton from "@/components/TempDesignSystem/ShowMoreButton"
import Subtitle from "@/components/TempDesignSystem/Text/Subtitle"
import { useScrollToTop } from "@/hooks/useScrollToTop"
@@ -30,16 +29,6 @@ export default function CityListing() {
activeCities: state.activeCities,
isLoading: state.isLoading,
}))
- const [allCitiesVisible, setAllCitiesVisible] = useState(
- activeCities.length <= 5
- )
-
- function handleShowMore() {
- if (scrollRef.current && allCitiesVisible) {
- scrollRef.current.scrollIntoView({ behavior: "smooth" })
- }
- setAllCitiesVisible((state) => !state)
- }
return isLoading ? (
@@ -66,21 +55,13 @@ export default function CityListing() {
/>
) : (
<>
-
+
{activeCities.map((city) => (
-
))}
- {activeCities.length > 5 ? (
-
- ) : null}
{showBackToTop && (
)}
diff --git a/apps/scandic-web/components/ContentType/DestinationPage/HotelListing/hotelListing.module.css b/apps/scandic-web/components/ContentType/DestinationPage/HotelListing/hotelListing.module.css
index e09427a78..a19f8bf1c 100644
--- a/apps/scandic-web/components/ContentType/DestinationPage/HotelListing/hotelListing.module.css
+++ b/apps/scandic-web/components/ContentType/DestinationPage/HotelListing/hotelListing.module.css
@@ -19,10 +19,6 @@
gap: var(--Spacing-x2);
}
-.hotelList:not(.allVisible) li:nth-child(n + 6) {
- display: none;
-}
-
@media screen and (min-width: 768px) {
.container {
--scroll-margin-top: calc(
diff --git a/apps/scandic-web/components/ContentType/DestinationPage/HotelListing/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/HotelListing/index.tsx
index 7e7699390..0849df736 100644
--- a/apps/scandic-web/components/ContentType/DestinationPage/HotelListing/index.tsx
+++ b/apps/scandic-web/components/ContentType/DestinationPage/HotelListing/index.tsx
@@ -1,6 +1,6 @@
"use client"
-import { useRef, useState } from "react"
+import { useRef } from "react"
import { useIntl } from "react-intl"
import { useDestinationDataStore } from "@/stores/destination-data"
@@ -8,7 +8,6 @@ import { useDestinationDataStore } from "@/stores/destination-data"
import DestinationFilterAndSort from "@/components/DestinationFilterAndSort"
import Alert from "@/components/TempDesignSystem/Alert"
import { BackToTopButton } from "@/components/TempDesignSystem/BackToTopButton"
-import ShowMoreButton from "@/components/TempDesignSystem/ShowMoreButton"
import Subtitle from "@/components/TempDesignSystem/Text/Subtitle"
import { useScrollToTop } from "@/hooks/useScrollToTop"
@@ -30,16 +29,6 @@ export default function HotelListing() {
activeHotels: state.activeHotels,
isLoading: state.isLoading,
}))
- const [allHotelsVisible, setAllHotelsVisible] = useState(
- activeHotels.length <= 5
- )
-
- function handleShowMore() {
- if (scrollRef.current && allHotelsVisible) {
- scrollRef.current.scrollIntoView({ behavior: "smooth" })
- }
- setAllHotelsVisible((state) => !state)
- }
return isLoading ? (
@@ -66,21 +55,13 @@ export default function HotelListing() {
/>
) : (
<>
-
+
{activeHotels.map(({ hotel, url }) => (
-
))}
- {activeHotels.length > 5 ? (
-
- ) : null}
{showBackToTop && (
)}