2022-11-28 22:14:19 +00:00
|
|
|
|
import { PageWrap } from '../../_shared/PageWrap'
|
|
|
|
|
import type { PageProps } from '../../types'
|
|
|
|
|
import styles from './Settings.module.scss'
|
|
|
|
|
import { Icon } from '../../_shared/Icon'
|
|
|
|
|
import { clsx } from 'clsx'
|
|
|
|
|
import ProfileSettingsNavigation from '../../Discours/ProfileSettingsNavigation'
|
|
|
|
|
|
|
|
|
|
export const ProfileSecurityPage = (props: PageProps) => {
|
|
|
|
|
return (
|
|
|
|
|
<PageWrap>
|
|
|
|
|
<div class="wide-container">
|
|
|
|
|
<div class="shift-content">
|
|
|
|
|
<div class="left-col">
|
|
|
|
|
<div class={clsx('left-navigation', styles.leftNavigation)}>
|
|
|
|
|
<ProfileSettingsNavigation />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-md-10 col-lg-9 col-xl-8">
|
|
|
|
|
<h1>Вход и безопасность</h1>
|
|
|
|
|
<p class="description">Настройки аккаунта, почты, пароля и способов входа.</p>
|
|
|
|
|
|
|
|
|
|
<form>
|
|
|
|
|
<h4>Почта</h4>
|
|
|
|
|
<div class="pretty-form__item">
|
|
|
|
|
<input type="text" name="email" id="email" placeholder="Почта" />
|
|
|
|
|
<label for="email">Почта</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h4>Изменить пароль</h4>
|
|
|
|
|
<h5>Текущий пароль</h5>
|
|
|
|
|
<div class="pretty-form__item">
|
|
|
|
|
<input
|
2022-11-30 18:15:01 +00:00
|
|
|
|
type="text"
|
2022-11-28 22:14:19 +00:00
|
|
|
|
name="password-current"
|
|
|
|
|
id="password-current"
|
|
|
|
|
class={clsx(styles.passwordInput, 'nolabel')}
|
|
|
|
|
/>
|
2022-11-30 18:15:01 +00:00
|
|
|
|
<button type="button" class={styles.passwordToggleControl}>
|
|
|
|
|
<Icon name="password-hide" />
|
2022-11-28 22:14:19 +00:00
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
2022-11-30 18:15:01 +00:00
|
|
|
|
<h5>Новый пароль</h5>
|
2022-11-28 22:14:19 +00:00
|
|
|
|
<div class="pretty-form__item">
|
|
|
|
|
<input
|
|
|
|
|
type="password"
|
|
|
|
|
name="password-new"
|
|
|
|
|
id="password-new"
|
|
|
|
|
class={clsx(styles.passwordInput, 'nolabel')}
|
|
|
|
|
/>
|
2022-11-30 18:15:01 +00:00
|
|
|
|
<button type="button" class={styles.passwordToggleControl}>
|
2022-11-28 22:14:19 +00:00
|
|
|
|
<Icon name="password-open" />
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5>Подтвердите новый пароль</h5>
|
|
|
|
|
<div class="pretty-form__item">
|
|
|
|
|
<input
|
|
|
|
|
type="password"
|
|
|
|
|
name="password-new-confirm"
|
|
|
|
|
id="password-new-confirm"
|
|
|
|
|
class={clsx(styles.passwordInput, 'nolabel')}
|
|
|
|
|
/>
|
2022-11-30 18:15:01 +00:00
|
|
|
|
<button type="button" class={styles.passwordToggleControl}>
|
2022-11-28 22:14:19 +00:00
|
|
|
|
<Icon name="password-open" />
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
2022-11-30 18:15:01 +00:00
|
|
|
|
<h4>Социальные сети</h4>
|
|
|
|
|
<h5>Google</h5>
|
|
|
|
|
<div class="pretty-form__item">
|
|
|
|
|
<p>
|
2022-12-01 18:52:44 +00:00
|
|
|
|
<button class={clsx('button button--light', styles.socialButton)} type="button">
|
2022-11-30 18:15:01 +00:00
|
|
|
|
<Icon name="google" class={styles.icon} />
|
|
|
|
|
Привязать
|
|
|
|
|
</button>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5>VK</h5>
|
|
|
|
|
<div class="pretty-form__item">
|
|
|
|
|
<p>
|
|
|
|
|
<button class={clsx(styles.socialButton, 'button button--light')} type="button">
|
|
|
|
|
<Icon name="vk" class={styles.icon} />
|
|
|
|
|
Привязать
|
|
|
|
|
</button>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5>Facebook</h5>
|
|
|
|
|
<div class="pretty-form__item">
|
|
|
|
|
<p>
|
|
|
|
|
<button class={clsx(styles.socialButton, 'button button--light')} type="button">
|
|
|
|
|
<Icon name="facebook" class={styles.icon} />
|
|
|
|
|
Привязать
|
2022-11-28 22:14:19 +00:00
|
|
|
|
</button>
|
2022-11-30 18:15:01 +00:00
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5>Apple</h5>
|
|
|
|
|
<div class="pretty-form__item">
|
|
|
|
|
<p>
|
|
|
|
|
<button
|
|
|
|
|
class={clsx(
|
|
|
|
|
styles.socialButton,
|
|
|
|
|
styles.socialButtonApple,
|
|
|
|
|
'button' + ' button--light'
|
|
|
|
|
)}
|
|
|
|
|
type="button"
|
|
|
|
|
>
|
|
|
|
|
<Icon name="apple" class={styles.icon} />
|
|
|
|
|
Привязать
|
2022-11-28 22:14:19 +00:00
|
|
|
|
</button>
|
2022-11-30 18:15:01 +00:00
|
|
|
|
</p>
|
2022-11-28 22:14:19 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<br />
|
|
|
|
|
<p>
|
2022-11-30 18:15:01 +00:00
|
|
|
|
<button class="button button--submit" type="submit">
|
|
|
|
|
Сохранить настройки
|
|
|
|
|
</button>
|
2022-11-28 22:14:19 +00:00
|
|
|
|
</p>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</PageWrap>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// for lazy loading
|
|
|
|
|
export default ProfileSecurityPage
|