cloud connect
This commit is contained in:
parent
1dfd5386a7
commit
0ba3d78b27
7 changed files with 15 additions and 12 deletions
|
@ -40,6 +40,7 @@ SITE_NAME=LBRY
|
||||||
SITE_DESCRIPTION=Meet LBRY, an open, free, and community-controlled content wonderland.
|
SITE_DESCRIPTION=Meet LBRY, an open, free, and community-controlled content wonderland.
|
||||||
SITE_HELP_EMAIL=help@lbry.com
|
SITE_HELP_EMAIL=help@lbry.com
|
||||||
LOGO_TITLE=LBRY
|
LOGO_TITLE=LBRY
|
||||||
|
CLOUD_CONNECT_SITE_NAME=Odysee
|
||||||
## Social media
|
## Social media
|
||||||
TWITTER_ACCOUNT=LBRYcom
|
TWITTER_ACCOUNT=LBRYcom
|
||||||
BRANDED_SITE=odysee
|
BRANDED_SITE=odysee
|
||||||
|
|
|
@ -14,6 +14,7 @@ const config = {
|
||||||
LBRY_WEB_STREAMING_API: process.env.LBRY_WEB_STREAMING_API, //cdn.lbryplayer.xyz',
|
LBRY_WEB_STREAMING_API: process.env.LBRY_WEB_STREAMING_API, //cdn.lbryplayer.xyz',
|
||||||
LBRY_WEB_BUFFER_API: process.env.LBRY_WEB_BUFFER_API,
|
LBRY_WEB_BUFFER_API: process.env.LBRY_WEB_BUFFER_API,
|
||||||
SEARCH_SERVER_API: process.env.SEARCH_SERVER_API,
|
SEARCH_SERVER_API: process.env.SEARCH_SERVER_API,
|
||||||
|
CLOUD_CONNECT_SITE_NAME: process.env.CLOUD_CONNECT_SITE_NAME,
|
||||||
COMMENT_SERVER_API: process.env.COMMENT_SERVER_API,
|
COMMENT_SERVER_API: process.env.COMMENT_SERVER_API,
|
||||||
COMMENT_SERVER_NAME: process.env.COMMENT_SERVER_NAME,
|
COMMENT_SERVER_NAME: process.env.COMMENT_SERVER_NAME,
|
||||||
SOCKETY_SERVER_API: process.env.SOCKETY_SERVER_API,
|
SOCKETY_SERVER_API: process.env.SOCKETY_SERVER_API,
|
||||||
|
|
|
@ -2198,5 +2198,9 @@
|
||||||
"Default share url (%name%)": "Default share url (%name%)",
|
"Default share url (%name%)": "Default share url (%name%)",
|
||||||
"Custom share url": "Custom share url",
|
"Custom share url": "Custom share url",
|
||||||
"Share url": "Share url",
|
"Share url": "Share url",
|
||||||
|
"Odysee Connect": "Odysee Connect",
|
||||||
|
"Log in to %CLOUD_CONNECT_SITE_NAME%": "Log in to %CLOUD_CONNECT_SITE_NAME%",
|
||||||
|
"Cloud Connect": "Cloud Connect",
|
||||||
|
"Connect your wallet to Odysee": "Connect your wallet to Odysee",
|
||||||
"--end--": "--end--"
|
"--end--": "--end--"
|
||||||
}
|
}
|
||||||
|
|
|
@ -346,13 +346,9 @@ const Header = (props: Props) => {
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
) : !IS_WEB ? (
|
) : !IS_WEB ? (
|
||||||
<>
|
<>
|
||||||
<MenuItem className="menu__link" onSelect={() => history.push(`/$/${PAGES.AUTH}`)}>
|
|
||||||
<Icon aria-hidden icon={ICONS.SIGN_UP} />
|
|
||||||
{__('Sign Up')}
|
|
||||||
</MenuItem>
|
|
||||||
<MenuItem className="menu__link" onSelect={() => history.push(`/$/${PAGES.AUTH_SIGNIN}`)}>
|
<MenuItem className="menu__link" onSelect={() => history.push(`/$/${PAGES.AUTH_SIGNIN}`)}>
|
||||||
<Icon aria-hidden icon={ICONS.SIGN_IN} />
|
<Icon aria-hidden icon={ICONS.SIGN_IN} />
|
||||||
{__('Sign In')}
|
{__('Cloud Connect')}
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
</>
|
</>
|
||||||
) : null}
|
) : null}
|
||||||
|
|
|
@ -94,9 +94,9 @@ function UserEmailNew(props: Props) {
|
||||||
return (
|
return (
|
||||||
<div className={classnames('main__sign-up')}>
|
<div className={classnames('main__sign-up')}>
|
||||||
<Card
|
<Card
|
||||||
title={__('Join')}
|
title={__('Cloud Connect')}
|
||||||
// @if TARGET='app'
|
// @if TARGET='app'
|
||||||
subtitle={__('An account allows you to earn rewards and backup your data.')}
|
subtitle={__('Connect your wallet to Odysee')}
|
||||||
// @endif
|
// @endif
|
||||||
actions={
|
actions={
|
||||||
<div className={classnames({ 'card--disabled': DOMAIN === 'lbry.tv' && IS_WEB })}>
|
<div className={classnames({ 'card--disabled': DOMAIN === 'lbry.tv' && IS_WEB })}>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// @flow
|
// @flow
|
||||||
import { SITE_NAME } from 'config';
|
import { CLOUD_CONNECT_SITE_NAME } from 'config';
|
||||||
import * as PAGES from 'constants/pages';
|
import * as PAGES from 'constants/pages';
|
||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import { FormField, Form } from 'component/common/form';
|
import { FormField, Form } from 'component/common/form';
|
||||||
|
@ -75,7 +75,8 @@ function UserEmailReturning(props: Props) {
|
||||||
<UserEmailVerify />
|
<UserEmailVerify />
|
||||||
) : (
|
) : (
|
||||||
<Card
|
<Card
|
||||||
title={__('Log in to %SITE_NAME%', { SITE_NAME })}
|
title={__('Cloud Connect')}
|
||||||
|
subtitle={__('Log in to %CLOUD_CONNECT_SITE_NAME%', { CLOUD_CONNECT_SITE_NAME })}
|
||||||
actions={
|
actions={
|
||||||
<div>
|
<div>
|
||||||
<Form onSubmit={handleSubmit} className="section">
|
<Form onSubmit={handleSubmit} className="section">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// @flow
|
// @flow
|
||||||
import { SITE_NAME } from 'config';
|
import { CLOUD_CONNECT_SITE_NAME } from 'config';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Modal } from 'modal/modal';
|
import { Modal } from 'modal/modal';
|
||||||
import Button from 'component/button';
|
import Button from 'component/button';
|
||||||
|
@ -11,7 +11,7 @@ type Props = {
|
||||||
accessToken: string,
|
accessToken: string,
|
||||||
user: any,
|
user: any,
|
||||||
doAuth: () => void,
|
doAuth: () => void,
|
||||||
history: { push: string => void },
|
history: { push: (string) => void },
|
||||||
location: UrlLocation,
|
location: UrlLocation,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ const ModalFirstSubscription = (props: Props) => {
|
||||||
{__('Awesome! You just followed your first channel.')}{' '}
|
{__('Awesome! You just followed your first channel.')}{' '}
|
||||||
{user && user.primary_email
|
{user && user.primary_email
|
||||||
? __('You will receive notifications related to new content.')
|
? __('You will receive notifications related to new content.')
|
||||||
: __('Log in with %SITE_NAME% to receive notifications about new content.', { SITE_NAME })}
|
: __('Connect to %SITE_NAME% to receive notifications about new content.', { CLOUD_CONNECT_SITE_NAME })}
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
actions={
|
actions={
|
||||||
|
|
Loading…
Reference in a new issue