// Dependencies import { serverSideTranslations } from 'next-i18next/serverSideTranslations' //import { useTranslation } from 'next-i18next' import Head from 'next/head' // Components import { PageWrapper } from 'shared/components/wrappers/page.mjs' import { Popout } from 'shared/components/popout.mjs' import { PageLink } from 'shared/components/page-link.mjs' /* * Each page MUST be wrapped in the PageWrapper component. * You also MUST spread props.page into this wrapper component * when path and locale come from static props (as here) * or set them manually. */ const HomePage = ({ page }) => ( Welcome to FreeSewing.org
Create homepage. Meanwhile check
) export default HomePage export async function getStaticProps({ locale }) { return { props: { ...(await serverSideTranslations(locale)), page: { locale, path: [], }, }, } } /* // Hooks import { useApp } from 'site/hooks/useApp.mjs' import { useTranslation } from 'next-i18next' // Dependencies import { serverSideTranslations } from 'next-i18next/serverSideTranslations' // Components import Head from 'next/head' import { PageWrapper } from 'site/components/wrappers/page.mjs' import { BareLayout } from 'site/components/layouts/bare.mjs' import { Icons } from 'shared/components/navigation/primary.mjs' const title = 'Welcome to the FreeSewing Lab' const HomePage = () => { const app = useApp() const { t } = useTranslation(['lab']) return ( {title}

lab. FreeSewing .dev

{t('slogan')}:

  • {t('slogan1')}
  • {t('slogan2')}
  • {t('slogan3')}
  • {t('slogan4')}

To learn more about FreeSewing and try our platform go to{' '} freesewing.org

Support FreeSewing

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
) } export default HomePage export async function getStaticProps({ locale }) { return { props: { ...(await serverSideTranslations(locale)), }, } } */