import React from 'react'; export default class Settings extends React.Component { constructor(props) { super(props); this.state = { settings: {}, userinfo: {}, facebook: {} }; } render() { const { settings, userinfo, facebook } = this.state; return (

Settings

Avatar:
Recommendations: PNG, 96x96, <50Kb. Also, JPG and GIF supported.

Full name:

Country:

URL:
Please, start with "http://"

About:

Max. 255 symbols

Changing your password

Change password:
(max. length - 16 symbols)

Notification options

 Reply notifications ("Message posted")

 Subscriptions notifications ("@user subscribed...")

 Posts recommendations ("Recommended by @user")

Telegram {settings.telegramName ? (
Telegram: telegram_name
) : (

To connect Telegram account: send any text message to @Juick_bot

)}
{settings.jids && (
XMPP accounts

Your accounts:

{ settings.jids.map(jid =>
) } {settings.auths.map(auth => Confirm
)}

{settings.jids && settings.jids.length > 1(

)}

To add new jabber account: send any text message to juick@juick.com

)}
E-mail

Add account:

Your accounts:

{ settings.emails ? settings.emails.map(email =>
{settings.emails.length > 1 &&

} ) : `-` }

{settings.emails && {/** email_off **/}
You can receive notifications to email:
Sent to
{/** /email_off **/}

 

You can post to Juick via e-mail. Send your plain text messages to juick@juick.com. You can attach one photo or video file.

}
Facebook {facebook.connected ? ( facebook.crosspostEnabled ?
Facebook: Enabled
:
Facebook: Disabled
) : (

Cross-posting to Facebook: Connect to Facebook

)}
Twitter {settings.twitter_name ?
Twitter: {settings.twitter_name}
:

Cross-posting to Twitter: Connect to Twitter

}
); } }