diff --git a/src/assets/images/EcoBanner.png b/src/assets/images/EcoBanner.png new file mode 100644 index 0000000..f0abaa6 Binary files /dev/null and b/src/assets/images/EcoBanner.png differ diff --git a/src/components/Card/EcoCard.jsx b/src/components/Card/EcoCard.jsx new file mode 100644 index 0000000..df8a93e --- /dev/null +++ b/src/components/Card/EcoCard.jsx @@ -0,0 +1,118 @@ +/* eslint-disable react/prop-types */ +/* eslint-disable no-unused-vars */ +import { Box, Container, Text, Image, Button } from "@chakra-ui/react"; +import { Link } from "react-router-dom"; + +const EcoCard = ({ id, src, alt, text, href }) => { + return ( + + {/* {images.map((img) => ( + <> + ))} */} + + + + {alt} + + + + + {text} + + + + + + + + + + + ); +}; + +export default EcoCard; 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 ( + + + + + + {BannerContent[0].head} + + {BannerContent[0].heading1}
+ + {BannerContent[0].heading2} + +
+ + + {BannerContent[1].subheading} + + + + + +
+
+
+ ); +}; + +export default EcoBanner; diff --git a/src/components/EcoPage/EnterPrises.jsx b/src/components/EcoPage/EnterPrises.jsx new file mode 100644 index 0000000..b321486 --- /dev/null +++ b/src/components/EcoPage/EnterPrises.jsx @@ -0,0 +1,125 @@ +/* eslint-disable no-unused-vars */ +import { Box, Container, Text, Image, Button } from "@chakra-ui/react"; +import chainx from "../../assets/images/LearnCard2.png"; +import ensurity from "../../assets/images/LearnCard4.png"; +import exr from "../../assets/images/LearnCard5.png"; +import finalo from "../../assets/images/LearnCard1.png"; +import jupiter from "../../assets/images/LearnCard3.png"; +import { useMediaQuery } from "@chakra-ui/react"; +import EcoCard from "../Card/EcoCard"; + +// import { Badge } from "@chakra-ui/react"; + +const content = [ + { + id: 1, + src: finalo, + alt: "Finalo Education", + text: `Building a Web3 infrastructure to support nonprofit communities, starting with YMCA`, + href: `https://www.finaoeducation.com/`, + }, + { + id: 2, + src: `${chainx}`, + alt: "ChainX", + text: `Building solutions for an easier transition from Web2 to Web3 for global enterprises`, + }, + { + id: 3, + src: jupiter, + alt: "Jupiter", + text: `A metaverse,XR, and Web3 entity offering solutions that infuse gamification and tokenomics.`, + href: `https://jupitermeta.io/`, + }, + { + id: 4, + src: ensurity, + alt: "Ensurity", + text: `Delivers KYC/DID solutions for banks, and financial institutions, a highly secure algorithm for quantum security`, + href: `https://www.ensurity.com/`, + }, + { + id: 5, + src: exr, + alt: "EXR", + text: `Mobile-based wallet that generates and stores private keys on a mobile device`, + href: `https://getfexr.com/`, + }, +]; + +const Content = { + heading: `Enterprises and applications already on Rubix`, +}; + +const EnterPrises = () => { + const [isSmallScreen] = useMediaQuery("(max-width: 996px)"); + return ( + + + {Content.heading} {isSmallScreen ? null :
} +
+ + + {content.map((item) => ( + + ))} + + +
+ ); +}; + +export default EnterPrises; diff --git a/src/components/EventsPage/EventsSec.jsx b/src/components/EventsPage/EventsSec.jsx new file mode 100644 index 0000000..60fb62f --- /dev/null +++ b/src/components/EventsPage/EventsSec.jsx @@ -0,0 +1,82 @@ +import { Badge, Box, Container, Text } from "@chakra-ui/react"; + +const EventsSec = () => { + 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/components/LearnPage/LearnBanner.jsx b/src/components/LearnPage/LearnBanner.jsx index abf941b..63c88f8 100644 --- a/src/components/LearnPage/LearnBanner.jsx +++ b/src/components/LearnPage/LearnBanner.jsx @@ -18,7 +18,7 @@ const BannerContent = [ }, ]; -const LearnBanner = () => { +const LearnBanner = () => { return ( { + return ( +
+ + + +
+ ) +} + +export default Ecosystem 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/pages/LearnPage.jsx b/src/pages/LearnPage.jsx index df18826..4ddfbd3 100644 --- a/src/pages/LearnPage.jsx +++ b/src/pages/LearnPage.jsx @@ -15,7 +15,7 @@ const LearnPage = () => { return ( <> - + diff --git a/src/routes/_routes.jsx b/src/routes/_routes.jsx index 75fee8e..17081f4 100644 --- a/src/routes/_routes.jsx +++ b/src/routes/_routes.jsx @@ -24,6 +24,8 @@ import Form from "../components/Contact/Form"; import UseCase from "../components/UseCase/UseCase"; import ResourcesPage from "../pages/ResourcesPage"; import VideoInternal from "../components/VideoInternal/VideoInternal"; +import Ecosystem from "../pages/Ecosystem"; +import Events from "../pages/Events"; export const route = [ { @@ -83,6 +85,14 @@ export const route = [ path: "video-page", element: , }, + { + path: "ecosystem", + element: , + }, + { + path: "events", + element: , + }, { path: "*", element: ,