/auth/sign_up --> /, fixes #106
This commit is contained in:
parent
73fd6d67f9
commit
e120b56e8f
4 changed files with 7 additions and 6 deletions
|
@ -26,7 +26,7 @@ const SignUpPanel = ({ siteTitle, me }) => {
|
||||||
<FormattedMessage id='signup_panel.subtitle' defaultMessage='Sign up now to discuss.' />
|
<FormattedMessage id='signup_panel.subtitle' defaultMessage='Sign up now to discuss.' />
|
||||||
</span>
|
</span>
|
||||||
<div className='wtf-panel__form'>
|
<div className='wtf-panel__form'>
|
||||||
<a className='button' href='/auth/sign_up'>
|
<a className='button' href='/'>
|
||||||
<FormattedMessage id='account.register' defaultMessage='Sign up' />
|
<FormattedMessage id='account.register' defaultMessage='Sign up' />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -159,7 +159,7 @@ class TabsBar extends React.PureComponent {
|
||||||
<Link className='tabs-bar__button button' to='/auth/sign_in'>
|
<Link className='tabs-bar__button button' to='/auth/sign_in'>
|
||||||
<FormattedMessage id='account.login' defaultMessage='Log In' />
|
<FormattedMessage id='account.login' defaultMessage='Log In' />
|
||||||
</Link>
|
</Link>
|
||||||
<Link className='tabs-bar__button button button-alternative-2' to='/auth/sign_up'>
|
<Link className='tabs-bar__button button button-alternative-2' to='/'>
|
||||||
<FormattedMessage id='account.register' defaultMessage='Sign up' />
|
<FormattedMessage id='account.register' defaultMessage='Sign up' />
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -2,6 +2,7 @@ import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
|
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
|
||||||
|
import { Link } from 'react-router-dom';
|
||||||
import ImmutablePureComponent from 'react-immutable-pure-component';
|
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||||
import IconButton from 'soapbox/components/icon_button';
|
import IconButton from 'soapbox/components/icon_button';
|
||||||
|
|
||||||
|
@ -42,15 +43,15 @@ class UnauthorizedModal extends ImmutablePureComponent {
|
||||||
<span className='unauthorized-modal-content__text'>
|
<span className='unauthorized-modal-content__text'>
|
||||||
<FormattedMessage id='unauthorized_modal.text' defaultMessage='You need to be logged in to do that.' />
|
<FormattedMessage id='unauthorized_modal.text' defaultMessage='You need to be logged in to do that.' />
|
||||||
</span>
|
</span>
|
||||||
<a href='/auth/sign_up' className='unauthorized-modal-content__button button'>
|
<Link to='/' className='unauthorized-modal-content__button button'>
|
||||||
<FormattedMessage id='account.register' defaultMessage='Sign up' />
|
<FormattedMessage id='account.register' defaultMessage='Sign up' />
|
||||||
</a>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className='unauthorized-modal__footer'>
|
<div className='unauthorized-modal__footer'>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id='unauthorized_modal.footer' defaultMessage='Already have an account? {login}.' values={{
|
id='unauthorized_modal.footer' defaultMessage='Already have an account? {login}.' values={{
|
||||||
login: <a href='/auth/sign_in'><FormattedMessage id='account.login' defaultMessage='Log in' /></a>,
|
login: <Link to='/auth/sign_in'><FormattedMessage id='account.login' defaultMessage='Log in' /></Link>,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 350px;
|
height: 350px;
|
||||||
position: relative;
|
position: relative;
|
||||||
background: var(--brand-color--med);
|
background: var(--accent-color--med);
|
||||||
@media screen and (max-width: 895px) {height: 225px;}
|
@media screen and (max-width: 895px) {height: 225px;}
|
||||||
&--none {height: 125px;}
|
&--none {height: 125px;}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue