Skip to content

Commit

Permalink
Rearrange header items, pull About and Verification into Resources.
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Piper <[email protected]>
  • Loading branch information
andypiper committed Jan 16, 2025
1 parent 3f8b2dd commit 8040742
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ const Header = ({ transparent = true }: HeaderProps) => {
label: <FormattedMessage id="nav.resources.title" defaultMessage="Resources" />,
childItems: [
{
value: "/about",
label: <FormattedMessage id="nav.about_us.title" defaultMessage="About us" />,
description: <FormattedMessage id="nav.about_us.description" defaultMessage="Read about our story, the team, and recent media coverage" />
}, {
value: "https://blog.joinmastodon.org/",
label: <FormattedMessage id="nav.blog.title" defaultMessage="Blog" />,
description: <FormattedMessage id="nav.blog.description" defaultMessage="Get the latest news about the platform" />,
Expand All @@ -53,6 +57,10 @@ const Header = ({ transparent = true }: HeaderProps) => {
value: "https://github.com/mastodon/mastodon/discussions",
label: <FormattedMessage id="nav.support.title" defaultMessage="Support" />,
description: <FormattedMessage id="nav.support.description" defaultMessage="Get help or suggest a feature on GitHub" />,
}, {
value: "/verification",
label: <FormattedMessage id="nav.verification.title" defaultMessage="Verification" />,
description: <FormattedMessage id="nav.verification.description" defaultMessage="Learn about verified profile links on Mastodon" />
}, {
value: "/branding",
label: <FormattedMessage id="nav.branding.title" defaultMessage="Branding" />,
Expand All @@ -65,9 +73,6 @@ const Header = ({ transparent = true }: HeaderProps) => {
title: <FormattedMessage id="nav.code.title" defaultMessage="Source code" />,
description: <FormattedMessage id="nav.code.description" defaultMessage="Mastodon is free and open-source software" />,
},
}, {
value: "/verification",
label: <FormattedMessage id="nav.verification.title" defaultMessage="Verification" />,
}, {
key: "locale",
label: <span aria-label={intl.formatMessage({
Expand Down

0 comments on commit 8040742

Please sign in to comment.