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/EcoPage/EcoBanner.jsx b/src/components/EcoPage/EcoBanner.jsx new file mode 100644 index 0000000..b19ec86 --- /dev/null +++ b/src/components/EcoPage/EcoBanner.jsx @@ -0,0 +1,185 @@ +import { Box, Button, Container, Text } from "@chakra-ui/react"; +import banner from "../../assets/images/EcoBanner.png"; +import { Link } from "react-router-dom"; + +const BannerContent = [ + { + head: "Meaningful", + heading1: ` partnerships`, + heading2: `that push the envelope`, + }, + { + subheading: `Our partners are actively building dApps and other projects to support a variety of use cases, including ESG, media, real estate, construction, telecom, pharma, NFT, metaverse, deFi, gameFi, cybersecurity and more.`, + }, + { + btn: `Learn Now`, + }, +]; + +const EcoBanner = () => { + 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/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/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 b156a6d..d9654d0 100644 --- a/src/routes/_routes.jsx +++ b/src/routes/_routes.jsx @@ -23,6 +23,7 @@ import healthTech from "../assets/images/health-tech.png"; import Form from "../components/Contact/Form"; import UseCase from "../components/UseCase/UseCase"; import ResourcesPage from "../pages/ResourcesPage"; +import Ecosystem from "../pages/Ecosystem"; export const route = [ { @@ -78,6 +79,10 @@ export const route = [ path: "resources-page", element: , }, + { + path: "ecosystem", + element: , + }, { path: "*", element: ,