From d97b7f559816615e47ab07bc6b5c05fa8175692c Mon Sep 17 00:00:00 2001 From: Sandino Scheidegger Date: Wed, 15 Nov 2023 16:37:33 +0100 Subject: [PATCH] feature(website): csr placeholder page (#621) --- shared/locales/de/website-csr.json | 6 ++ shared/locales/en/website-csr.json | 6 ++ .../(website)/about-us/(sections)/contact.tsx | 2 +- .../[lang]/[region]/(website)/csr/anthony.jpg | Bin 0 -> 19726 bytes .../[lang]/[region]/(website)/csr/page.tsx | 55 ++++++++++++++++++ 5 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 shared/locales/de/website-csr.json create mode 100644 shared/locales/en/website-csr.json create mode 100644 website/src/app/[lang]/[region]/(website)/csr/anthony.jpg create mode 100644 website/src/app/[lang]/[region]/(website)/csr/page.tsx 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)/about-us/(sections)/contact.tsx b/website/src/app/[lang]/[region]/(website)/about-us/(sections)/contact.tsx index 53aff0d84..a0e707b6f 100644 --- a/website/src/app/[lang]/[region]/(website)/about-us/(sections)/contact.tsx +++ b/website/src/app/[lang]/[region]/(website)/about-us/(sections)/contact.tsx @@ -7,7 +7,7 @@ import { BaseContainer, Button, Card, CardContent, CardHeader, Typography } from import { FontColor } from '@socialincome/ui/src/interfaces/color'; import Link from 'next/link'; -function SocialMediaButton({ Icon, title, href }: { Icon: IconType; href: string; title: string }) { +export function SocialMediaButton({ Icon, title, href }: { Icon: IconType; href: string; title: string }) { return (