From 018676221c2c61892772346bb1cc63079840f205 Mon Sep 17 00:00:00 2001 From: bayeka binet Date: Tue, 20 Aug 2024 04:55:44 -0700 Subject: [PATCH] new branch for the faq's too --- src/pages/Blog/Blog.jsx | 2 +- src/pages/Blog/BlogDetails.jsx | 6 +- src/pages/Blog/components/BlogList.jsx | 2 +- src/pages/faqs/Faqs.jsx | 4 +- src/pages/faqs/components/FaqsSection.jsx | 303 ++++++++++++++++++++++ 5 files changed, 310 insertions(+), 7 deletions(-) create mode 100644 src/pages/faqs/components/FaqsSection.jsx diff --git a/src/pages/Blog/Blog.jsx b/src/pages/Blog/Blog.jsx index 241b8fd..b05ab3f 100644 --- a/src/pages/Blog/Blog.jsx +++ b/src/pages/Blog/Blog.jsx @@ -1,5 +1,5 @@ import React from "react"; -import image1 from "../../assets/images/Rectangle 2.png"; +import image1 from "/assets/images/Rectangle 2.png"; import GeneralHero from "../../components/layout/GeneralHero"; import Header from "../../components/layout/Header"; diff --git a/src/pages/Blog/BlogDetails.jsx b/src/pages/Blog/BlogDetails.jsx index 88a8611..3cf86f2 100644 --- a/src/pages/Blog/BlogDetails.jsx +++ b/src/pages/Blog/BlogDetails.jsx @@ -1,9 +1,9 @@ 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 image2 from "../../assets/images/Image3.png"; -import image3 from "../../assets/images/Rectangle19.jpg"; +import image from "/assets/images/Rectangle 2.png"; +import image2 from "/assets/images/Image3.png"; +import image3 from "/assets/images/Rectangle19.jpg"; import Footer from "../../components/layout/Footer"; import GeneralHero from "../../components/layout/GeneralHero"; import Header from "../../components/layout/Header"; diff --git a/src/pages/Blog/components/BlogList.jsx b/src/pages/Blog/components/BlogList.jsx index a08c3e6..bd8524b 100644 --- a/src/pages/Blog/components/BlogList.jsx +++ b/src/pages/Blog/components/BlogList.jsx @@ -1,6 +1,6 @@ import React from 'react' import BlogCard from '../../home/components/BlogCard'; -import image14 from "../../../assets/images/Rectangle 14.png"; +import image14 from "/assets/images/Rectangle 14.png"; import Pagination from '../../../components/Pagination'; function BlogList() { const blogId=1 diff --git a/src/pages/faqs/Faqs.jsx b/src/pages/faqs/Faqs.jsx index c600d83..509f1c9 100644 --- a/src/pages/faqs/Faqs.jsx +++ b/src/pages/faqs/Faqs.jsx @@ -2,7 +2,7 @@ import React from 'react' import Header from '../../components/layout/Header' import Hero1 from '../../components/layout/Hero1' import Footer from '../../components/layout/Footer' -// import FaqsSection from './components/FaqsSection' +import FaqsSection from './components/FaqsSection' @@ -16,7 +16,7 @@ text = "Home" span = "FAQ'S" /> -{/* */} +