|
|
|
|
@ -12,6 +12,8 @@ import { |
|
|
|
|
Item, |
|
|
|
|
List, |
|
|
|
|
Price, |
|
|
|
|
ScAutoRenewal, |
|
|
|
|
ScPriceContainer, |
|
|
|
|
} from './styled' |
|
|
|
|
|
|
|
|
|
type Props = { |
|
|
|
|
@ -53,15 +55,27 @@ export const PackagesList = ({ |
|
|
|
|
/> |
|
|
|
|
</Description> |
|
|
|
|
</InfoWrapper> |
|
|
|
|
<Price |
|
|
|
|
amount={subPackage.price} |
|
|
|
|
currency={subPackage.currency} |
|
|
|
|
perPeriod={ |
|
|
|
|
subPackage.type !== SubscriptionType.Month |
|
|
|
|
? null |
|
|
|
|
: `per_${subPackage.type}` |
|
|
|
|
<ScPriceContainer> |
|
|
|
|
<Price |
|
|
|
|
amount={subPackage.price} |
|
|
|
|
currency={subPackage.currency} |
|
|
|
|
perPeriod={ |
|
|
|
|
subPackage.type !== SubscriptionType.Month |
|
|
|
|
? null |
|
|
|
|
: `per_${subPackage.type}` |
|
|
|
|
} |
|
|
|
|
/> |
|
|
|
|
{ |
|
|
|
|
subPackage.type === SubscriptionType.Month |
|
|
|
|
&& ( |
|
|
|
|
<ScAutoRenewal> |
|
|
|
|
<T9n |
|
|
|
|
t='auto_renewal' |
|
|
|
|
/> |
|
|
|
|
</ScAutoRenewal> |
|
|
|
|
) |
|
|
|
|
} |
|
|
|
|
/> |
|
|
|
|
</ScPriceContainer> |
|
|
|
|
</Item> |
|
|
|
|
), |
|
|
|
|
) |
|
|
|
|
|