Merged in refactor/SW-2826-align-urls (pull request #3359)

refactor(SW-2826): align urls

* refactor(SW-2826): align urls


Approved-by: Anton Gunnarsson
This commit is contained in:
Matilda Landström
2025-12-17 09:33:08 +00:00
parent 2d09538db6
commit 3dce2d310f
9 changed files with 50 additions and 64 deletions

View File

@@ -1,4 +1,3 @@
import { membershipTermsAndConditions } from "@scandic-hotels/common/constants/routes/membershipTermsAndConditions"
import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
import Link from "@scandic-hotels/design-system/OldDSLink"
import Subtitle from "@scandic-hotels/design-system/Subtitle"
@@ -9,6 +8,7 @@ import { getIntl } from "@/i18n"
import { getLang } from "@/i18n/serverContext"
import styles from "./readMore.module.css"
import { scandicFriends } from "@scandic-hotels/common/constants/routes/myPages"
export default async function ReadMore() {
const [intl, lang] = await Promise.all([getIntl(), getLang()])
@@ -22,7 +22,7 @@ export default async function ReadMore() {
}),
},
{
href: membershipTermsAndConditions[lang],
href: scandicFriends[lang],
text: intl.formatMessage({
id: "loyalty.membershipTermsAndConditions",
defaultMessage: "Membership terms and conditions",