diff --git a/shared/locales/de/website-csr.json b/shared/locales/de/website-csr.json new file mode 100644 index 000000000..be399445f --- /dev/null +++ b/shared/locales/de/website-csr.json @@ -0,0 +1,6 @@ +{ + "title": "Soziale Unternehmensverantwortung", + "subtitle": "Hier kannst du bald nach Organisationen suchen, die direkt oder über ihre Mitarbeitenden Social Income unterstützen.", + "issue-assigned": "arbeitet zur Zeit an daran", + "issue-unassigned": "übernimm den Lead für dieses Issue" +} diff --git a/shared/locales/en/website-csr.json b/shared/locales/en/website-csr.json new file mode 100644 index 000000000..4824037ce --- /dev/null +++ b/shared/locales/en/website-csr.json @@ -0,0 +1,6 @@ +{ + "title": "Social Corporate Responsibility", + "subtitle": "This page will let you soon search for organizations that contribute directly or indirectly through their employees to Social Income.", + "issue-assigned": "is currently working on this page", + "issue-unassigned": "assign this issue to yourself" +} diff --git a/website/src/app/[lang]/[region]/(website)/csr/page.tsx b/website/src/app/[lang]/[region]/(website)/csr/page.tsx new file mode 100644 index 000000000..0b8ace91e --- /dev/null +++ b/website/src/app/[lang]/[region]/(website)/csr/page.tsx @@ -0,0 +1,47 @@ +import { Translator } from '@socialincome/shared/src/utils/i18n'; +import { BaseContainer, Typography } from '@socialincome/ui'; +import { DefaultPageProps } from "@/app/[lang]/[region]"; +export default async function Page({ params }: DefaultPageProps) { + const translator = await Translator.getInstance({ + language: params.lang, + namespaces: ['website-csr'], + }); + + return ( +
+ + + {/* Linked manually but could be done with GitHub's API in the future */} +
+ + Avatar + anthonyray {translator.t('issue-assigned')} + +
+
+ {translator.t('title')} + + {translator.t('subtitle')} + +
+ + {/* Button 1 */} + + + GitHub Issue + + + {/* Button 2 */} + + + Figma Design + + +
+
+
+
+ ); +} \ No newline at end of file