You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
import React from 'react' ;
import { FormattedMessage } from 'react-intl' ;
import { registrationsOpen } from 'mastodon/initial_state' ;
const SignInBanner = ( ) => (
< div className = 'sign-in-banner' >
< p > < FormattedMessage id = 'sign_in_banner.text' defaultMessage = 'Sign in to follow profiles or hashtags, favourite, share and reply to posts, or interact from your account on a different server.' / > < / p >
< a href = '/auth/sign_in' className = 'button button--block' > < FormattedMessage id = 'sign_in_banner.sign_in' defaultMessage = 'Sign in' / > < / a >
< a href = { registrationsOpen ? '/auth/sign_up' : 'https://joinmastodon.org/servers' } className = 'button button--block button-tertiary' > < FormattedMessage id = 'sign_in_banner.create_account' defaultMessage = 'Create account' / > < / a >
< / d i v >
) ;
export default SignInBanner ;