Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign landing paths #310

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"footer.follow_us_on_mastodon": "Follow us on Mastodon",
"footer.quip": "Free, open-source decentralized social media platform.",
"home.additional_support_from": "Additional support from",
"home.create_account": "Create account",
"home.browse_servers": "Browse Servers",
"home.create_an_account_hint": "Looking to create an account?",
"home.features.audience.body": "Mastodon provides you with a unique possibility of managing your audience without middlemen. Mastodon deployed on your own infrastructure allows you to follow and be followed from any other Mastodon server online and is under no one's control but yours.",
"home.features.audience.title": "Build your audience in confidence",
"home.features.button.find_a_server": "Find a server",
Expand All @@ -39,6 +40,7 @@
"home.features.timeline.body": "You know best what you want to see on your home feed. No algorithms or ads to waste your time. Follow anyone across any Mastodon server from a single account and receive their posts in chronological order, and make your corner of the internet a little more like you.",
"home.features.timeline.title": "Stay in control of your own timeline",
"home.get_the_app": "Get the app",
"home.have_an_account_hint": "Already have an account?",
"home.hero.body": "Your home feed should be filled with what matters to you most, not what a corporation thinks you should see. Radically different social media, back in the hands of the people.",
"home.hero.headline": "Social networking that's not for sale.",
"home.page_description": "Learn more about Mastodon, the radically different, free and open-source decentralized social media platform.",
Expand Down
43 changes: 29 additions & 14 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,36 @@ function Home() {
/>
</p>

<div className="flex justify-center gap-12">
<LinkButton size="large" href="/apps">
<FormattedMessage
id="home.get_the_app"
defaultMessage="Get the app"
/>
</LinkButton>
<p className="sh1 mb-11 max-w-[50ch]">
<FormattedMessage
id="home.create_an_account_hint"
defaultMessage="Looking to create an account?"
/>
<div className="flex justify-center gap-12">
<LinkButton size="large" href="/servers" light borderless>
<FormattedMessage
id="home.browse_servers"
defaultMessage="Browse Servers"
/>
</LinkButton>
</div>
</p>

<LinkButton size="large" href="/servers" light borderless>
<FormattedMessage
id="home.create_account"
defaultMessage="Create account"
/>
</LinkButton>
</div>
<p className="sh1 mb-11 max-w-[50ch]">
<FormattedMessage
id="home.have_an_account_hint"
defaultMessage="Already have an account?"
/>

<div className="flex justify-center gap-12">
<LinkButton size="large" href="/apps">
<FormattedMessage
id="home.get_the_app"
defaultMessage="Get the app"
/>
</LinkButton>
</div>
</p>
</Hero>
<Features />
<WhyMastodon />
Expand Down