// @flow import * as ICONS from 'constants/icons'; import * as PAGES from 'constants/pages'; import Icon from 'component/common/icon'; import Button from 'component/button'; import I18nMessage from 'component/i18nMessage'; import React from 'react'; import AstronautAndFriends from './astronaut_n_friends.png'; import BadgePremium from './badge_premium.png'; import BadgePremiumPlus from './badge_premium-plus.png'; import OdyseePremium from './odysee_premium.png'; type Props = { pageLocation: string, currencyToUse: string, }; export default function MembershipSplash(props: Props) { const { pageLocation, currencyToUse } = props; const premiumDisplayAmounts = { eur: '€0.89', usd: '99¢', }; const premiumPlusDisplayAmounts = { eur: '€2.68', usd: '$2.99', }; // const logo = ; const earlyAcessInfo = (
{__('Exclusive and early access to features')}
); const badgeInfo = (
{__('Badge on profile')}
); const noAdsInfo = (
{__('No ads')}
); const livestreamInfo = (
{__('Livestreaming')}
); return (
{__('early access')}, site_wide_badge: {__('site-wide badge')} }} > Get %early_access% features and a %site_wide_badge%
{__( "Creating a revolutionary video platform for everyone is something we're proud to be doing, but it isn't something that can happen without support. If you believe in Odysee's mission, please consider becoming a Premium member. As a Premium member, you'll be helping us build the best platform in the universe and we'll give you some cool perks!" )}
{__('A MONTH')}
, premium_price: premiumDisplayAmounts[currencyToUse], }} > %premium_price% %premium_recurrence% --[context: '99¢ A MONTH']--
{badgeInfo} {livestreamInfo} {earlyAcessInfo}
{__('A MONTH')}
, premium_price: premiumPlusDisplayAmounts[currencyToUse], }} > %premium_price% %premium_recurrence% --[context: '99¢ A MONTH']--
{badgeInfo} {livestreamInfo} {earlyAcessInfo} {noAdsInfo}
); }