Foter last
This commit is contained in:
parent
b8aa1ec133
commit
c2ef6ac354
1 changed files with 3 additions and 6 deletions
|
@ -3,10 +3,8 @@ import { Link } from 'react-router-dom';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
domain,
|
domain,
|
||||||
version,
|
|
||||||
source_url,
|
source_url,
|
||||||
statusPageUrl,
|
statusPageUrl,
|
||||||
profile_directory as canProfileDirectory,
|
|
||||||
termsOfServiceEnabled,
|
termsOfServiceEnabled,
|
||||||
} from 'mastodon/initial_state';
|
} from 'mastodon/initial_state';
|
||||||
|
|
||||||
|
@ -24,7 +22,7 @@ export const LinkFooter: React.FC<{ multiColumn: boolean }> = ({ multiColumn })
|
||||||
{statusPageUrl && (
|
{statusPageUrl && (
|
||||||
<>
|
<>
|
||||||
<DividingCircle />
|
<DividingCircle />
|
||||||
<a href={statusPageUrl} target='_blank' rel='noopener'>
|
<a href={statusPageUrl} target='_blank' rel='noopener noreferrer'>
|
||||||
<FormattedMessage id='footer.status' defaultMessage='Status' />
|
<FormattedMessage id='footer.status' defaultMessage='Status' />
|
||||||
</a>
|
</a>
|
||||||
</>
|
</>
|
||||||
|
@ -50,14 +48,13 @@ export const LinkFooter: React.FC<{ multiColumn: boolean }> = ({ multiColumn })
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
<DividingCircle />
|
<DividingCircle />
|
||||||
<a href={source_url} rel='noopener' target='_blank'>
|
<a href={source_url} rel='noopener noreferrer' target='_blank'>
|
||||||
<FormattedMessage id='footer.source_code' defaultMessage='View source code' />
|
<FormattedMessage id='footer.source_code' defaultMessage='View source code' />
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<DividingCircle />
|
<span>Made with <span aria-label='heart' role='img'>❤️</span></span>
|
||||||
<span className='version'>v{version}</span>
|
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue