diff --git a/components/Donors/CustomDonors.js b/components/Donors/CustomDonors.js new file mode 100644 index 0000000..ad2e638 --- /dev/null +++ b/components/Donors/CustomDonors.js @@ -0,0 +1,33 @@ +import React from 'react'; +import Link from 'next/link'; +import { useTranslation } from 'next-i18next'; + +const ClickHandler = () => { + window.scrollTo(10, 0); +} + +const CustomDonors = () => { + const { t } = useTranslation('(home)/homeCalltoAction'); + + return ( +
+
+
+
+
+

Para cambiar al idioma español, haz clic en la opción en la parte superior derecha del encabezado.

+
+ {/*
+
+ $10 Donation + {t('donorsButton')} +
+
*/} +
+
+
+
+ ); +} + +export default CustomDonors; diff --git a/components/MobileMenu/MobileMenu.js b/components/MobileMenu/MobileMenu.js index adcaaea..a44755b 100644 --- a/components/MobileMenu/MobileMenu.js +++ b/components/MobileMenu/MobileMenu.js @@ -80,7 +80,7 @@ const MobileMenu = () => {
diff --git a/components/header2/Header2.js b/components/header2/Header2.js index b29db5a..8b79ece 100644 --- a/components/header2/Header2.js +++ b/components/header2/Header2.js @@ -83,7 +83,7 @@ const Header2 = (props) => {
diff --git a/pages/index.js b/pages/index.js index cdb01ca..2ded10d 100644 --- a/pages/index.js +++ b/pages/index.js @@ -14,6 +14,7 @@ import Scrollbar from '../components/scrollbar/scrollbar'; import introImg from '/public/images/home/expert-immigration-guidance.webp'; import { serverSideTranslations } from 'next-i18next/serverSideTranslations'; +import CustomDonors from '../components/Donors/CustomDonors'; const HomePage = () => { return ( @@ -21,6 +22,7 @@ const HomePage = () => { + {/* */}