Merge branch 'develop' into feat/build-initial-hotel-page-component
This commit is contained in:
@@ -7,28 +7,15 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Friendly room rates",
|
||||
"value": "Friendly room rates",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Prisvenlige værelser"
|
||||
},
|
||||
{
|
||||
"title": "10% off on food on weekends",
|
||||
"value": "10% off",
|
||||
"explanation": "on food on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
"title": "10% weekendrabat på mad"
|
||||
},
|
||||
{
|
||||
"title": "Free kids mocktail during stay",
|
||||
"value": "Free kids mocktail",
|
||||
"explanation": "during stay",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Gratis mocktail til børn under opholdet"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/new-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 2,
|
||||
@@ -37,14 +24,9 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "15% on food on weekends",
|
||||
"value": "15% on food",
|
||||
"explanation": "on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
"title": "15% weekendrabat på mad"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/good-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 3,
|
||||
@@ -53,21 +35,12 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Late checkout - 1 hour when available",
|
||||
"value": "Late checkout",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Sen check ud – 1 time, når tilgængelig"
|
||||
},
|
||||
{
|
||||
"title": "50 SEK voucher",
|
||||
"value": "50 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Voucher på 50 DKK"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/close-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 4,
|
||||
@@ -76,28 +49,15 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "25% earn rate",
|
||||
"value": "25% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "25% optjeningsrate"
|
||||
},
|
||||
{
|
||||
"title": "Early check-in - 1 hour when available",
|
||||
"value": "Early check-in",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Tidlig indcheckning, når tilgængelig"
|
||||
},
|
||||
{
|
||||
"title": "75 SEK voucher",
|
||||
"value": "75 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Voucher på 75 DKK"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/dear-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 5,
|
||||
@@ -106,28 +66,15 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Free room upgrade when available",
|
||||
"value": "Free room upgrade",
|
||||
"explanation": "when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Gratis opgraderinger, når tilgængelige"
|
||||
},
|
||||
{
|
||||
"title": "100 SEK voucher",
|
||||
"value": "100 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Voucher på 100 DKK"
|
||||
},
|
||||
{
|
||||
"title": "2-for-1 breakfast",
|
||||
"value": "2-for-1 breakfast",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "2-for-1 på morgenmad"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/loyal-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 6,
|
||||
@@ -136,35 +83,18 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "50% earn rate",
|
||||
"value": "50% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "50% optjeningsrate"
|
||||
},
|
||||
{
|
||||
"title": "150 SEK voucher",
|
||||
"value": "150 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Voucher på 150 DKK"
|
||||
},
|
||||
{
|
||||
"title": "48h room guarantee",
|
||||
"value": "48h room guarantee",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "48-timers værelsesgaranti"
|
||||
},
|
||||
{
|
||||
"title": "Always free breakfast",
|
||||
"value": "Always free breakfast",
|
||||
"explanation": "Always free breakfast",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Altid gratis morgenmad"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/true-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 7,
|
||||
@@ -173,28 +103,15 @@
|
||||
"requiredNights": 100,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "200 SEK voucher",
|
||||
"value": "200 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Voucher på 200 DKK"
|
||||
},
|
||||
{
|
||||
"title": "Yearly exclusive gift",
|
||||
"value": "Yearly exclusive gift",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Årlig eksklusiv gave"
|
||||
},
|
||||
{
|
||||
"title": "Kid's boost",
|
||||
"value": "Kid's boost",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Børneboost"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/best-friend.svg"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,28 +7,15 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Friendly room rates",
|
||||
"value": "Friendly room rates",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Freundschaftspreise für Zimmer"
|
||||
},
|
||||
{
|
||||
"title": "10% off on food on weekends",
|
||||
"value": "10% off",
|
||||
"explanation": "on food on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
"title": "10 % Rabatt auf Speisen an den Wochenenden"
|
||||
},
|
||||
{
|
||||
"title": "Free kids mocktail during stay",
|
||||
"value": "Free kids mocktail",
|
||||
"explanation": "during stay",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Kostenloser Kinder-Mocktail während des Aufenthalts"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/new-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 2,
|
||||
@@ -37,14 +24,9 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "15% on food on weekends",
|
||||
"value": "15% on food",
|
||||
"explanation": "on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
"title": "15 % Rabatt auf Speisen an den Wochenenden"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/good-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 3,
|
||||
@@ -53,21 +35,12 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Late checkout - 1 hour when available",
|
||||
"value": "Late checkout",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Später Check-out – 1 Stunde, wenn verfügbar"
|
||||
},
|
||||
{
|
||||
"title": "50 SEK voucher",
|
||||
"value": "50 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Gutschein über 5 EUR"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/close-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 4,
|
||||
@@ -76,28 +49,15 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "25% earn rate",
|
||||
"value": "25% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "25 % mehr Punkte"
|
||||
},
|
||||
{
|
||||
"title": "Early check-in - 1 hour when available",
|
||||
"value": "Early check-in",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Früher Check-in – 1 Stunde, wenn verfügbar"
|
||||
},
|
||||
{
|
||||
"title": "75 SEK voucher",
|
||||
"value": "75 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Gutschein über 7,50 EUR"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/dear-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 5,
|
||||
@@ -106,28 +66,15 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Free room upgrade when available",
|
||||
"value": "Free room upgrade",
|
||||
"explanation": "when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Kostenloses Zimmer-Upgrade, wenn verfügbar"
|
||||
},
|
||||
{
|
||||
"title": "100 SEK voucher",
|
||||
"value": "100 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Gutschein über 10 EUR"
|
||||
},
|
||||
{
|
||||
"title": "2-for-1 breakfast",
|
||||
"value": "2-for-1 breakfast",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Frühstück für zwei zum Preis von einem"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/loyal-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 6,
|
||||
@@ -136,35 +83,18 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "50% earn rate",
|
||||
"value": "50% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "50 % mehr Punkte"
|
||||
},
|
||||
{
|
||||
"title": "150 SEK voucher",
|
||||
"value": "150 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Gutschein über 15 EUR"
|
||||
},
|
||||
{
|
||||
"title": "48h room guarantee",
|
||||
"value": "48h room guarantee",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "48-Stunden-Zimmergarantie"
|
||||
},
|
||||
{
|
||||
"title": "Always free breakfast",
|
||||
"value": "Always free breakfast",
|
||||
"explanation": "Always free breakfast",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Jederzeit ein kostenloses Frühstück"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/true-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 7,
|
||||
@@ -173,28 +103,15 @@
|
||||
"requiredNights": 100,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "200 SEK voucher",
|
||||
"value": "200 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Gutschein über 20 EUR"
|
||||
},
|
||||
{
|
||||
"title": "Yearly exclusive gift",
|
||||
"value": "Yearly exclusive gift",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Ein exklusives Geschenk pro Jahr"
|
||||
},
|
||||
{
|
||||
"title": "Kid's boost",
|
||||
"value": "Kid's boost",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Ein Geschenk für Kinder"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/best-friend.svg"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,28 +7,15 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Friendly room rates",
|
||||
"value": "Friendly room rates",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Friendly room rates"
|
||||
},
|
||||
{
|
||||
"title": "10% off on food on weekends",
|
||||
"value": "10% off",
|
||||
"explanation": "on food on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
"title": "10% off on food on weekends"
|
||||
},
|
||||
{
|
||||
"title": "Free kids mocktail during stay",
|
||||
"value": "Free kids mocktail",
|
||||
"explanation": "during stay",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Free kids mocktail during stay"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/new-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 2,
|
||||
@@ -37,14 +24,9 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "15% on food on weekends",
|
||||
"value": "15% on food",
|
||||
"explanation": "on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
"title": "15% on food on weekends"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/good-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 3,
|
||||
@@ -53,21 +35,12 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Late checkout - 1 hour when available",
|
||||
"value": "Late checkout",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Late checkout - 1 hour when available"
|
||||
},
|
||||
{
|
||||
"title": "50 SEK voucher",
|
||||
"value": "50 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "50 SEK voucher"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/close-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 4,
|
||||
@@ -76,28 +49,15 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "25% earn rate",
|
||||
"value": "25% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "25% earn rate"
|
||||
},
|
||||
{
|
||||
"title": "Early check-in - 1 hour when available",
|
||||
"value": "Early check-in",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Early check-in - 1 hour when available"
|
||||
},
|
||||
{
|
||||
"title": "75 SEK voucher",
|
||||
"value": "75 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "75 SEK voucher"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/dear-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 5,
|
||||
@@ -106,28 +66,15 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Free room upgrade when available",
|
||||
"value": "Free room upgrade",
|
||||
"explanation": "when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Free room upgrade when available"
|
||||
},
|
||||
{
|
||||
"title": "100 SEK voucher",
|
||||
"value": "100 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "100 SEK voucher"
|
||||
},
|
||||
{
|
||||
"title": "2-for-1 breakfast",
|
||||
"value": "2-for-1 breakfast",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "2-for-1 breakfast"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/loyal-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 6,
|
||||
@@ -136,35 +83,18 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "50% earn rate",
|
||||
"value": "50% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "50% earn rate"
|
||||
},
|
||||
{
|
||||
"title": "150 SEK voucher",
|
||||
"value": "150 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "150 SEK voucher"
|
||||
},
|
||||
{
|
||||
"title": "48h room guarantee",
|
||||
"value": "48h room guarantee",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "48h room guarantee"
|
||||
},
|
||||
{
|
||||
"title": "Always free breakfast",
|
||||
"value": "Always free breakfast",
|
||||
"explanation": "Always free breakfast",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Always free breakfast"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/true-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 7,
|
||||
@@ -173,28 +103,15 @@
|
||||
"requiredNights": 100,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "200 SEK voucher",
|
||||
"value": "200 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "200 SEK voucher"
|
||||
},
|
||||
{
|
||||
"title": "Yearly exclusive gift",
|
||||
"value": "Yearly exclusive gift",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Yearly exclusive gift"
|
||||
},
|
||||
{
|
||||
"title": "Kid's boost",
|
||||
"value": "Kid's boost",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Kid's boost"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/best-friend.svg"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,28 +7,15 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Friendly room rates",
|
||||
"value": "Friendly room rates",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Ystävälliset huonehinnat"
|
||||
},
|
||||
{
|
||||
"title": "10% off on food on weekends",
|
||||
"value": "10% off",
|
||||
"explanation": "on food on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
"title": "10 % alennusta ruoasta viikonloppuisin"
|
||||
},
|
||||
{
|
||||
"title": "Free kids mocktail during stay",
|
||||
"value": "Free kids mocktail",
|
||||
"explanation": "during stay",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Maksuton lasten mocktail majoituksen aikana"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/new-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 2,
|
||||
@@ -37,14 +24,9 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "15% on food on weekends",
|
||||
"value": "15% on food",
|
||||
"explanation": "on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
"title": "15 % alennusta ruoasta viikonloppuisin"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/good-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 3,
|
||||
@@ -53,21 +35,12 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Late checkout - 1 hour when available",
|
||||
"value": "Late checkout",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Myöhäinen uloskirjautuminen – 1 tunti lisäaikaa varaustilanteen mukaan"
|
||||
},
|
||||
{
|
||||
"title": "50 SEK voucher",
|
||||
"value": "50 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Ravintolakuponki (arvo 5 €)"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/close-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 4,
|
||||
@@ -76,28 +49,15 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "25% earn rate",
|
||||
"value": "25% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Ansaintakerroin 25 %"
|
||||
},
|
||||
{
|
||||
"title": "Early check-in - 1 hour when available",
|
||||
"value": "Early check-in",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Aikainen sisäänkirjautuminen – 1 tunti lisäaikaa varaustilanteen mukaan"
|
||||
},
|
||||
{
|
||||
"title": "75 SEK voucher",
|
||||
"value": "75 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Ravintolakuponki (arvo 7,50 €)"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/dear-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 5,
|
||||
@@ -106,28 +66,15 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Free room upgrade when available",
|
||||
"value": "Free room upgrade",
|
||||
"explanation": "when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Maksuton huoneluokan korotus varaustilanteen mukaan"
|
||||
},
|
||||
{
|
||||
"title": "100 SEK voucher",
|
||||
"value": "100 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Ravintolakuponki (arvo 10 €)"
|
||||
},
|
||||
{
|
||||
"title": "2-for-1 breakfast",
|
||||
"value": "2-for-1 breakfast",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Aamiainen – kaksi yhden hinnalla"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/loyal-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 6,
|
||||
@@ -136,35 +83,18 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "50% earn rate",
|
||||
"value": "50% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Ansaintakerroin +50 %"
|
||||
},
|
||||
{
|
||||
"title": "150 SEK voucher",
|
||||
"value": "150 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Ravintolakuponki (arvo 15 €)"
|
||||
},
|
||||
{
|
||||
"title": "48h room guarantee",
|
||||
"value": "48h room guarantee",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "48 tunnin huonetakuu"
|
||||
},
|
||||
{
|
||||
"title": "Always free breakfast",
|
||||
"value": "Always free breakfast",
|
||||
"explanation": "Always free breakfast",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Aamiainen aina maksutta"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/true-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 7,
|
||||
@@ -173,28 +103,15 @@
|
||||
"requiredNights": 100,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "200 SEK voucher",
|
||||
"value": "200 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Ravintolakuponki (arvo 20 €)"
|
||||
},
|
||||
{
|
||||
"title": "Yearly exclusive gift",
|
||||
"value": "Yearly exclusive gift",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Henkilökohtainen lahja vuosittain"
|
||||
},
|
||||
{
|
||||
"title": "Kid's boost",
|
||||
"value": "Kid's boost",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Tervetuliaislahja lapselle"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltyLevels/best-friend.svg"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,28 +7,15 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Friendly room rates",
|
||||
"value": "Friendly room rates",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Vennlige rompriser"
|
||||
},
|
||||
{
|
||||
"title": "10% off on food on weekends",
|
||||
"value": "10% off",
|
||||
"explanation": "on food on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
"title": "10 % rabatt på mat i helger"
|
||||
},
|
||||
{
|
||||
"title": "Free kids mocktail during stay",
|
||||
"value": "Free kids mocktail",
|
||||
"explanation": "during stay",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Gratis barne-mocktail under oppholdet"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/new-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 2,
|
||||
@@ -37,14 +24,9 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "15% on food on weekends",
|
||||
"value": "15% on food",
|
||||
"explanation": "on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
"title": "15 % rabatt på mat i helger"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/good-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 3,
|
||||
@@ -53,21 +35,12 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Late checkout - 1 hour when available",
|
||||
"value": "Late checkout",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Sen utsjekking – 1 time når tilgjengelig"
|
||||
},
|
||||
{
|
||||
"title": "50 SEK voucher",
|
||||
"value": "50 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Kupong på 50 NOK"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/close-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 4,
|
||||
@@ -76,28 +49,15 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "25% earn rate",
|
||||
"value": "25% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "25 % opptjeningsrate"
|
||||
},
|
||||
{
|
||||
"title": "Early check-in - 1 hour when available",
|
||||
"value": "Early check-in",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Tidlig innsjekk – 1 time når tilgjengelig"
|
||||
},
|
||||
{
|
||||
"title": "75 SEK voucher",
|
||||
"value": "75 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Kupong på 75 NOK"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/dear-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 5,
|
||||
@@ -106,28 +66,15 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Free room upgrade when available",
|
||||
"value": "Free room upgrade",
|
||||
"explanation": "when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Gratis romoppgradering når tilgjengelig"
|
||||
},
|
||||
{
|
||||
"title": "100 SEK voucher",
|
||||
"value": "100 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Kupong på 100 NOK"
|
||||
},
|
||||
{
|
||||
"title": "2-for-1 breakfast",
|
||||
"value": "2-for-1 breakfast",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "2-for-1 frokost"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/loyal-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 6,
|
||||
@@ -136,35 +83,18 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "50% earn rate",
|
||||
"value": "50% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "50 % opptjeningsrate"
|
||||
},
|
||||
{
|
||||
"title": "150 SEK voucher",
|
||||
"value": "150 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Kupong på 150 NOK"
|
||||
},
|
||||
{
|
||||
"title": "48h room guarantee",
|
||||
"value": "48h room guarantee",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Romgaranti i 48 timer"
|
||||
},
|
||||
{
|
||||
"title": "Always free breakfast",
|
||||
"value": "Always free breakfast",
|
||||
"explanation": "Always free breakfast",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Alltid gratis frokost"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/true-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 7,
|
||||
@@ -173,28 +103,15 @@
|
||||
"requiredNights": 100,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "200 SEK voucher",
|
||||
"value": "200 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Kupong på 200 NOK"
|
||||
},
|
||||
{
|
||||
"title": "Yearly exclusive gift",
|
||||
"value": "Yearly exclusive gift",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Årlig eksklusiv gave"
|
||||
},
|
||||
{
|
||||
"title": "Kid's boost",
|
||||
"value": "Kid's boost",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Boost for barn"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/best-friend.svg"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,28 +7,15 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Friendly room rates",
|
||||
"value": "Friendly room rates",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Friendspriser på rum"
|
||||
},
|
||||
{
|
||||
"title": "10% off on food on weekends",
|
||||
"value": "10% off",
|
||||
"explanation": "on food on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
"title": "10 % rabatt på mat under helger"
|
||||
},
|
||||
{
|
||||
"title": "Free kids mocktail during stay",
|
||||
"value": "Free kids mocktail",
|
||||
"explanation": "during stay",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Kostnadsfri mocktail för barn under vistelse"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/new-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 2,
|
||||
@@ -37,14 +24,9 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "15% on food on weekends",
|
||||
"value": "15% on food",
|
||||
"explanation": "on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
"title": "15 % rabatt på mat under helger"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/good-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 3,
|
||||
@@ -53,21 +35,12 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Late checkout - 1 hour when available",
|
||||
"value": "Late checkout",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Sen utcheckning – 1 timme, i mån av plats"
|
||||
},
|
||||
{
|
||||
"title": "50 SEK voucher",
|
||||
"value": "50 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Voucher 50 kr"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/close-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 4,
|
||||
@@ -76,28 +49,15 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "25% earn rate",
|
||||
"value": "25% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "25% poängboost"
|
||||
},
|
||||
{
|
||||
"title": "Early check-in - 1 hour when available",
|
||||
"value": "Early check-in",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Tidig incheckning – 1 timme, i mån av plats"
|
||||
},
|
||||
{
|
||||
"title": "75 SEK voucher",
|
||||
"value": "75 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Voucher 75 kr"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/dear-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 5,
|
||||
@@ -106,28 +66,15 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Free room upgrade when available",
|
||||
"value": "Free room upgrade",
|
||||
"explanation": "when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Kostnadsfri uppgradering av rum, i mån av plats"
|
||||
},
|
||||
{
|
||||
"title": "100 SEK voucher",
|
||||
"value": "100 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Voucher 100 kr"
|
||||
},
|
||||
{
|
||||
"title": "2-for-1 breakfast",
|
||||
"value": "2-for-1 breakfast",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Frukost 2 för 1"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/loyal-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 6,
|
||||
@@ -136,35 +83,18 @@
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "50% earn rate",
|
||||
"value": "50% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "50% poängboost"
|
||||
},
|
||||
{
|
||||
"title": "150 SEK voucher",
|
||||
"value": "150 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Voucher 150 kr"
|
||||
},
|
||||
{
|
||||
"title": "48h room guarantee",
|
||||
"value": "48h room guarantee",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "48 timmars rumsgaranti"
|
||||
},
|
||||
{
|
||||
"title": "Always free breakfast",
|
||||
"value": "Always free breakfast",
|
||||
"explanation": "Always free breakfast",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Alltid kostnadsfri frukost"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/true-friend.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"level": 7,
|
||||
@@ -173,28 +103,15 @@
|
||||
"requiredNights": 100,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "200 SEK voucher",
|
||||
"value": "200 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
"title": "Voucher 200 kr"
|
||||
},
|
||||
{
|
||||
"title": "Yearly exclusive gift",
|
||||
"value": "Yearly exclusive gift",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Spännande gåva varje år"
|
||||
},
|
||||
{
|
||||
"title": "Kid's boost",
|
||||
"value": "Kid's boost",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
"title": "Boost för barn"
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/best-friend.svg"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Lock } from "react-feather"
|
||||
|
||||
import { MembershipLevelEnum } from "@/constants/membershipLevels"
|
||||
import { serverClient } from "@/lib/trpc/server"
|
||||
|
||||
import SectionContainer from "@/components/Section/Container"
|
||||
@@ -9,6 +10,7 @@ import Grids from "@/components/TempDesignSystem/Grids"
|
||||
import BiroScript from "@/components/TempDesignSystem/Text/BiroScript"
|
||||
import Subtitle from "@/components/TempDesignSystem/Text/Subtitle"
|
||||
import { getIntl } from "@/i18n"
|
||||
import { getMembershipLevelObject } from "@/utils/membershipLevel"
|
||||
|
||||
import styles from "./next.module.css"
|
||||
|
||||
@@ -17,16 +19,30 @@ import { AccountPageComponentProps } from "@/types/components/myPages/myPage/acc
|
||||
export default async function NextLevelBenefitsBlock({
|
||||
title,
|
||||
subtitle,
|
||||
lang,
|
||||
link,
|
||||
}: AccountPageComponentProps) {
|
||||
const { nextLevel, perks } = await serverClient().user.benefits.nextLevel()
|
||||
const { formatMessage } = await getIntl()
|
||||
const user = await serverClient().user.get()
|
||||
if (!user) {
|
||||
return null
|
||||
}
|
||||
const nextLevel = getMembershipLevelObject(
|
||||
user.memberships[0].membershipLevel as MembershipLevelEnum,
|
||||
lang,
|
||||
"nextLevel"
|
||||
)
|
||||
if (!nextLevel) {
|
||||
// TODO: handle this case, when missing or when user is top level?
|
||||
return null
|
||||
}
|
||||
// TODO: how to handle different count of unlockable benefits?
|
||||
return (
|
||||
<SectionContainer>
|
||||
<Header title={title} subtitle={subtitle} link={link} />
|
||||
<Grids.Stackable>
|
||||
{perks.map((perk) => (
|
||||
<article key={perk.id} className={styles.card}>
|
||||
{nextLevel.benefits.map((benefit) => (
|
||||
<article key={benefit.title} className={styles.card}>
|
||||
<Chip>
|
||||
<Lock height={16} />
|
||||
{formatMessage({ id: "Level up to unlock" })}
|
||||
@@ -38,10 +54,10 @@ export default async function NextLevelBenefitsBlock({
|
||||
textAlign="center"
|
||||
type="two"
|
||||
>
|
||||
{formatMessage({ id: "As our" })} {nextLevel}
|
||||
{formatMessage({ id: "As our" })} {nextLevel.name}
|
||||
</BiroScript>{" "}
|
||||
<Subtitle color="pale" textAlign="center">
|
||||
{perk.explanation}
|
||||
{benefit.title}
|
||||
</Subtitle>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
@@ -1,200 +0,0 @@
|
||||
{
|
||||
"levels": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "New Friend",
|
||||
"requiredPoints": 0,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Friendly room rates",
|
||||
"value": "Friendly room rates",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "10% off on food on weekends",
|
||||
"value": "10% off",
|
||||
"explanation": "on food on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Free kids mocktail during stay",
|
||||
"value": "Free kids mocktail",
|
||||
"explanation": "during stay",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/new-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 2,
|
||||
"name": "Good Friend",
|
||||
"requiredPoints": 5000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "15% on food on weekends",
|
||||
"value": "15% on food",
|
||||
"explanation": "on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/good-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 3,
|
||||
"name": "Close Friend",
|
||||
"requiredPoints": 10000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Late checkout - 1 hour when available",
|
||||
"value": "Late checkout",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "50 SEK voucher",
|
||||
"value": "50 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/close-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 4,
|
||||
"name": "Dear Friend",
|
||||
"requiredPoints": 25000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "25% earn rate",
|
||||
"value": "25% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Early check-in - 1 hour when available",
|
||||
"value": "Early check-in",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "75 SEK voucher",
|
||||
"value": "75 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/dear-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 5,
|
||||
"name": "Loyal Friend",
|
||||
"requiredPoints": 100000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Free room upgrade when available",
|
||||
"value": "Free room upgrade",
|
||||
"explanation": "when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "100 SEK voucher",
|
||||
"value": "100 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "2-for-1 breakfast",
|
||||
"value": "2-for-1 breakfast",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/loyal-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 6,
|
||||
"name": "True Friend",
|
||||
"requiredPoints": 250000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "50% earn rate",
|
||||
"value": "50% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "150 SEK voucher",
|
||||
"value": "150 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "48h room guarantee",
|
||||
"value": "48h room guarantee",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Always free breakfast",
|
||||
"value": "Always free breakfast",
|
||||
"explanation": "Always free breakfast",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/true-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 7,
|
||||
"name": "Best Friend",
|
||||
"requiredPoints": 400000,
|
||||
"requiredNights": 100,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "200 SEK voucher",
|
||||
"value": "200 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Yearly exclusive gift",
|
||||
"value": "Yearly exclusive gift",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Kid's boost",
|
||||
"value": "Kid's boost",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/best-friend.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,200 +0,0 @@
|
||||
{
|
||||
"levels": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "New Friend",
|
||||
"requiredPoints": 0,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Friendly room rates",
|
||||
"value": "Friendly room rates",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "10% off on food on weekends",
|
||||
"value": "10% off",
|
||||
"explanation": "on food on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Free kids mocktail during stay",
|
||||
"value": "Free kids mocktail",
|
||||
"explanation": "during stay",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/new-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 2,
|
||||
"name": "Good Friend",
|
||||
"requiredPoints": 5000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "15% on food on weekends",
|
||||
"value": "15% on food",
|
||||
"explanation": "on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/good-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 3,
|
||||
"name": "Close Friend",
|
||||
"requiredPoints": 10000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Late checkout - 1 hour when available",
|
||||
"value": "Late checkout",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "50 SEK voucher",
|
||||
"value": "50 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/close-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 4,
|
||||
"name": "Dear Friend",
|
||||
"requiredPoints": 25000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "25% earn rate",
|
||||
"value": "25% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Early check-in - 1 hour when available",
|
||||
"value": "Early check-in",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "75 SEK voucher",
|
||||
"value": "75 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/dear-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 5,
|
||||
"name": "Loyal Friend",
|
||||
"requiredPoints": 100000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Free room upgrade when available",
|
||||
"value": "Free room upgrade",
|
||||
"explanation": "when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "100 SEK voucher",
|
||||
"value": "100 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "2-for-1 breakfast",
|
||||
"value": "2-for-1 breakfast",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/loyal-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 6,
|
||||
"name": "True Friend",
|
||||
"requiredPoints": 250000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "50% earn rate",
|
||||
"value": "50% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "150 SEK voucher",
|
||||
"value": "150 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "48h room guarantee",
|
||||
"value": "48h room guarantee",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Always free breakfast",
|
||||
"value": "Always free breakfast",
|
||||
"explanation": "Always free breakfast",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/true-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 7,
|
||||
"name": "Best Friend",
|
||||
"requiredPoints": 400000,
|
||||
"requiredNights": 100,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "200 SEK voucher",
|
||||
"value": "200 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Yearly exclusive gift",
|
||||
"value": "Yearly exclusive gift",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Kid's boost",
|
||||
"value": "Kid's boost",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/best-friend.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,200 +0,0 @@
|
||||
{
|
||||
"levels": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "New Friend",
|
||||
"requiredPoints": 0,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Friendly room rates",
|
||||
"value": "Friendly room rates",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "10% off on food on weekends",
|
||||
"value": "10% off",
|
||||
"explanation": "on food on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Free kids mocktail during stay",
|
||||
"value": "Free kids mocktail",
|
||||
"explanation": "during stay",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/new-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 2,
|
||||
"name": "Good Friend",
|
||||
"requiredPoints": 5000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "15% on food on weekends",
|
||||
"value": "15% on food",
|
||||
"explanation": "on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/good-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 3,
|
||||
"name": "Close Friend",
|
||||
"requiredPoints": 10000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Late checkout - 1 hour when available",
|
||||
"value": "Late checkout",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "50 SEK voucher",
|
||||
"value": "50 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/close-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 4,
|
||||
"name": "Dear Friend",
|
||||
"requiredPoints": 25000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "25% earn rate",
|
||||
"value": "25% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Early check-in - 1 hour when available",
|
||||
"value": "Early check-in",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "75 SEK voucher",
|
||||
"value": "75 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/dear-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 5,
|
||||
"name": "Loyal Friend",
|
||||
"requiredPoints": 100000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Free room upgrade when available",
|
||||
"value": "Free room upgrade",
|
||||
"explanation": "when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "100 SEK voucher",
|
||||
"value": "100 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "2-for-1 breakfast",
|
||||
"value": "2-for-1 breakfast",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/loyal-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 6,
|
||||
"name": "True Friend",
|
||||
"requiredPoints": 250000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "50% earn rate",
|
||||
"value": "50% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "150 SEK voucher",
|
||||
"value": "150 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "48h room guarantee",
|
||||
"value": "48h room guarantee",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Always free breakfast",
|
||||
"value": "Always free breakfast",
|
||||
"explanation": "Always free breakfast",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/true-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 7,
|
||||
"name": "Best Friend",
|
||||
"requiredPoints": 400000,
|
||||
"requiredNights": 100,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "200 SEK voucher",
|
||||
"value": "200 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Yearly exclusive gift",
|
||||
"value": "Yearly exclusive gift",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Kid's boost",
|
||||
"value": "Kid's boost",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/best-friend.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,200 +0,0 @@
|
||||
{
|
||||
"levels": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "New Friend",
|
||||
"requiredPoints": 0,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Friendly room rates",
|
||||
"value": "Friendly room rates",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "10% off on food on weekends",
|
||||
"value": "10% off",
|
||||
"explanation": "on food on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Free kids mocktail during stay",
|
||||
"value": "Free kids mocktail",
|
||||
"explanation": "during stay",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/new-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 2,
|
||||
"name": "Good Friend",
|
||||
"requiredPoints": 5000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "15% on food on weekends",
|
||||
"value": "15% on food",
|
||||
"explanation": "on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/good-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 3,
|
||||
"name": "Close Friend",
|
||||
"requiredPoints": 10000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Late checkout - 1 hour when available",
|
||||
"value": "Late checkout",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "50 SEK voucher",
|
||||
"value": "50 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/close-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 4,
|
||||
"name": "Dear Friend",
|
||||
"requiredPoints": 25000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "25% earn rate",
|
||||
"value": "25% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Early check-in - 1 hour when available",
|
||||
"value": "Early check-in",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "75 SEK voucher",
|
||||
"value": "75 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/dear-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 5,
|
||||
"name": "Loyal Friend",
|
||||
"requiredPoints": 100000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Free room upgrade when available",
|
||||
"value": "Free room upgrade",
|
||||
"explanation": "when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "100 SEK voucher",
|
||||
"value": "100 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "2-for-1 breakfast",
|
||||
"value": "2-for-1 breakfast",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/loyal-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 6,
|
||||
"name": "True Friend",
|
||||
"requiredPoints": 250000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "50% earn rate",
|
||||
"value": "50% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "150 SEK voucher",
|
||||
"value": "150 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "48h room guarantee",
|
||||
"value": "48h room guarantee",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Always free breakfast",
|
||||
"value": "Always free breakfast",
|
||||
"explanation": "Always free breakfast",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/true-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 7,
|
||||
"name": "Best Friend",
|
||||
"requiredPoints": 400000,
|
||||
"requiredNights": 100,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "200 SEK voucher",
|
||||
"value": "200 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Yearly exclusive gift",
|
||||
"value": "Yearly exclusive gift",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Kid's boost",
|
||||
"value": "Kid's boost",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/best-friend.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,200 +0,0 @@
|
||||
{
|
||||
"levels": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "New Friend",
|
||||
"requiredPoints": 0,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Friendly room rates",
|
||||
"value": "Friendly room rates",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "10% off on food on weekends",
|
||||
"value": "10% off",
|
||||
"explanation": "on food on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Free kids mocktail during stay",
|
||||
"value": "Free kids mocktail",
|
||||
"explanation": "during stay",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/new-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 2,
|
||||
"name": "Good Friend",
|
||||
"requiredPoints": 5000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "15% on food on weekends",
|
||||
"value": "15% on food",
|
||||
"explanation": "on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/good-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 3,
|
||||
"name": "Close Friend",
|
||||
"requiredPoints": 10000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Late checkout - 1 hour when available",
|
||||
"value": "Late checkout",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "50 SEK voucher",
|
||||
"value": "50 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/close-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 4,
|
||||
"name": "Dear Friend",
|
||||
"requiredPoints": 25000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "25% earn rate",
|
||||
"value": "25% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Early check-in - 1 hour when available",
|
||||
"value": "Early check-in",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "75 SEK voucher",
|
||||
"value": "75 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/dear-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 5,
|
||||
"name": "Loyal Friend",
|
||||
"requiredPoints": 100000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Free room upgrade when available",
|
||||
"value": "Free room upgrade",
|
||||
"explanation": "when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "100 SEK voucher",
|
||||
"value": "100 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "2-for-1 breakfast",
|
||||
"value": "2-for-1 breakfast",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/loyal-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 6,
|
||||
"name": "True Friend",
|
||||
"requiredPoints": 250000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "50% earn rate",
|
||||
"value": "50% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "150 SEK voucher",
|
||||
"value": "150 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "48h room guarantee",
|
||||
"value": "48h room guarantee",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Always free breakfast",
|
||||
"value": "Always free breakfast",
|
||||
"explanation": "Always free breakfast",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/true-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 7,
|
||||
"name": "Best Friend",
|
||||
"requiredPoints": 400000,
|
||||
"requiredNights": 100,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "200 SEK voucher",
|
||||
"value": "200 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Yearly exclusive gift",
|
||||
"value": "Yearly exclusive gift",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Kid's boost",
|
||||
"value": "Kid's boost",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/best-friend.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,200 +0,0 @@
|
||||
{
|
||||
"levels": [
|
||||
{
|
||||
"level": 1,
|
||||
"name": "New Friend",
|
||||
"requiredPoints": 0,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Friendly room rates",
|
||||
"value": "Friendly room rates",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "10% off on food on weekends",
|
||||
"value": "10% off",
|
||||
"explanation": "on food on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Free kids mocktail during stay",
|
||||
"value": "Free kids mocktail",
|
||||
"explanation": "during stay",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/new-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 2,
|
||||
"name": "Good Friend",
|
||||
"requiredPoints": 5000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "15% on food on weekends",
|
||||
"value": "15% on food",
|
||||
"explanation": "on weekends",
|
||||
"description": "Go ahead – use your friendly discount to grab a bite during weekends.",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/good-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 3,
|
||||
"name": "Close Friend",
|
||||
"requiredPoints": 10000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Late checkout - 1 hour when available",
|
||||
"value": "Late checkout",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "50 SEK voucher",
|
||||
"value": "50 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/close-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 4,
|
||||
"name": "Dear Friend",
|
||||
"requiredPoints": 25000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "25% earn rate",
|
||||
"value": "25% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Early check-in - 1 hour when available",
|
||||
"value": "Early check-in",
|
||||
"explanation": "- 1 hour when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "75 SEK voucher",
|
||||
"value": "75 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/dear-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 5,
|
||||
"name": "Loyal Friend",
|
||||
"requiredPoints": 100000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "Free room upgrade when available",
|
||||
"value": "Free room upgrade",
|
||||
"explanation": "when available",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "100 SEK voucher",
|
||||
"value": "100 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "2-for-1 breakfast",
|
||||
"value": "2-for-1 breakfast",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/loyal-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 6,
|
||||
"name": "True Friend",
|
||||
"requiredPoints": 250000,
|
||||
"requiredNights": 0,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "50% earn rate",
|
||||
"value": "50% earn rate",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "150 SEK voucher",
|
||||
"value": "150 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "48h room guarantee",
|
||||
"value": "48h room guarantee",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Always free breakfast",
|
||||
"value": "Always free breakfast",
|
||||
"explanation": "Always free breakfast",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/true-friend.svg"
|
||||
},
|
||||
{
|
||||
"level": 7,
|
||||
"name": "Best Friend",
|
||||
"requiredPoints": 400000,
|
||||
"requiredNights": 100,
|
||||
"benefits": [
|
||||
{
|
||||
"title": "200 SEK voucher",
|
||||
"value": "200 SEK voucher",
|
||||
"explanation": "",
|
||||
"description": "Yeah, that’s right: for each friendship point-boosting night, you get a voucher to redeem when you dine or drink at our restaurants and bars.",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Yearly exclusive gift",
|
||||
"value": "Yearly exclusive gift",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
},
|
||||
{
|
||||
"title": "Kid's boost",
|
||||
"value": "Kid's boost",
|
||||
"explanation": "",
|
||||
"description": "",
|
||||
"href": ""
|
||||
}
|
||||
],
|
||||
"icon": "/_static/icons/loyaltylevels/best-friend.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
import { Lang } from "@/constants/languages"
|
||||
|
||||
import DA from "./DA.json"
|
||||
import DE from "./DE.json"
|
||||
import EN from "./EN.json"
|
||||
import FI from "./FI.json"
|
||||
import NO from "./NO.json"
|
||||
import SV from "./SV.json"
|
||||
|
||||
const levelsData = {
|
||||
[Lang.en]: EN,
|
||||
[Lang.sv]: SV,
|
||||
[Lang.no]: NO,
|
||||
[Lang.fi]: FI,
|
||||
[Lang.da]: DA,
|
||||
[Lang.de]: DE,
|
||||
}
|
||||
|
||||
export default levelsData
|
||||
@@ -28,7 +28,7 @@ export type CardsGridProps = Pick<CardsGrid, "cards_grid">
|
||||
|
||||
export type Content = { content: RteBlockContent["content"]["content"] }
|
||||
|
||||
type Benefit = { title: string; description: string }
|
||||
type Benefit = { title: string }
|
||||
|
||||
type OverviewTableTitleTranslation = {
|
||||
text: string
|
||||
@@ -44,7 +44,6 @@ export type Level = {
|
||||
name: string
|
||||
requiredPoints: number
|
||||
requiredNights?: number
|
||||
icon: string
|
||||
benefits: Benefit[]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user