mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02:00
45 lines
1.3 KiB
TypeScript
45 lines
1.3 KiB
TypeScript
import type { FC } from 'react';
|
|
|
|
import { FormattedMessage } from 'react-intl';
|
|
|
|
import { IconLogo } from '@/mastodon/components/logo';
|
|
import { me } from '@/mastodon/initial_state';
|
|
|
|
import { AnnualReport } from './index';
|
|
import classes from './shared_page.module.scss';
|
|
|
|
export const WrapstodonSharedPage: FC = () => {
|
|
return (
|
|
<main className={classes.wrapper}>
|
|
<AnnualReport />
|
|
<footer className={classes.footer}>
|
|
<IconLogo className={classes.logo} />
|
|
<FormattedMessage
|
|
id='annual_report.shared_page.footer'
|
|
defaultMessage='Generated with {heart} by the Mastodon team'
|
|
values={{ heart: '🐘' }}
|
|
/>
|
|
<nav className={classes.nav}>
|
|
<a href='https://joinmastodon.org'>
|
|
<FormattedMessage id='footer.about' defaultMessage='About' />
|
|
</a>
|
|
{!me && (
|
|
<a href='https://joinmastodon.org/servers'>
|
|
<FormattedMessage
|
|
id='annual_report.shared_page.sign_up'
|
|
defaultMessage='Sign up'
|
|
/>
|
|
</a>
|
|
)}
|
|
<a href='https://joinmastodon.org/sponsors'>
|
|
<FormattedMessage
|
|
id='annual_report.shared_page.donate'
|
|
defaultMessage='Donate'
|
|
/>
|
|
</a>
|
|
</nav>
|
|
</footer>
|
|
</main>
|
|
);
|
|
};
|