From 336322cbd1ab837d24671dfa5ed094f61cc9ee71 Mon Sep 17 00:00:00 2001 From: akash Date: Wed, 13 Aug 2025 22:08:59 +0530 Subject: [PATCH] Services Page Updated --- components/header2/Header2.js | 5 ++- components/services/ServicesSection.js | 59 ++++++++++++++++++++++++++ pages/services/index.js | 23 ++++++++++ 3 files changed, 85 insertions(+), 2 deletions(-) create mode 100644 components/services/ServicesSection.js create mode 100644 pages/services/index.js diff --git a/components/header2/Header2.js b/components/header2/Header2.js index 604974e..b213a71 100644 --- a/components/header2/Header2.js +++ b/components/header2/Header2.js @@ -53,7 +53,7 @@ const Header2 = (props) => {
  • Racial Justice
  • -
  • + {/*
  • Campaign -
  • + */} {/*
  • Pages
  • +
  • Services
  • Contact
  • diff --git a/components/services/ServicesSection.js b/components/services/ServicesSection.js new file mode 100644 index 0000000..2c82099 --- /dev/null +++ b/components/services/ServicesSection.js @@ -0,0 +1,59 @@ +import React from "react"; +import Link from 'next/link' +import SectionTitle from "../SectionTitle/SectionTitle"; +import Campaign from '../../api/campaign' +import Image from "next/image"; + + +const ClickHandler = () => { + window.scrollTo(10, 0); +} + +const ServicesSection = (props) => { + return ( +
    +
    + +
    +
    + {Campaign.map((campaign, cam) => ( +
    +
    +
    +
    + +
    +
    +
    + {/* {campaign.thumb} */} +

    {campaign.title}

    +

    {campaign.date}

    + {/*

    {campaign.location}

    */} + {/*
    +
    +
    +
    +
    {campaign.progress}%
    +
    +
    +
    +
    */} + {/*
      +
    • Raised: ${campaign.raised}
    • +
    • Goal: ${campaign.goal}
    • +
    */} +
    +
    +
    +
    +
    + ))} + +
    +
    +
    +
    + ); +} + +export default ServicesSection; \ No newline at end of file diff --git a/pages/services/index.js b/pages/services/index.js new file mode 100644 index 0000000..09aebea --- /dev/null +++ b/pages/services/index.js @@ -0,0 +1,23 @@ +import React, { Fragment } from 'react'; +import Navbar2 from '../../components/Navbar2/Navbar2'; +import PageTitle from '../../components/pagetitle/PageTitle' +import Scrollbar from '../../components/scrollbar/scrollbar' +import Donors from '../../components/Donors/Donors'; +import PartnerSection from '../../components/PartnerSection/PartnerSection'; +import Footer from '../../components/footer/Footer'; +import ServicesSection from '../../components/services/ServicesSection'; + +const Services = () => { + return ( + + + + + {/* */} + {/* */} +