diff --git a/src/App.jsx b/src/App.jsx index 00bd98c..50428ae 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -7,12 +7,14 @@ import { import HomePage from "./pages/HomePage"; import NavBar from "./components/NavBar/NavBar"; import LearnPage from "./pages/LearnPage"; +import BuildPage from "./pages/BuildPage"; const router = createBrowserRouter( createRoutesFromElements( }> } /> } /> + } /> ) ); diff --git a/src/assets/images/BuildBanner.png b/src/assets/images/BuildBanner.png new file mode 100644 index 0000000..e3bf308 Binary files /dev/null and b/src/assets/images/BuildBanner.png differ diff --git a/src/components/BuildPage/BuildBanner.jsx b/src/components/BuildPage/BuildBanner.jsx new file mode 100644 index 0000000..d9069a0 --- /dev/null +++ b/src/components/BuildPage/BuildBanner.jsx @@ -0,0 +1,171 @@ +import { Box, Button, Container, Text } from "@chakra-ui/react"; +import banner from "../../assets/images/BuildBanner.png"; + +const BannerContent = [ + { + heading1: `Build Next-Gen dApps`, + heading2: `with Rubix`, + }, + { + subheading: `Whether you are developing a Web3 app or expanding your Web2 app to incorporate Web3 features, + building with Rubix is simple, fast, and easy.`, + }, + { + btn: `Build Now`, + }, +]; + +const BuildBanner = () => { + return ( + + + + + {BannerContent[0].heading1}
+ + {BannerContent[0].heading2} + +
+ + + {BannerContent[1].subheading} + + +
+
+ + + +
+ ); +}; + +export default BuildBanner; diff --git a/src/components/BuildPage/WhyBuild.jsx b/src/components/BuildPage/WhyBuild.jsx new file mode 100644 index 0000000..165f1aa --- /dev/null +++ b/src/components/BuildPage/WhyBuild.jsx @@ -0,0 +1,177 @@ +import { Box, Container, Image, Text } from "@chakra-ui/react"; +import { + Accordion, + AccordionItem, + AccordionButton, + AccordionPanel, + AccordionIcon, +} from "@chakra-ui/react"; +import bg from "../../assets/images/whyRubix.png"; +import cube from "../../assets/images/cube.png"; + +const accordion = [ + { + id: 1, + title: `Unlimited concurrent transactions`, + content: `The Rubix network supports millions of concurrent transactions + by eliminating the need to queue transactions for the + blockchain.`, + }, + { + id: 2, + title: `Scalability`, + content: `The Rubix network supports millions of concurrent transactions + by eliminating the need to queue transactions for the + blockchain.`, + }, + { + id: 3, + title: `Truly decentralised, secure and private`, + content: `The Rubix network supports millions of concurrent transactions + by eliminating the need to queue transactions for the + blockchain.`, + }, + { + id: 4, + title: `ROI friendly`, + content: `The Rubix network supports millions of concurrent transactions + by eliminating the need to queue transactions for the + blockchain.`, + }, +]; + +const WhyBuild = () => { + return ( + + + + Why developers choose Rubix + + + + + {accordion.map((accord) => ( + <> + +

+ + + {accord.title} + + + +

+ + {accord.content} + +
+ + ))} +
+
+ + + +
+
+
+ ); +}; + +export default WhyBuild; diff --git a/src/components/Card/HomeCard.jsx b/src/components/Card/HomeCard.jsx index 1087779..57aa8c0 100644 --- a/src/components/Card/HomeCard.jsx +++ b/src/components/Card/HomeCard.jsx @@ -3,7 +3,7 @@ import { Box, Container, Text, Image, Button } from "@chakra-ui/react"; import cardimg from "../../assets/images/CardImg.png"; import { Badge } from "@chakra-ui/react"; -const HomeCard = () => { +const HomeCard = ({ key, date, text }) => { return ( { padding={"1px"} borderRadius={"10px"} > - + { - Published: March 13, 2020 + {date} - - Multichain over Blockchain — A reality check on security threat + + {text} { placeContent={"center"} position="relative" zIndex={"2"} + ScaleFade + initialScale={0.9} + in={true} sx={{ "&::after": { content: '""', diff --git a/src/components/HomePage/Resources.jsx b/src/components/HomePage/Resources.jsx index 722c60b..2f826c6 100644 --- a/src/components/HomePage/Resources.jsx +++ b/src/components/HomePage/Resources.jsx @@ -2,6 +2,24 @@ import { Box, Container, Text, Image, Button } from "@chakra-ui/react"; import HomeCard from "../Card/HomeCard"; +const content = [ + { + id: 1, + date: `Published: March 13, 2020`, + text: `Multichain over Blockchain — A reality check on security threat`, + }, + { + id: 2, + date: `Published: March 13, 2020`, + text: `Financial Times Crypto & Digital Assets Summit Panel`, + }, + { + id: 3, + date: `Published: March 13, 2020`, + text: `Enterprise blockchains on a Public Chain!`, + }, +]; + const Content = { heading: `Resources and Latest Happenings`, }; @@ -55,8 +73,8 @@ const Resources = () => { }, }} > - {Array.from({ length: 4 }).map((_, index) => ( - + {content.map((item) => ( + ))} diff --git a/src/components/NavBar/NavBar.jsx b/src/components/NavBar/NavBar.jsx index fd7bfee..9500de5 100644 --- a/src/components/NavBar/NavBar.jsx +++ b/src/components/NavBar/NavBar.jsx @@ -34,93 +34,111 @@ const NavBar = () => { return ( <> {!isMobile ? ( - - - - - - - + <> + + + WALLET + + + EXPLORER + + + + - LEARN - BUILD - USE CASES - COMMUNITY - FOUNDATION - { - const arrowRight = document.querySelector(".arrow"); - arrowRight.style.transform = "rotate(45deg)"; - }} - onMouseLeave={(e) => { - const arrowRight = document.querySelector(".arrow"); - arrowRight.style.transform = "none"; + + + + + + + - CONTACT US - LEARN + BUILD + USE CASES + COMMUNITY + FOUNDATION + - + onMouseEnter={(e) => { + const arrowRight = document.querySelector(".arrow"); + arrowRight.style.transform = "rotate(45deg)"; + }} + onMouseLeave={(e) => { + const arrowRight = document.querySelector(".arrow"); + arrowRight.style.transform = "none"; + }} + > + CONTACT US + + + - + ) : ( )} diff --git a/src/components/SubnetsComponent/NewSubnetComp.jsx b/src/components/SubnetsComponent/NewSubnetComp.jsx index 1f3138f..96a578d 100644 --- a/src/components/SubnetsComponent/NewSubnetComp.jsx +++ b/src/components/SubnetsComponent/NewSubnetComp.jsx @@ -1,5 +1,4 @@ import { Box, Container, Image, Stack, Text } from "@chakra-ui/react"; -import cube from "../../assets/images/cube.png"; import { Fade, ScaleFade, Slide, SlideFade, Collapse } from "@chakra-ui/react"; import { useEffect, useRef, useState } from "react"; import { Component1 } from "./Component1"; @@ -7,7 +6,8 @@ import { Component2 } from "./Component2"; import { Component3 } from "./Component3"; import { Component4 } from "./Component4"; // import { SubnetPage2 } from "./SubnetPage2"; -import stack from "../../assets/images/stack.png"; +import cube from "../../assets/images/cube.png"; +import stack from "../../assets/images/stackNew.webp"; import { useInView, motion } from "framer-motion"; import { Swiper, SwiperSlide } from "swiper/react"; import "swiper/css"; @@ -181,9 +181,9 @@ export const NewSubnetComp = ({ showSubnet }) => { 01. Decentralisation - Rubix Decentralised Identity(DID) issued at L1 is the + Rubix Decentralised Identity( DID) issued at L1 is the foundation for building digital ownership enhancing - applications + applications. @@ -193,12 +193,14 @@ export const NewSubnetComp = ({ showSubnet }) => { color={"#fff"} marginBottom={"10px"} > - 01. Decentralisation + 02. Ultra Scalability - Rubix Decentralised Identity(DID) issued at L1 is the - foundation for building digital ownership enhancing - applications + Unlike monolithic chains which become centralized and + introduce latency to achieve high throughput, in the Rubix + object chain architecture, where mobile nodes have real time + full state data, the network TPS will increase with increase + in numbers of nodes. @@ -208,12 +210,12 @@ export const NewSubnetComp = ({ showSubnet }) => { color={"#fff"} marginBottom={"10px"} > - 01. Decentralisation + 03. Data Security and Privacy - Rubix Decentralised Identity(DID) issued at L1 is the - foundation for building digital ownership enhancing - applications + Ideal for building automated, tokenized , consent-based + data/insight exchange apps which require secure, + decentralised identity-based encryption  diff --git a/src/pages/BuildPage.jsx b/src/pages/BuildPage.jsx new file mode 100644 index 0000000..ec75392 --- /dev/null +++ b/src/pages/BuildPage.jsx @@ -0,0 +1,14 @@ +import React from "react"; +import BuildBanner from "../components/BuildPage/BuildBanner"; +import WhyBuild from "../components/BuildPage/WhyBuild"; + +const BuildPage = () => { + return ( + <> + + + + ); +}; + +export default BuildPage;