mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-29 05:38:48 +00:00
facebook button use Button component
This commit is contained in:
parent
5082fead89
commit
e41b8bfddb
1 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import React, { Component } from 'react';
|
||||
import Icon from 'stremio-icons/dom';
|
||||
import { Button } from 'stremio-common';
|
||||
import CheckboxLabel from './CheckboxLabel';
|
||||
import styles from './styles';
|
||||
|
||||
|
|
@ -204,10 +205,10 @@ class Intro extends Component {
|
|||
<div className={styles['intro-container']}>
|
||||
<div className={styles['overlay']} />
|
||||
<div className={styles['intro']}>
|
||||
<div className={styles['facebook-button']} tabIndex={'0'}>
|
||||
<Button className={styles['facebook-button']}>
|
||||
<Icon className={styles['icon']} icon={'ic_facebook'} />
|
||||
<div className={styles['label']}>Login with Facebook</div>
|
||||
</div>
|
||||
</Button>
|
||||
<div className={styles['facebook-subtext']}>We won't post anything on your behalf</div>
|
||||
{this.renderSelectedMenu()}
|
||||
<div className={styles['option']} data-option={this.state.selectedForm === FORMS.SIGN_UP ? FORMS.LOGIN : FORMS.SIGN_UP} onClick={this.changeSelectedForm}>{this.state.selectedForm === FORMS.SIGN_UP ? 'LOG IN' : 'SING UP WITH EMAIL'}</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue