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