diff --git a/src/components/Banner/index.jsx b/src/components/Banner/index.jsx index 49b3f01..cd8895e 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:{" "} + + {" "} + Support Mutual Aid + +

+
); }; 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 +}