-
-
-
Français
+
+ Français
{
We need Volunteers
Are you looking for a meaningful way to make a difference in your community?
Join us and become a volunteer!
-
+
Learn More
);
diff --git a/src/pages/404.js b/src/pages/404.en.js
similarity index 83%
rename from src/pages/404.js
rename to src/pages/404.en.js
index 9083926..39446bc 100644
--- a/src/pages/404.js
+++ b/src/pages/404.en.js
@@ -1,5 +1,7 @@
import * as React from "react"
import { Link } from "gatsby"
+import Header from "../components/header"
+import Footer from "../components/footer"
const pageStyles = {
color: "#232129",
@@ -26,13 +28,15 @@ const codeStyles = {
const NotFoundPage = () => {
return (
+
Page not found
Sorry 😔, we couldn’t find what you were looking for.
- Go home.
+ Go home.
+
)
}
diff --git a/src/pages/404.fr.js b/src/pages/404.fr.js
new file mode 100644
index 0000000..0e5f9d9
--- /dev/null
+++ b/src/pages/404.fr.js
@@ -0,0 +1,46 @@
+import * as React from "react"
+import { Link } from "gatsby"
+import Header from "../components/fr/header"
+import Footer from "../components/fr/footer"
+
+const pageStyles = {
+ color: "#232129",
+ padding: "96px",
+ fontFamily: "-apple-system, Roboto, sans-serif, serif",
+}
+const headingStyles = {
+ marginTop: 0,
+ marginBottom: 64,
+ maxWidth: 320,
+}
+
+const paragraphStyles = {
+ marginBottom: 48,
+}
+const codeStyles = {
+ color: "#8A6534",
+ padding: 4,
+ backgroundColor: "#FFF4DB",
+ fontSize: "1.25rem",
+ borderRadius: 4,
+}
+
+const NotFoundPage = () => {
+ return (
+
+
+ Page introuvable
+
+ Désolé 😔, nous n'avons pas trouvé ce que vous cherchiez.
+
+
+ aller à la page d'accueil.
+
+
+
+ )
+}
+
+export default NotFoundPage
+
+export const Head = () =>
Page introuvable
diff --git a/src/pages/about.en.js b/src/pages/about.en.js
index 86c106d..f581955 100644
--- a/src/pages/about.en.js
+++ b/src/pages/about.en.js
@@ -11,7 +11,7 @@ import rightarrow from '../files/rightarrow.png';
const About = () => {
return (
-
+
About Us
diff --git a/src/pages/about.fr.js b/src/pages/about.fr.js
index 016225b..4638fcc 100644
--- a/src/pages/about.fr.js
+++ b/src/pages/about.fr.js
@@ -11,7 +11,7 @@ import rightarrow from '../files/rightarrow.png';
const About = () => {
return (
-
+
À propos de nous
diff --git a/src/pages/about/board-members.en.js b/src/pages/about/board-members.en.js
index 88b6449..32a0136 100644
--- a/src/pages/about/board-members.en.js
+++ b/src/pages/about/board-members.en.js
@@ -10,7 +10,7 @@ import imgGeorge from '../../files/george.jpg';
const BoardMembers = () => {
return (
-
+
Board Members
diff --git a/src/pages/about/board-members.fr.js b/src/pages/about/board-members.fr.js
index 3d75a96..b0e685c 100644
--- a/src/pages/about/board-members.fr.js
+++ b/src/pages/about/board-members.fr.js
@@ -2,7 +2,7 @@ import * as React from "react";
import Header from '../../components/fr/header';
import Footer from '../../components/fr/footer';
import '../../sass/styles.scss';
-import Volunteer from "../../components/volunteer";
+import Volunteer from "../../components/fr/volunteer";
import imgAllanna from '../../files/allanna.jpg';
import imgDorothy from '../../files/dorothy.jpg';
import imgGeorge from '../../files/george.jpg';
@@ -11,7 +11,7 @@ import imgGeorge from '../../files/george.jpg';
const BoardMembers = () => {
return (
-
+
Membres du conseil d'administration
diff --git a/src/pages/about/spay-neuter.en.js b/src/pages/about/spay-neuter.en.js
index ea0f738..e34a357 100644
--- a/src/pages/about/spay-neuter.en.js
+++ b/src/pages/about/spay-neuter.en.js
@@ -8,7 +8,7 @@ import Volunteer from "../../components/volunteer";
const SpayNeuter = () => {
return (
-
+
Low cost Spay/Neuter
diff --git a/src/pages/about/spay-neuter.fr.js b/src/pages/about/spay-neuter.fr.js
index d10a3a1..e8e3324 100644
--- a/src/pages/about/spay-neuter.fr.js
+++ b/src/pages/about/spay-neuter.fr.js
@@ -1,14 +1,14 @@
import * as React from "react";
-import Header from '../../components/header';
+import Header from '../../components/fr/header';
import '../../sass/styles.scss';
-import Footer from "../../components/footer";
-import Volunteer from "../../components/volunteer";
+import Footer from "../../components/fr/footer";
+import Volunteer from "../../components/fr/volunteer";
const SpayNeuter = () => {
return (
-
+
Stérilisation à faible coût
diff --git a/src/pages/about/volunteer.en.js b/src/pages/about/volunteer.en.js
index bd74b67..580aa11 100644
--- a/src/pages/about/volunteer.en.js
+++ b/src/pages/about/volunteer.en.js
@@ -8,7 +8,7 @@ import Foster from "../../components/foster";
const Volunteer = () => {
return (
-
+
Volunteering
diff --git a/src/pages/about/volunteer.fr.js b/src/pages/about/volunteer.fr.js
index 254487c..986efe2 100644
--- a/src/pages/about/volunteer.fr.js
+++ b/src/pages/about/volunteer.fr.js
@@ -1,14 +1,14 @@
import * as React from "react";
-import Header from '../../components/header';
-import Footer from '../../components/footer';
+import Header from '../../components/fr/header';
+import Footer from '../../components/fr/footer';
import '../../sass/styles.scss';
-import Foster from "../../components/foster";
+import Foster from "../../components/fr/foster";
const Volunteer = () => {
return (
-
+
Volontariat
diff --git a/src/pages/adoption/adoption-application.en.js b/src/pages/adoption/adoption-application.en.js
index 5fdd6cd..7722959 100644
--- a/src/pages/adoption/adoption-application.en.js
+++ b/src/pages/adoption/adoption-application.en.js
@@ -71,7 +71,7 @@ const AdoptionApplication = () => {
};
return (
-
+
Adoption Application
-
-
diff --git a/src/pages/adoption/adoption-application.fr.js b/src/pages/adoption/adoption-application.fr.js
index fd9ca56..1470f5d 100644
--- a/src/pages/adoption/adoption-application.fr.js
+++ b/src/pages/adoption/adoption-application.fr.js
@@ -2,7 +2,7 @@ import React, { useState } from 'react';
import Header from '../../components/fr/header';
import '../../sass/styles.scss';
import Footer from '../../components/fr/footer';
-import Volunteer from '../../components/volunteer';
+import Volunteer from '../../components/fr/volunteer';
import { navigate } from 'gatsby';
@@ -71,7 +71,7 @@ const AdoptionApplication = () => {
};
return (
-
+
Demande D'Adoption
-
-
diff --git a/src/pages/adoptions.en.js b/src/pages/adoptions.en.js
index d513581..04be971 100644
--- a/src/pages/adoptions.en.js
+++ b/src/pages/adoptions.en.js
@@ -12,7 +12,7 @@ const Adoptions = ({data, pageContext}) => {
return (
-
+
Adoptions
{data.allContentfulAdoptions.nodes.map((item, index) => {
diff --git a/src/pages/adoptions.fr.js b/src/pages/adoptions.fr.js
index 98921c4..69ca655 100644
--- a/src/pages/adoptions.fr.js
+++ b/src/pages/adoptions.fr.js
@@ -1,6 +1,6 @@
import * as React from "react"
import { graphql } from 'gatsby';
-import Header from '../components/header.js';
+import Header from '../components/fr/header.js';
import '../sass/styles.scss';
import Footer from "../components/fr/footer";
import { GatsbyImage, getImage } from 'gatsby-plugin-image';
@@ -13,7 +13,7 @@ const Adoptions = ({data, pageContext}) => {
return (
-
+
Adoptions
{data.allContentfulAdoptions.nodes.map((item, index) => {
diff --git a/src/pages/contact.en.js b/src/pages/contact.en.js
index 06a095d..51bcad8 100644
--- a/src/pages/contact.en.js
+++ b/src/pages/contact.en.js
@@ -20,9 +20,6 @@ const Contact = () => {
body: new URLSearchParams(formData).toString(),
})
.then(() => {
- // document.querySelector('.success').innerText =
- // "Thank you for reaching out to us, we will get back to you shortly.";
- // document.getElementById('success').scrollIntoView();
navigate("/en/thank-you/");
// Clear form fields
setName('');
@@ -33,7 +30,7 @@ const Contact = () => {
};
return (
-
+
Contact Us
@@ -66,8 +63,7 @@ const Contact = () => {
-
-
+
diff --git a/src/pages/contact.fr.js b/src/pages/contact.fr.js
index 69f8ae4..2f2cfcf 100644
--- a/src/pages/contact.fr.js
+++ b/src/pages/contact.fr.js
@@ -30,10 +30,9 @@ const Contact = () => {
};
return (
-
+
+
diff --git a/src/pages/donate.en.js b/src/pages/donate.en.js
index 9e6de69..99f1c8a 100644
--- a/src/pages/donate.en.js
+++ b/src/pages/donate.en.js
@@ -8,7 +8,7 @@ import Foster from "../components/foster";
const Donate = () => {
return (
-
+
Donations
diff --git a/src/pages/donate.fr.js b/src/pages/donate.fr.js
index 75ee57f..4b7d7de 100644
--- a/src/pages/donate.fr.js
+++ b/src/pages/donate.fr.js
@@ -1,14 +1,14 @@
import * as React from "react";
-import Header from '../components/header';
+import Header from '../components/fr/header';
import '../sass/styles.scss';
-import Footer from "../components/footer";
-import Foster from "../components/foster";
+import Footer from "../components/fr/footer";
+import Foster from "../components/fr/foster";
const Donate = () => {
return (
-
+
Dons
diff --git a/src/pages/fosters.en.js b/src/pages/fosters.en.js
index be87640..342224b 100644
--- a/src/pages/fosters.en.js
+++ b/src/pages/fosters.en.js
@@ -12,7 +12,7 @@ const Fosters = ({data, pageContext }) => {
console.log(data.allContentfulFosters.nodes);
return (
-
+
Fosters
diff --git a/src/pages/fosters.fr.js b/src/pages/fosters.fr.js
index 6d28e7c..7c95f37 100644
--- a/src/pages/fosters.fr.js
+++ b/src/pages/fosters.fr.js
@@ -1,9 +1,9 @@
import * as React from "react";
import { graphql } from "gatsby";
-import Header from '../components/header';
-import Footer from '../components/footer';
+import Header from '../components/fr/header';
+import Footer from '../components/fr/footer';
import '../sass/styles.scss';
-import Foster from "../components/foster";
+import Foster from "../components/fr/foster";
import { GatsbyImage, getImage } from 'gatsby-plugin-image';
import Pagination from "../components/pagination.js";
@@ -12,7 +12,7 @@ const Fosters = ({data, pageContext }) => {
console.log(data.allContentfulFosters.nodes);
return (
-
+
Famille D'Accueil
@@ -21,10 +21,10 @@ const Fosters = ({data, pageContext }) => {
-
+
-
{item.name}
+
{item.name}
diff --git a/src/pages/fosters/become-a-foster.en.js b/src/pages/fosters/become-a-foster.en.js
index 815290d..2e18ee4 100644
--- a/src/pages/fosters/become-a-foster.en.js
+++ b/src/pages/fosters/become-a-foster.en.js
@@ -8,7 +8,7 @@ import Adopt from "../../components/adopt";
const BecomeFosters = () => {
return (
-
+
How to Become a Foster
diff --git a/src/pages/fosters/become-a-foster.fr.js b/src/pages/fosters/become-a-foster.fr.js
index eef059f..70b5a9a 100644
--- a/src/pages/fosters/become-a-foster.fr.js
+++ b/src/pages/fosters/become-a-foster.fr.js
@@ -1,14 +1,14 @@
import * as React from "react";
-import Header from '../../components/header';
-import Footer from '../../components/footer';
+import Header from '../../components/fr/header';
+import Footer from '../../components/fr/footer';
import '../../sass/styles.scss';
-import Adopt from "../../components/adopt";
+import Adopt from "../../components/fr/adopt";
const BecomeFosters = () => {
return (
-
+
Comment devenir famille d'accueil
diff --git a/src/pages/fosters/foster-application.en.js b/src/pages/fosters/foster-application.en.js
index 8852c50..c5fef82 100644
--- a/src/pages/fosters/foster-application.en.js
+++ b/src/pages/fosters/foster-application.en.js
@@ -91,7 +91,7 @@ const FosterApplication = () => {
};
return (
-
+
Foster Application
-
-
diff --git a/src/pages/fosters/foster-application.fr.js b/src/pages/fosters/foster-application.fr.js
index b98c0f4..592158a 100644
--- a/src/pages/fosters/foster-application.fr.js
+++ b/src/pages/fosters/foster-application.fr.js
@@ -89,7 +89,7 @@ const FosterApplication = () => {
};
return (
-
+
Damille D'Accueil Application
-
-
diff --git a/src/pages/index.en.js b/src/pages/index.en.js
index e6973f7..2fd3465 100644
--- a/src/pages/index.en.js
+++ b/src/pages/index.en.js
@@ -26,7 +26,7 @@ const IndexPage = () => {
}
return (
-
+
diff --git a/src/pages/index.fr.js b/src/pages/index.fr.js
index e95dda4..2213b1d 100644
--- a/src/pages/index.fr.js
+++ b/src/pages/index.fr.js
@@ -25,7 +25,7 @@ const IndexPage = () => {
}
return (
-
+
diff --git a/src/pages/successstories.en.js b/src/pages/successstories.en.js
index a40dabc..f959063 100644
--- a/src/pages/successstories.en.js
+++ b/src/pages/successstories.en.js
@@ -31,7 +31,7 @@ const SuccessStories = ({ data }) => {
}
return (
-
+
Sucess Stories
diff --git a/src/pages/successstories.fr.js b/src/pages/successstories.fr.js
index c348f1c..551c018 100644
--- a/src/pages/successstories.fr.js
+++ b/src/pages/successstories.fr.js
@@ -1,7 +1,7 @@
import * as React from "react";
import { graphql } from "gatsby";
-import Header from '../components/header';
+import Header from '../components/fr/header';
import '../sass/styles.scss';
import { INLINES, BLOCKS, MARKS } from '@contentful/rich-text-types';
import { renderRichText } from 'gatsby-source-contentful/rich-text';
@@ -31,7 +31,7 @@ const SuccessStories = ({ data }) => {
}
return (
-
+
Réussites
diff --git a/src/pages/thank-you.en.js b/src/pages/thank-you.en.js
index 26c0aa6..4e0efee 100644
--- a/src/pages/thank-you.en.js
+++ b/src/pages/thank-you.en.js
@@ -7,7 +7,7 @@ import Volunteer from "../components/volunteer";
const Thankyou = () => {
return (
-
+
Thank You for reaching out to us
We will get back to you shortly.
diff --git a/src/pages/thank-you.fr.js b/src/pages/thank-you.fr.js
index 0285e29..4cd42b3 100644
--- a/src/pages/thank-you.fr.js
+++ b/src/pages/thank-you.fr.js
@@ -7,7 +7,7 @@ import Volunteer from "../components/fr/volunteer";
const Thankyou = () => {
return (
-
+
Merci de nous avoir contactés
Nous vous répondrons sous peu.