diff --git a/src/assets/images/Ellipse 94.png b/public/assets/images/Ellipse 94.png similarity index 100% rename from src/assets/images/Ellipse 94.png rename to public/assets/images/Ellipse 94.png diff --git a/src/assets/images/Icon.png b/public/assets/images/Icon.png similarity index 100% rename from src/assets/images/Icon.png rename to public/assets/images/Icon.png diff --git a/src/assets/images/Icon2.png b/public/assets/images/Icon2.png similarity index 100% rename from src/assets/images/Icon2.png rename to public/assets/images/Icon2.png diff --git a/src/assets/images/Icon3.png b/public/assets/images/Icon3.png similarity index 100% rename from src/assets/images/Icon3.png rename to public/assets/images/Icon3.png diff --git a/src/assets/images/Image.png b/public/assets/images/Image.png similarity index 100% rename from src/assets/images/Image.png rename to public/assets/images/Image.png diff --git a/src/assets/images/Image1.png b/public/assets/images/Image1.png similarity index 100% rename from src/assets/images/Image1.png rename to public/assets/images/Image1.png diff --git a/src/assets/images/Image3.png b/public/assets/images/Image3.png similarity index 100% rename from src/assets/images/Image3.png rename to public/assets/images/Image3.png diff --git a/src/assets/images/Images 1.png b/public/assets/images/Images 1.png similarity index 100% rename from src/assets/images/Images 1.png rename to public/assets/images/Images 1.png diff --git a/src/assets/images/Images.png b/public/assets/images/Images.png similarity index 100% rename from src/assets/images/Images.png rename to public/assets/images/Images.png diff --git a/src/assets/images/Rayon.jpg b/public/assets/images/Rayon.jpg similarity index 100% rename from src/assets/images/Rayon.jpg rename to public/assets/images/Rayon.jpg diff --git a/src/assets/images/Rectangle 10.png b/public/assets/images/Rectangle 10.png similarity index 100% rename from src/assets/images/Rectangle 10.png rename to public/assets/images/Rectangle 10.png diff --git a/src/assets/images/Rectangle 12.png b/public/assets/images/Rectangle 12.png similarity index 100% rename from src/assets/images/Rectangle 12.png rename to public/assets/images/Rectangle 12.png diff --git a/src/assets/images/Rectangle 13.png b/public/assets/images/Rectangle 13.png similarity index 100% rename from src/assets/images/Rectangle 13.png rename to public/assets/images/Rectangle 13.png diff --git a/src/assets/images/Rectangle 14.png b/public/assets/images/Rectangle 14.png similarity index 100% rename from src/assets/images/Rectangle 14.png rename to public/assets/images/Rectangle 14.png diff --git a/src/assets/images/Rectangle 15.png b/public/assets/images/Rectangle 15.png similarity index 100% rename from src/assets/images/Rectangle 15.png rename to public/assets/images/Rectangle 15.png diff --git a/src/assets/images/Rectangle 2.png b/public/assets/images/Rectangle 2.png similarity index 100% rename from src/assets/images/Rectangle 2.png rename to public/assets/images/Rectangle 2.png diff --git a/src/assets/images/Rectangle 3.png b/public/assets/images/Rectangle 3.png similarity index 100% rename from src/assets/images/Rectangle 3.png rename to public/assets/images/Rectangle 3.png diff --git a/src/assets/images/Rectangle 4.png b/public/assets/images/Rectangle 4.png similarity index 100% rename from src/assets/images/Rectangle 4.png rename to public/assets/images/Rectangle 4.png diff --git a/src/assets/images/Rectangle 5.png b/public/assets/images/Rectangle 5.png similarity index 100% rename from src/assets/images/Rectangle 5.png rename to public/assets/images/Rectangle 5.png diff --git a/src/assets/images/Rectangle 6.png b/public/assets/images/Rectangle 6.png similarity index 100% rename from src/assets/images/Rectangle 6.png rename to public/assets/images/Rectangle 6.png diff --git a/src/assets/images/Rectangle 9.png b/public/assets/images/Rectangle 9.png similarity index 100% rename from src/assets/images/Rectangle 9.png rename to public/assets/images/Rectangle 9.png diff --git a/src/assets/images/Rectangle16.png b/public/assets/images/Rectangle16.png similarity index 100% rename from src/assets/images/Rectangle16.png rename to public/assets/images/Rectangle16.png diff --git a/src/assets/images/Rectangle17.jpg b/public/assets/images/Rectangle17.jpg similarity index 100% rename from src/assets/images/Rectangle17.jpg rename to public/assets/images/Rectangle17.jpg diff --git a/src/assets/images/Rectangle18.jpg b/public/assets/images/Rectangle18.jpg similarity index 100% rename from src/assets/images/Rectangle18.jpg rename to public/assets/images/Rectangle18.jpg diff --git a/src/assets/images/Rectangle19.jpg b/public/assets/images/Rectangle19.jpg similarity index 100% rename from src/assets/images/Rectangle19.jpg rename to public/assets/images/Rectangle19.jpg diff --git a/src/assets/images/Rectangle20.jpg b/public/assets/images/Rectangle20.jpg similarity index 100% rename from src/assets/images/Rectangle20.jpg rename to public/assets/images/Rectangle20.jpg diff --git a/src/assets/images/Rectangle21.jpg b/public/assets/images/Rectangle21.jpg similarity index 100% rename from src/assets/images/Rectangle21.jpg rename to public/assets/images/Rectangle21.jpg diff --git a/src/assets/images/Rectangle22.jpg b/public/assets/images/Rectangle22.jpg similarity index 100% rename from src/assets/images/Rectangle22.jpg rename to public/assets/images/Rectangle22.jpg diff --git a/src/assets/images/Rectangle23.jpg b/public/assets/images/Rectangle23.jpg similarity index 100% rename from src/assets/images/Rectangle23.jpg rename to public/assets/images/Rectangle23.jpg diff --git a/src/assets/images/baby.jpg b/public/assets/images/baby.jpg similarity index 100% rename from src/assets/images/baby.jpg rename to public/assets/images/baby.jpg diff --git a/src/assets/images/bg-testimonial.png b/public/assets/images/bg-testimonial.png similarity index 100% rename from src/assets/images/bg-testimonial.png rename to public/assets/images/bg-testimonial.png diff --git a/src/assets/images/hero-image.png b/public/assets/images/hero-image.png similarity index 100% rename from src/assets/images/hero-image.png rename to public/assets/images/hero-image.png diff --git a/src/assets/images/logo.png b/public/assets/images/logo.png similarity index 100% rename from src/assets/images/logo.png rename to public/assets/images/logo.png diff --git a/src/assets/images/man.jpg b/public/assets/images/man.jpg similarity index 100% rename from src/assets/images/man.jpg rename to public/assets/images/man.jpg diff --git a/src/assets/images/map.jpg b/public/assets/images/map.jpg similarity index 100% rename from src/assets/images/map.jpg rename to public/assets/images/map.jpg diff --git a/src/assets/images/map1.jpg b/public/assets/images/map1.jpg similarity index 100% rename from src/assets/images/map1.jpg rename to public/assets/images/map1.jpg diff --git a/src/assets/images/muslim.jpg b/public/assets/images/muslim.jpg similarity index 100% rename from src/assets/images/muslim.jpg rename to public/assets/images/muslim.jpg diff --git a/src/assets/images/woman.jpg b/public/assets/images/woman.jpg similarity index 100% rename from src/assets/images/woman.jpg rename to public/assets/images/woman.jpg diff --git a/public/assets/images/work.jpg b/public/assets/images/work.jpg new file mode 100644 index 0000000..112fe57 Binary files /dev/null and b/public/assets/images/work.jpg differ diff --git a/src/components/layout/Footer.jsx b/src/components/layout/Footer.jsx index 3558191..53f8b89 100644 --- a/src/components/layout/Footer.jsx +++ b/src/components/layout/Footer.jsx @@ -1,12 +1,12 @@ import React from "react"; import { Link } from "react-router-dom"; -import Logo from "../../assets/images/logo.png"; -import image3 from "../../assets/images/Rectangle 13.png"; -import image4 from "../../assets/images/Rectangle 14.png"; -import image5 from "../../assets/images/Rectangle 15.png"; -import image1 from "../../assets/images/Rectangle 2.png"; -import image2 from "../../assets/images/Rectangle 5.png"; -import image6 from "../../assets/images/Rectangle16.png"; +import Logo from "/assets/images/logo.png"; +import image3 from "/assets/images/Rectangle 13.png"; +import image4 from "/assets/images/Rectangle 14.png"; +import image5 from "/assets/images/Rectangle 15.png"; +import image1 from "/assets/images/Rectangle 2.png"; +import image2 from "/assets/images/Rectangle 5.png"; +import image6 from "/assets/images/Rectangle16.png"; function Footer() { return ( diff --git a/src/components/layout/Header.jsx b/src/components/layout/Header.jsx index 08098a5..ebe36fe 100644 --- a/src/components/layout/Header.jsx +++ b/src/components/layout/Header.jsx @@ -2,7 +2,7 @@ import React from "react"; import { Link, useLocation } from "react-router-dom"; -import Logo from "../../assets/images/logo.png"; +import Logo from "/assets/images/logo.png"; import Button from "../Button"; function Header(props) { diff --git a/src/pages/about/About.jsx b/src/pages/about/About.jsx index 0e7f000..7603d7c 100644 --- a/src/pages/about/About.jsx +++ b/src/pages/about/About.jsx @@ -1,8 +1,8 @@ import React from "react"; -import image14 from "../../assets/images/Ellipse 94.png"; -import image10 from "../../assets/images/man.jpg"; -import image13 from "../../assets/images/muslim.jpg"; -import image12 from "../../assets/images/Rayon.jpg"; +import image14 from "/assets/images/Ellipse 94.png"; +import image10 from "/assets/images/man.jpg"; +import image13 from "/assets/images/muslim.jpg"; +import image12 from "/assets/images/Rayon.jpg"; import Footer from "../../components/layout/Footer"; import Header from "../../components/layout/Header"; import Hero1 from "../../components/layout/Hero1"; diff --git a/src/pages/about/components/AboutSection.jsx b/src/pages/about/components/AboutSection.jsx index 61d36d3..11ce73f 100644 --- a/src/pages/about/components/AboutSection.jsx +++ b/src/pages/about/components/AboutSection.jsx @@ -1,5 +1,5 @@ import React from "react"; -import image11 from "../../../assets/images/baby.jpg"; +import image11 from "/assets/images/baby.jpg"; function AboutSection() { return ( diff --git a/src/pages/causes/CauseDetails.jsx b/src/pages/causes/CauseDetails.jsx index 2345b99..2fc4bfa 100644 --- a/src/pages/causes/CauseDetails.jsx +++ b/src/pages/causes/CauseDetails.jsx @@ -1,7 +1,7 @@ import React from "react"; import { useParams } from "react-router-dom"; import Button from "../../../src/components/Button"; -import image from "../../assets/images/Rectangle 2.png"; +import image from "/assets/images/Rectangle 2.png"; import Footer from "../../components/layout/Footer"; import GeneralHero from "../../components/layout/GeneralHero"; import Header from "../../components/layout/Header"; diff --git a/src/pages/causes/Causes.jsx b/src/pages/causes/Causes.jsx index 18039d8..d0ea13c 100644 --- a/src/pages/causes/Causes.jsx +++ b/src/pages/causes/Causes.jsx @@ -1,7 +1,7 @@ import React from "react"; import Header from "../../components/layout/Header"; import GeneralHero from "../../components/layout/GeneralHero"; -import image from "../../assets/images/Rectangle 2.png"; +import image from "/assets/images/Rectangle 2.png"; import CausesSection from "./components/CausesSection"; import Pagination from "../../components/Pagination"; import StatisticsSection from "../../components/layout/StatisticsSection"; diff --git a/src/pages/causes/DonatePage.jsx b/src/pages/causes/DonatePage.jsx index adc2e12..13de098 100644 --- a/src/pages/causes/DonatePage.jsx +++ b/src/pages/causes/DonatePage.jsx @@ -1,5 +1,5 @@ import React from "react"; -import image from "../../assets/images/Rectangle 2.png"; +import image from "/assets/images/Rectangle 2.png"; import Footer from "../../components/layout/Footer"; import GeneralHero from "../../components/layout/GeneralHero"; import Header from "../../components/layout/Header"; diff --git a/src/pages/causes/data/data.js b/src/pages/causes/data/data.js index a1b07a6..267bc38 100644 --- a/src/pages/causes/data/data.js +++ b/src/pages/causes/data/data.js @@ -1,4 +1,4 @@ -import image from "../../../assets/images/Rectangle 5.png"; +import image from "/assets/images/Rectangle 5.png"; export const donations = [ { diff --git a/src/pages/contact/Contact.jsx b/src/pages/contact/Contact.jsx index 21000ae..ed5a7e1 100644 --- a/src/pages/contact/Contact.jsx +++ b/src/pages/contact/Contact.jsx @@ -1,5 +1,5 @@ import React from "react"; -import image23 from "../../assets/images/map1.jpg"; +import image23 from "/assets/images/map1.jpg"; import Footer from "../../components/layout/Footer"; import Header from "../../components/layout/Header"; import Hero1 from "../../components/layout/Hero1"; diff --git a/src/pages/donners/components/DonnersSection.jsx b/src/pages/donners/components/DonnersSection.jsx index 6cc8f66..31f42db 100644 --- a/src/pages/donners/components/DonnersSection.jsx +++ b/src/pages/donners/components/DonnersSection.jsx @@ -1,14 +1,14 @@ import React from "react"; -import image10 from "../../../assets/images/man.jpg"; -import image13 from "../../../assets/images/muslim.jpg"; -import image12 from "../../../assets/images/Rayon.jpg"; -import image17 from "../../../assets/images/Rectangle17.jpg"; -import image18 from "../../../assets/images/Rectangle18.jpg"; -import image19 from "../../../assets/images/Rectangle19.jpg"; -import image20 from "../../../assets/images/Rectangle20.jpg"; -import image21 from "../../../assets/images/Rectangle21.jpg"; -import image22 from "../../../assets/images/Rectangle22.jpg"; -import image23 from "../../../assets/images/Rectangle23.jpg"; +import image10 from "/assets/images/man.jpg"; +import image13 from "/assets/images/muslim.jpg"; +import image12 from "/assets/images/Rayon.jpg"; +import image17 from "/assets/images/Rectangle17.jpg"; +import image18 from "/assets/images/Rectangle18.jpg"; +import image19 from "/assets/images/Rectangle19.jpg"; +import image20 from "/assets/images/Rectangle20.jpg"; +import image21 from "/assets/images/Rectangle21.jpg"; +import image22 from "/assets/images/Rectangle22.jpg"; +import image23 from "/assets/images/Rectangle23.jpg"; const DonnersSection = () => { return ( diff --git a/src/pages/faqs/Faqs.jsx b/src/pages/faqs/Faqs.jsx index 466ede2..fe18c3f 100644 --- a/src/pages/faqs/Faqs.jsx +++ b/src/pages/faqs/Faqs.jsx @@ -1,17 +1,23 @@ -import React from "react"; -import Footer from "../../components/layout/Footer"; -import Header from "../../components/layout/Header"; -import Hero1 from "../../components/layout/Hero1"; +import React from 'react' +import Header from '../../components/layout/Header' +import Hero1 from '../../components/layout/Hero1' +import Footer from '../../components/layout/Footer' + const Faqs = () => { return (