From 969b0003df0f38fb3251087dc1ba1d46ffa22694 Mon Sep 17 00:00:00 2001 From: meganrm Date: Mon, 23 Nov 2020 11:47:13 -0800 Subject: [PATCH 1/3] updating banner --- src/components/Banner/index.jsx | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/components/Banner/index.jsx b/src/components/Banner/index.jsx index 49b3f01..a1d32fb 100644 --- a/src/components/Banner/index.jsx +++ b/src/components/Banner/index.jsx @@ -1,17 +1,20 @@ import React from 'react'; + import './style.scss'; export default function Banner(){ return ( -
-

- Organizing a mutual aid effort in your community? Join fellow organizers around the country for our weekly Best Practice sharing calls. - Sign up here. -

- - -
+
+

+ Mutual aid is keeping communities afloat. Find a network near you and + give what you can this holiday season:{" "} + + {" "} + Support Mutual Aid + +

+
); }; From 4e4fe4e32ade84ff9bd33624cacc1ae8188d54ad Mon Sep 17 00:00:00 2001 From: meganrm Date: Mon, 23 Nov 2020 12:07:53 -0800 Subject: [PATCH 2/3] adding more translations --- src/components/FoodResourcesTable/index.jsx | 12 ++++++------ src/components/FoodResourcesTable/language.js | 18 +++++++++++++++++- 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/src/components/FoodResourcesTable/index.jsx b/src/components/FoodResourcesTable/index.jsx index 3d61d19..d0e6631 100644 --- a/src/components/FoodResourcesTable/index.jsx +++ b/src/components/FoodResourcesTable/index.jsx @@ -48,10 +48,10 @@ const FoodResourcesTable = ({ resources, siteLanguage }) => { size="small" style={{ width: 90, marginRight: 8 }} > - Search + {translations.search[siteLanguage]} ), @@ -67,7 +67,7 @@ const FoodResourcesTable = ({ resources, siteLanguage }) => { const tableColumns = [ { - title: "Title", + title: translations.title[siteLanguage], width: "10vw", fixed: "left", dataIndex: "title", @@ -87,7 +87,7 @@ const FoodResourcesTable = ({ resources, siteLanguage }) => { render: (text) => text, }, { - title: "Address", + title: translations.address[siteLanguage], width: "15vw", dataIndex: "address", key: "address", @@ -95,7 +95,7 @@ const FoodResourcesTable = ({ resources, siteLanguage }) => { render: (text) => text, }, { - title: "Hours", + title: translations.hours[siteLanguage], width: "10vw", dataIndex: "hours", key: "hours", @@ -124,7 +124,7 @@ const FoodResourcesTable = ({ resources, siteLanguage }) => { ), }, { - title: "Contact", + title: translations.contact[siteLanguage], width: "7vw", dataIndex: "contact", key: "contact", diff --git a/src/components/FoodResourcesTable/language.js b/src/components/FoodResourcesTable/language.js index 613ef3f..52c4e14 100644 --- a/src/components/FoodResourcesTable/language.js +++ b/src/components/FoodResourcesTable/language.js @@ -3,6 +3,22 @@ export const translations = { english: 'Search', spansih: 'Buscar' }, + title: { + english: 'Title', + spanish: 'Encabezamiento', + }, + address: { + english: 'Address', + spanish: 'Dirección', + }, + hours: { + english: 'Hours', + spanish: 'Horas', + }, + contact: { + english: 'Contact', + spanish: 'Contacto', + }, reset: { english: 'Reset', spanish: 'Reiniciar' @@ -19,4 +35,4 @@ export const translations = { english: 'Resources', spanish: 'Recursos' } -} \ No newline at end of file +} From 09631113866d6c72b0909bfb699375e06755e5f6 Mon Sep 17 00:00:00 2001 From: meganrm Date: Thu, 4 Feb 2021 22:05:02 -0800 Subject: [PATCH 3/3] updating tex --- src/components/Banner/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Banner/index.jsx b/src/components/Banner/index.jsx index a1d32fb..cd8895e 100644 --- a/src/components/Banner/index.jsx +++ b/src/components/Banner/index.jsx @@ -8,7 +8,7 @@ export default function Banner(){

Mutual aid is keeping communities afloat. Find a network near you and - give what you can this holiday season:{" "} + give what you can:{" "} {" "} Support Mutual Aid