refactor: Use new main menu as "Getting started" column in Advanced Web UI (#35117)

This commit is contained in:
diondiondion 2025-06-23 11:59:47 +02:00 committed by GitHub
commit d28a4428b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 230 additions and 378 deletions

View file

@ -0,0 +1,32 @@
import { useIntl } from 'react-intl';
import { Helmet } from 'react-helmet';
import { Column } from 'mastodon/components/column';
import { NavigationPanel } from '../navigation_panel';
import { LinkFooter } from '../ui/components/link_footer';
const GettingStarted: React.FC = () => {
const intl = useIntl();
return (
<Column>
<NavigationPanel multiColumn />
<LinkFooter multiColumn />
<Helmet>
<title>
{intl.formatMessage({
id: 'getting_started.heading',
defaultMessage: 'Getting started',
})}
</title>
<meta name='robots' content='noindex' />
</Helmet>
</Column>
);
};
// eslint-disable-next-line import/no-default-export
export default GettingStarted;