@lmnto/h-mall-shared 1.0.25 → 1.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lmnto/h-mall-shared",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "private": false,
5
5
  "sideEffects": false,
6
6
  "scripts": {
@@ -25,19 +25,30 @@ export default function SubscriptionBanner({
25
25
  return (
26
26
  <div className="justify-between rounded-xl h-[200px] sm:h-[150px] p-[5%] lg:p-[2%] subscriptionBanner">
27
27
  <div className="w-full md:w-5/6 lg:w-3/4 xl:w-2/3">
28
- <Typography
29
- variant="h6"
30
- className="font-medium text-sm text-black-500 mb-1"
31
- >
32
- {scopeT("welcomeBack")}
33
- </Typography>
28
+ {isMembershipFeatureEnabled ? (
29
+ <>
30
+ <Typography
31
+ variant="h6"
32
+ className="font-medium text-sm text-black-500 mb-1"
33
+ >
34
+ {scopeT("welcomeBack")}
35
+ </Typography>
34
36
 
35
- <Typography
36
- variant="h3"
37
- className="font-semibold text-sm md:text-base text-black-500"
38
- >
39
- {scopeT("activeSubscription")}
40
- </Typography>
37
+ <Typography
38
+ variant="h3"
39
+ className="font-semibold text-sm md:text-base text-black-500"
40
+ >
41
+ {scopeT("activeSubscription")}
42
+ </Typography>
43
+ </>
44
+ ) : (
45
+ <Typography
46
+ variant="h3"
47
+ className="font-semibold text-sm md:text-base text-black-500"
48
+ >
49
+ {scopeT("membershipFeatureUnavailableWelcome")}
50
+ </Typography>
51
+ )}
41
52
  </div>
42
53
  </div>
43
54
  );
@@ -61,6 +61,8 @@ export default {
61
61
  "Subscription activation still in progress. Please check back later or contact support.",
62
62
  membershipFeatureUnavailableWelcome:
63
63
  "Welcome to H Mall! Explore our products and discover what we have to offer.",
64
+ exploreFeaturesOnly:
65
+ "Dive in and explore new features and updates now!",
64
66
  },
65
67
  quantityComponent: {
66
68
  quantity: "Quantity",
@@ -60,6 +60,8 @@ export default {
60
60
  "Attivazione dell'abbonamento ancora in corso. Riprova più tardi o contatta l'assistenza.",
61
61
  membershipFeatureUnavailableWelcome:
62
62
  "Benvenuto su H Mall! Esplora i nostri prodotti e scopri cosa abbiamo da offrire.",
63
+ exploreFeaturesOnly:
64
+ "Immergiti ed esplora nuove funzionalità e aggiornamenti ora!",
63
65
  },
64
66
  quantityComponent: {
65
67
  quantity: "Quantità",