feat: fetch urls for language switcher from contentstack

This commit is contained in:
Christel Westerberg
2024-05-27 16:46:01 +02:00
parent f4c58ec3ee
commit 28efca98b9
15 changed files with 223 additions and 24 deletions

View File

@@ -9,11 +9,11 @@ export const allLevels = [
"Always best price",
"Book reward nights with points",
],
logo: "/_static/icons/new-friend.png",
logo: "/_static/icons/loyaltyLevels/new-friend.svg",
},
{
tier: 2,
name: "New Friend",
name: "Good Friend",
requiredPoints: 50000,
requiredNights: "X",
benefits: [
@@ -21,11 +21,11 @@ export const allLevels = [
"Always best price",
"Book reward nights with points",
],
logo: "/_static/icons/new-friend.png",
logo: "/_static/icons/loyaltyLevels/good-friend.svg",
},
{
tier: 3,
name: "New Friend",
name: "Close Friend",
requiredPoints: 50000,
requiredNights: "X",
benefits: [
@@ -33,11 +33,11 @@ export const allLevels = [
"Always best price",
"Book reward nights with points",
],
logo: "/_static/icons/new-friend.png",
logo: "/_static/icons/loyaltyLevels/close-friend.svg",
},
{
tier: 4,
name: "New Friend",
name: "Dear Friend",
requiredPoints: 50000,
requiredNights: "X",
benefits: [
@@ -45,11 +45,11 @@ export const allLevels = [
"Always best price",
"Book reward nights with points",
],
logo: "/_static/icons/new-friend.png",
logo: "/_static/icons/loyaltyLevels/dear-friend.svg",
},
{
tier: 5,
name: "New Friend",
name: "Loyal Friend",
requiredPoints: 50000,
requiredNights: "X",
benefits: [
@@ -57,11 +57,11 @@ export const allLevels = [
"Always best price",
"Book reward nights with points",
],
logo: "/_static/icons/new-friend.png",
logo: "/_static/icons/loyaltyLevels/loyal-friend.svg",
},
{
tier: 6,
name: "New Friend",
name: "True Friend",
requiredPoints: 50000,
requiredNights: "X",
benefits: [
@@ -69,11 +69,11 @@ export const allLevels = [
"Always best price",
"Book reward nights with points",
],
logo: "/_static/icons/new-friend.png",
logo: "/_static/icons/loyaltyLevels/true-friend.svg",
},
{
tier: 7,
name: "New Friend",
name: "Best Friend",
requiredPoints: 50000,
requiredNights: "X",
benefits: [
@@ -81,6 +81,6 @@ export const allLevels = [
"Always best price",
"Book reward nights with points",
],
logo: "/_static/icons/new-friend.png",
logo: "/_static/icons/loyaltyLevels/best-friend.svg",
},
]