From 8590e06344c0de5ea21a18c55bc68fc0dc6eea1a Mon Sep 17 00:00:00 2001 From: bayeka binet Date: Wed, 14 Aug 2024 01:59:39 -0700 Subject: [PATCH] worked with the evenlist and evendetails page , some part of the page was import and some designed --- src/App.jsx | 6 + src/pages/event/Event.jsx | 73 ++++++++ src/pages/event/EventDetails.jsx | 33 ++++ .../event/components/EventDetailSection.jsx | 159 ++++++++++++++++++ src/pages/event/components/EventList.jsx | 65 +++++++ src/pages/home/components/EventCard.jsx | 2 +- src/pages/home/components/HelpSection.jsx | 6 +- src/pages/leadership/Leadership.jsx | 2 +- 8 files changed, 341 insertions(+), 5 deletions(-) create mode 100644 src/pages/event/Event.jsx create mode 100644 src/pages/event/EventDetails.jsx create mode 100644 src/pages/event/components/EventDetailSection.jsx create mode 100644 src/pages/event/components/EventList.jsx diff --git a/src/App.jsx b/src/App.jsx index f263b39..9adf30b 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -12,6 +12,9 @@ import Donners from "./pages/donners/Donners"; import Home from "./pages/home/Home"; import Leadership from "./pages/leadership/Leadership"; import Faqs from "./pages/faqs/Faqs"; +import EventList from "./pages/event/components/EventList"; +import Event from "./pages/event/Event"; +import EventDetails from "./pages/event/EventDetails"; function App() { return ( @@ -27,6 +30,9 @@ function App() { } /> } /> } /> + } /> + } /> + ); diff --git a/src/pages/event/Event.jsx b/src/pages/event/Event.jsx new file mode 100644 index 0000000..4c7f8c3 --- /dev/null +++ b/src/pages/event/Event.jsx @@ -0,0 +1,73 @@ +import React from 'react' +import Header from '../../components/layout/Header' +import GeneralHero from '../../components/layout/GeneralHero' +import Footer from '../../components/layout/Footer' +import EventList from './components/EventList' +import image from '../../assets/images/Rectangle16.png' +import image26 from '../../assets/images/Rectangle 6.png' + +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 image13 from "../../assets/images/muslim.jpg"; + +import image21 from "../../assets/images/Rectangle21.jpg"; +import image22 from "../../assets/images/Rectangle22.jpg"; +import image23 from "../../assets/images/Rectangle23.jpg"; +import Pagination from '../../components/Pagination' +import StatisticsSection from '../../components/layout/StatisticsSection' +import ReviewSection from '../home/components/ReviewSection' + + +const Event = () => { + return ( +
+
+ + + {/* */} + + + + + + + + + + + + + +
+ + + +
+ ) +} + +export default Event diff --git a/src/pages/event/EventDetails.jsx b/src/pages/event/EventDetails.jsx new file mode 100644 index 0000000..917fe4e --- /dev/null +++ b/src/pages/event/EventDetails.jsx @@ -0,0 +1,33 @@ +import React from 'react' +import Header from '../../components/layout/Header' +import Footer from '../../components/layout/Footer' +import EventList from './components/EventList' +import image from '../../assets/images/Rectangle16.png'; + +import GeneralHero from '../../components/layout/GeneralHero'; +import EventDetailSection from './components/EventDetailSection'; + + +const EventDetails = () => { + return ( +
+ +
+ + + + + +
+ + + +
+ ) +} + +export default EventDetails diff --git a/src/pages/event/components/EventDetailSection.jsx b/src/pages/event/components/EventDetailSection.jsx new file mode 100644 index 0000000..2039763 --- /dev/null +++ b/src/pages/event/components/EventDetailSection.jsx @@ -0,0 +1,159 @@ +import React from 'react' + +import image3 from '../../../assets/images/Image3.png' +import image12 from '../../../assets/images/Rectangle 12.png' +import Button from '../../../components/Button' +import image22 from '../../../assets/images/Rectangle22.jpg' +import image23 from '../../../assets/images/Rectangle23.jpg' +import image20 from '../../../assets/images/Rectangle20.jpg' + + +const EventDetailSection = () => { + return ( + + +
+ +
+

Causes Category

+
+

Water

+

(01)

+
+
+

Education

+

(02)

+
+
+

Water

+

(03)

+
+
+

Education

+

(04)

+
+ +
+

Urgent Causes

+ +

Children Education Needs For Change The World

+

Lorem ipsum dolor sit amet consectetur + adipisicing elit. In, harum. adipisicing elit. In, harum.

+ +
+
+
+

Goal

+

$400

+
+
+

Rise

+

$3000

+
+
+

To Go

+

$1000

+
+
+ + +
+ + +
+ +
+ + + + + +
+ +
+ +
+ +
+ + +
+
+ +
+ +
+
+ +

15 Feb 2024

+
+
+ +

10:00AM - 04:00PM

+
+
+ +

Mitchell, 57301 USA

+
+ +
+ +
+

Need School For Mozambique Children

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. + Inventore quae perspiciatis repellat eveniet ut + repudiandae ratione distinctio harum iure ipsa + obcaecati perferendis alias doloribus + veniam voluptatem saepe, odio vel in?

+
+ +
+

Old Education Needs For Change The World.

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. + Inventore quae perspiciatis repellat eveniet ut + repudiandae ratione distinctio harum iure ipsa + obcaecati perferendis alias doloribus + veniam voluptatem saepe, odio vel in?

+
+ +
+ + + +
+

Lorem, ipsum dolor sit amet consectetur adipisicing elit. Odit ab harum + tenetur optio voluptatum veritatis quibusdam, animi quaerat + fugiat officia nihil doloribus adipisci libero voluptates + modi mollitia cumque placeat hic?

+ +
+

Current Sponsors.

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. + Inventore quae perspiciatis repellat eveniet ut + repudiandae ratione distinctio harum iure ipsa + obcaecati perferendis alias doloribus + veniam voluptatem saepe, odio vel in?

+
+
+

Why Jion This Event?

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. + Inventore quae perspiciatis repellat eveniet ut + repudiandae ratione distinctio harum iure ipsa + obcaecati perferendis alias doloribus + veniam voluptatem saepe, odio vel in?

+
+ +
+ + +
+ ) +} + +export default EventDetailSection diff --git a/src/pages/event/components/EventList.jsx b/src/pages/event/components/EventList.jsx new file mode 100644 index 0000000..78d05ff --- /dev/null +++ b/src/pages/event/components/EventList.jsx @@ -0,0 +1,65 @@ +import React from "react"; +import Button from "../../../components/Button"; + + + +function EventList(props){ + const image =props.image + const image1 = props.image1 + + return ( + + +
+
+
+ +
+ +
+

+ Use Hashtags To Support Online +

+

JANUARY 17, 2024 @12:00AM-JANUARY 30, 2024 @ 11:59 PM

+

Event Location:

+ +
+

Mitchell, 57301 United States

+ + +
+
+
+ +
+
+ +
+ +
+

+ Use Hashtags To Support Online +

+

JANUARY 17, 2024 @12:00AM-JANUARY 30, 2024 @ 11:59 PM

+

Event Location:

+ +
+

Mitchell, 57301 United States

+ + +
+
+
+
+ ); +}; + +export default EventList; diff --git a/src/pages/home/components/EventCard.jsx b/src/pages/home/components/EventCard.jsx index 27af64e..ef825b4 100644 --- a/src/pages/home/components/EventCard.jsx +++ b/src/pages/home/components/EventCard.jsx @@ -1,5 +1,5 @@ import React from 'react' -import image10 from "../../../assets/images/image1.png"; +import image10 from "../../../assets/images/Image1.png"; function EventCard(props) { diff --git a/src/pages/home/components/HelpSection.jsx b/src/pages/home/components/HelpSection.jsx index ac1cf97..564ef65 100644 --- a/src/pages/home/components/HelpSection.jsx +++ b/src/pages/home/components/HelpSection.jsx @@ -1,7 +1,7 @@ import React from "react"; -import icon from "../../../assets/images/icon.png"; -import icon2 from "../../../assets/images/icon2.png"; -import icon3 from "../../../assets/images/icon3.png"; +import icon from "../../../assets/images/Icon.png"; +import icon2 from "../../../assets/images/Icon2.png"; +import icon3 from "../../../assets/images/Icon3.png"; import HelpCard from "./HelpCard"; function HelpSection() { diff --git a/src/pages/leadership/Leadership.jsx b/src/pages/leadership/Leadership.jsx index 2d54a55..2a86a07 100644 --- a/src/pages/leadership/Leadership.jsx +++ b/src/pages/leadership/Leadership.jsx @@ -3,7 +3,7 @@ import Footer from "../../components/layout/Footer"; import Header from "../../components/layout/Header"; import Hero1 from "../../components/layout/Hero1"; import Pagination from "../../components/Pagination"; -import LeadershipSection from "./components/LeadershipSection"; +import LeadershipSection from "../leadership/components/LeadershipSection"; const Leadership = () => { return (