diff --git a/web/pages/about.tsx b/web/pages/about.tsx index 0c969893..068dc5c1 100644 --- a/web/pages/about.tsx +++ b/web/pages/about.tsx @@ -3,6 +3,7 @@ import {ReactNode} from "react"; import Link from "next/link"; import {discordLink, formLink, githubRepo} from "common/constants"; import {SEO} from "web/components/SEO"; +import {useT} from "web/lib/locale"; export const AboutBlock = (props: { @@ -17,21 +18,22 @@ export const AboutBlock = (props: { } export default function About() { + const t = useT() return (
-

Why Choose Compass?

+

{t('about.title','Why Choose Compass?')}

-

To find your people with ease.

+

{t('about.subtitle','To find your people with ease.')}

@@ -40,86 +42,88 @@ export default function About() {
Governed and voted by the community, while ensuring no drift through our constitution.} + title={t('about.block.democratic.title','Democratic')} + text={ + {t('about.block.democratic.prefix','Governed and ')} + {t('about.block.democratic.link_voted','voted')} + {t('about.block.democratic.middle',' by the community, while ensuring no drift through our ')} + {t('about.block.democratic.link_constitution','constitution')} + {t('about.block.democratic.suffix','.')} + } />
-

Help Compass

+

{t('about.help.title','Help Compass')}

-
Give - Suggestions or Contribute
-

Give suggestions or let us know you want to help through this - form!

+
{t('about.suggestions.title','Give Suggestions or Contribute')}
+

{t('about.suggestions.text','Give suggestions or let us know you want to help through this form!')}

- Suggest Here + {t('about.suggestions.button','Suggest Here')}
-
Develop the App
-

The full source code and instructions are available on GitHub.

+
{t('about.dev.title','Develop the App')}
+

{t('about.dev.text','The full source code and instructions are available on GitHub.')}

- View Code + {t('about.dev.button','View Code')}
-
Join the Community
-

Let's shape the platform together.

+
{t('about.join.title','Join the Community')}
+

{t('about.join.text',"Let's shape the platform together.")}

- -

Support our not-for-profit infrastructure.

+ +

{t('about.donate.text','Support our not-for-profit infrastructure.')}

- Donation Options + {t('about.donate.button','Donation Options')} {/*
-
Tell Your Friends and Family
-

Thank you for supporting our mission!

+
{t('about.final.title','Tell Your Friends and Family')}
+

{t('about.final.text','Thank you for supporting our mission!')}