@ -52,6 +52,8 @@ class LinkFooter extends React.PureComponent {
const canInvite = signedIn && ( ( permissions & PERMISSION _INVITE _USERS ) === PERMISSION _INVITE _USERS ) ;
const canInvite = signedIn && ( ( permissions & PERMISSION _INVITE _USERS ) === PERMISSION _INVITE _USERS ) ;
const canProfileDirectory = profileDirectory ;
const canProfileDirectory = profileDirectory ;
const DividingCircle = < span aria - hidden > { ' · ' } < / s p a n > ;
return (
return (
< div className = 'link-footer' >
< div className = 'link-footer' >
< p >
< p >
@ -60,17 +62,17 @@ class LinkFooter extends React.PureComponent {
< Link key = 'about' to = '/about' > < FormattedMessage id = 'footer.about' defaultMessage = 'About' / > < / L i n k >
< Link key = 'about' to = '/about' > < FormattedMessage id = 'footer.about' defaultMessage = 'About' / > < / L i n k >
{ canInvite && (
{ canInvite && (
< >
< >
{ ' · ' }
{ DividingCircle }
< a key = 'invites' href = '/invites' target = '_blank' > < FormattedMessage id = 'footer.invite' defaultMessage = 'Invite people' / > < / a >
< a key = 'invites' href = '/invites' target = '_blank' > < FormattedMessage id = 'footer.invite' defaultMessage = 'Invite people' / > < / a >
< / >
< / >
) }
) }
{ canProfileDirectory && (
{ canProfileDirectory && (
< >
< >
{ ' · ' }
{ DividingCircle }
< Link key = 'directory' to = '/directory' > < FormattedMessage id = 'footer.directory' defaultMessage = 'Profiles directory' / > < / L i n k >
< Link key = 'directory' to = '/directory' > < FormattedMessage id = 'footer.directory' defaultMessage = 'Profiles directory' / > < / L i n k >
< / >
< / >
) }
) }
{ ' · ' }
{ DividingCircle }
< Link key = 'privacy-policy' to = '/privacy-policy' > < FormattedMessage id = 'footer.privacy_policy' defaultMessage = 'Privacy policy' / > < / L i n k >
< Link key = 'privacy-policy' to = '/privacy-policy' > < FormattedMessage id = 'footer.privacy_policy' defaultMessage = 'Privacy policy' / > < / L i n k >
< / p >
< / p >
@ -78,13 +80,13 @@ class LinkFooter extends React.PureComponent {
< strong > Mastodon < / s t r o n g > :
< strong > Mastodon < / s t r o n g > :
{ ' ' }
{ ' ' }
< a href = 'https://joinmastodon.org' target = '_blank' > < FormattedMessage id = 'footer.about' defaultMessage = 'About' / > < / a >
< a href = 'https://joinmastodon.org' target = '_blank' > < FormattedMessage id = 'footer.about' defaultMessage = 'About' / > < / a >
{ ' · ' }
{ DividingCircle }
< a href = 'https://joinmastodon.org/apps' target = '_blank' > < FormattedMessage id = 'footer.get_app' defaultMessage = 'Get the app' / > < / a >
< a href = 'https://joinmastodon.org/apps' target = '_blank' > < FormattedMessage id = 'footer.get_app' defaultMessage = 'Get the app' / > < / a >
{ ' · ' }
{ DividingCircle }
< Link to = '/keyboard-shortcuts' > < FormattedMessage id = 'footer.keyboard_shortcuts' defaultMessage = 'Keyboard shortcuts' / > < / L i n k >
< Link to = '/keyboard-shortcuts' > < FormattedMessage id = 'footer.keyboard_shortcuts' defaultMessage = 'Keyboard shortcuts' / > < / L i n k >
{ ' · ' }
{ DividingCircle }
< a href = { source _url } rel = 'noopener noreferrer' target = '_blank' > < FormattedMessage id = 'footer.source_code' defaultMessage = 'View source code' / > < / a >
< a href = { source _url } rel = 'noopener noreferrer' target = '_blank' > < FormattedMessage id = 'footer.source_code' defaultMessage = 'View source code' / > < / a >
{ ' · ' }
{ DividingCircle }
v { version }
v { version }
< / p >
< / p >
< / d i v >
< / d i v >