diff --git a/packages/freesewing.org/hooks/useApp.js b/packages/freesewing.org/hooks/useApp.js index 2c3f1b04caf..abf62d8c51c 100644 --- a/packages/freesewing.org/hooks/useApp.js +++ b/packages/freesewing.org/hooks/useApp.js @@ -45,6 +45,16 @@ const buildNavigation = (lang, t) => { nav.blog.__order = 'e' nav.account.__order = 'f' + // Translation top-level strapi pages + nav.showcase.__title = t('showcase') + nav.showcase.__linktitle = t('showcase') + nav.blog.__title = t('blog') + nav.blog.__linktitle = t('blog') + + // Translation top-level strapi pages + nav.community.__title = t('community') + nav.community.__linktitle = t('community') + return nav } diff --git a/packages/freesewing.org/pages/index.js b/packages/freesewing.org/pages/index.js index 0d823f60a1e..efedda89d22 100644 --- a/packages/freesewing.org/pages/index.js +++ b/packages/freesewing.org/pages/index.js @@ -1,7 +1,7 @@ import Page from 'site/components/wrappers/page.js' import useApp from 'site/hooks/useApp.js' import Head from 'next/head' -import HelpUs from 'site/components/help-us.js' +import Popout from 'shared/components/popout.js' import Link from 'next/link' import { serverSideTranslations } from 'next-i18next/serverSideTranslations' import { useTranslation } from 'next-i18next' @@ -60,8 +60,13 @@ const HomePage = (props) => { md:text-4xl lg:max-w-1/2 lg:text-4xl xl:pr-0 `} style={{ textShadow: '1px 1px 3px #000', color: 'white' }} - dangerouslySetInnerHTML={{ __html: t('ograph:orgDescription')}} - /> + > +
- FreeSewing is fuelled by a voluntary subscription model -
-- If you think what we do is worthwhile, - and if you can spare a few coins each month without hardship, - please support our work -
- Become a Patron -