From 05a441abbaa5ec302ed7bf92130b41f652ec3eff Mon Sep 17 00:00:00 2001
From: YasinShaikh123 <123150391+YasinShaikh123@users.noreply.github.com>
Date: Fri, 19 Apr 2024 19:48:28 +0530
Subject: [PATCH] enent ecostytem page
---
src/components/Card/HappenCard.jsx | 3 +-
src/components/Community/Happen.jsx | 2 +-
src/components/EventsPage/EventsSec.jsx | 82 ++++++++++++
src/components/EventsPage/NewestEvents.jsx | 117 +++++++++++++++++
src/components/EventsPage/UpcomingEvents.jsx | 128 +++++++++++++++++++
src/pages/Events.jsx | 16 +++
src/routes/_routes.jsx | 5 +
7 files changed, 351 insertions(+), 2 deletions(-)
create mode 100644 src/components/EventsPage/EventsSec.jsx
create mode 100644 src/components/EventsPage/NewestEvents.jsx
create mode 100644 src/components/EventsPage/UpcomingEvents.jsx
create mode 100644 src/pages/Events.jsx
diff --git a/src/components/Card/HappenCard.jsx b/src/components/Card/HappenCard.jsx
index e0e5a3a..3830e55 100644
--- a/src/components/Card/HappenCard.jsx
+++ b/src/components/Card/HappenCard.jsx
@@ -48,7 +48,7 @@ const HappenCard = ({ key, date, text, para, month, curentDate }) => {
{
{
- return (
+ return (
{
+ return (
+
+
+
+ Events
+
+
+
+ Stay up to date on what’s happening with Rubix,
+
learn about upcoming events and access
+
important resources.
+
+
+
+
+ );
+};
+
+export default EventsSec;
diff --git a/src/components/EventsPage/NewestEvents.jsx b/src/components/EventsPage/NewestEvents.jsx
new file mode 100644
index 0000000..908ecfd
--- /dev/null
+++ b/src/components/EventsPage/NewestEvents.jsx
@@ -0,0 +1,117 @@
+import { Badge, Box, Container, Image, Text } from "@chakra-ui/react";
+import pic from "../../assets/images/eventsPic.png";
+
+const NewestEvent = () => {
+ return (
+
+
+
+
+ Newest Post
+
+
+
+ May
04
+
+
+
+
+
+
+ Events
+
+
+ The Proofchain Technical Whitepaper
+
+
+ How do we align digital asset markets with UN Sustainable
+ Development Goals? Is the blockchain the missing piece to
+ bringing the world back on track to a two degree temperature
+ rise?
+
+
+ Sunday, 10 May 2024
+
+
+
+
+
+
+ );
+};
+
+export default NewestEvent;
diff --git a/src/components/EventsPage/UpcomingEvents.jsx b/src/components/EventsPage/UpcomingEvents.jsx
new file mode 100644
index 0000000..4a54416
--- /dev/null
+++ b/src/components/EventsPage/UpcomingEvents.jsx
@@ -0,0 +1,128 @@
+/* eslint-disable no-unused-vars */
+import {
+ Box,
+ Container,
+ Text,
+ Image,
+ Button,
+ SimpleGrid,
+} from "@chakra-ui/react";
+import HappenCard from "../Card/HappenCard";
+
+const Latest = [
+ {
+ id: 1,
+ date: `Sunday, 10 May 2024`,
+ text: `Financial Times Crypto & Digital Assets Summit Panel`,
+ para: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut et massa mi. ",
+ curentDate: "10",
+ month: "MAY",
+ },
+ {
+ id: 2,
+ date: `Sunday, 15 Jan 2024`,
+ text: `Financial Times Crypto & Digital Assets Summit Panel`,
+ para: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut et massa mi. ",
+ curentDate: "10",
+ month: "MAY",
+ },
+ {
+ id: 3,
+ date: `Sunday, 14 Feb 2024`,
+ text: `Financial Times Crypto & Digital Assets Summit Panel`,
+ para: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut et massa mi. ",
+ curentDate: "10",
+ month: "MAY",
+ },
+];
+
+const Content = {
+ heading: `Upcoming Events`,
+};
+
+const UpcomingEvents = () => {
+ return (
+
+
+
+ {Content.heading}
+
+
+
+
+ {Latest.map((item) => (
+
+ ))}
+
+
+
+
+
+ );
+};
+
+export default UpcomingEvents;
diff --git a/src/pages/Events.jsx b/src/pages/Events.jsx
new file mode 100644
index 0000000..e5dc203
--- /dev/null
+++ b/src/pages/Events.jsx
@@ -0,0 +1,16 @@
+import React from "react";
+import EventsSec from "../components/EventsPage/EventsSec";
+import NewestEvent from "../components/EventsPage/NewestEvents";
+import UpcomingEvents from "../components/EventsPage/UpcomingEvents";
+
+const Events = () => {
+ return (
+ <>
+
+
+
+ >
+ );
+};
+
+export default Events;
diff --git a/src/routes/_routes.jsx b/src/routes/_routes.jsx
index d9654d0..1224605 100644
--- a/src/routes/_routes.jsx
+++ b/src/routes/_routes.jsx
@@ -24,6 +24,7 @@ import Form from "../components/Contact/Form";
import UseCase from "../components/UseCase/UseCase";
import ResourcesPage from "../pages/ResourcesPage";
import Ecosystem from "../pages/Ecosystem";
+import Events from "../pages/Events";
export const route = [
{
@@ -83,6 +84,10 @@ export const route = [
path: "ecosystem",
element: ,
},
+ {
+ path: "events",
+ element: ,
+ },
{
path: "*",
element: ,