From dc674a40ec319e9e40ee3a3a922d41e4aa95edc4 Mon Sep 17 00:00:00 2001 From: rockyeverlast Date: Tue, 21 May 2024 16:58:55 +0530 Subject: [PATCH] New Static sub component made --- src/components/BlogPost/BlogPost.jsx | 3 +- .../StaticSubComponents/StaticSubNet.jsx | 420 ++++++++++++++++++ .../StaticSubs/StaticSubnetFour.jsx | 77 ++++ .../StaticSubs/StaticSubnetOne.jsx | 76 ++++ .../StaticSubs/StaticSubnetThree.jsx | 76 ++++ .../StaticSubs/StaticSubnetTwo.jsx | 64 +++ src/index.css | 4 + src/pages/HomePage.jsx | 7 +- 8 files changed, 724 insertions(+), 3 deletions(-) create mode 100644 src/components/StaticSubComponents/StaticSubNet.jsx create mode 100644 src/components/StaticSubComponents/StaticSubs/StaticSubnetFour.jsx create mode 100644 src/components/StaticSubComponents/StaticSubs/StaticSubnetOne.jsx create mode 100644 src/components/StaticSubComponents/StaticSubs/StaticSubnetThree.jsx create mode 100644 src/components/StaticSubComponents/StaticSubs/StaticSubnetTwo.jsx diff --git a/src/components/BlogPost/BlogPost.jsx b/src/components/BlogPost/BlogPost.jsx index c476d8e..f2acafc 100644 --- a/src/components/BlogPost/BlogPost.jsx +++ b/src/components/BlogPost/BlogPost.jsx @@ -41,6 +41,7 @@ const BlogPost = () => { : null; console.log(matchingBlogPost); + console.log(matchingBlogPost.content); return ( <> @@ -79,7 +80,6 @@ const BlogPost = () => { textAlign={"center"} className="rubix-fw-600" fontSize={"40px"} - fontFamily={"Mona Sans"} color={"#fff"} sx={{ "@media (max-width: 600px)": { @@ -272,6 +272,7 @@ const BlogPost = () => { { + return ( +
+ + + + + decentralised Auto Syncing subnets + + + + + + + + + + + + + + + + + + + + + + + + + + With Unmatched Privacy and Scalability + + + + + + + + + + 01. Decentralisation + + + Rubix Decentralised Identity(DID) issued at L1 is the + foundation for building digital ownership enhancing + applications. + + + + + 02. Ultra Scalability + + + 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. + + + + + 03. Data Security and Privacy + + + Rubix Decentralised Identity(DID) issued at L1 is the + foundation for building digital ownership enhancing + applications + + + + + + + + + + All In One Composable Stack + + + + + + + Single Comprehensive Stack: + + + Full Mobile node SDK, Smart Contracts, DID's, Secondary + tokens ( FTs and NFTs) all in one place. + + + + + High Partition Tolerence: + + + Issues in one shard wont affect other shards performance + + + + + Fully Deterministic + + + App can bring own Block space ( BYOB ) + + + + + + + + + + Unique Token/Object Based Architecture + + + Build unlimited FTs and NFTs all at L1!! + + + + + Green By The Design + + + 100000 Rubix Transactions consume < 10 kWh < 100000 + Visa transactions + + + + + 51.4 Million RBT + + Fixed Supply. Hardcapped + + + + + + +
+ ); +}; + +export default StaticSubNet; diff --git a/src/components/StaticSubComponents/StaticSubs/StaticSubnetFour.jsx b/src/components/StaticSubComponents/StaticSubs/StaticSubnetFour.jsx new file mode 100644 index 0000000..ecc1460 --- /dev/null +++ b/src/components/StaticSubComponents/StaticSubs/StaticSubnetFour.jsx @@ -0,0 +1,77 @@ +/* eslint-disable no-unused-vars */ +import { Box, Button, Image, Text, Grid, GridItem } from "@chakra-ui/react"; +import { Container } from "@chakra-ui/react"; +import { + List, + ListItem, + ListIcon, + OrderedList, + UnorderedList, +} from "@chakra-ui/react"; +import vector4 from "../../../assets/images/vector4.png"; + +const StaticSubnetFour = () => { + return ( + <> + + + + + + + Permissioned subnets with no oracles and
intermediaries +
+ No block space ransom + + Zero risk of transactions being blocked out of
+ chain. +
+
+
+ + ); +}; + +export default StaticSubnetFour; diff --git a/src/components/StaticSubComponents/StaticSubs/StaticSubnetOne.jsx b/src/components/StaticSubComponents/StaticSubs/StaticSubnetOne.jsx new file mode 100644 index 0000000..6def281 --- /dev/null +++ b/src/components/StaticSubComponents/StaticSubs/StaticSubnetOne.jsx @@ -0,0 +1,76 @@ +/* eslint-disable no-unused-vars */ +import { Box, Button, Image, Text, Grid, GridItem } from "@chakra-ui/react"; +import { Container } from "@chakra-ui/react"; +import { + List, + ListItem, + ListIcon, + OrderedList, + UnorderedList, +} from "@chakra-ui/react"; +import vector1 from "../../../assets/images/vector1.png"; + +const StaticSubnetOne = () => { + return ( + <> + + + + + + Only L1 powering full mobile nodes + + + Mobile nodes with full state data will settle P2P . Consensus provided + by nearby node validators. + + + High scalability, Partition tolerance and portability + + + + ); +}; + +export default StaticSubnetOne; diff --git a/src/components/StaticSubComponents/StaticSubs/StaticSubnetThree.jsx b/src/components/StaticSubComponents/StaticSubs/StaticSubnetThree.jsx new file mode 100644 index 0000000..5e6d9ac --- /dev/null +++ b/src/components/StaticSubComponents/StaticSubs/StaticSubnetThree.jsx @@ -0,0 +1,76 @@ +/* eslint-disable no-unused-vars */ +import { Box, Button, Image, Text, Grid, GridItem } from "@chakra-ui/react"; +import { Container } from "@chakra-ui/react"; +import { + List, + ListItem, + ListIcon, + OrderedList, + UnorderedList, +} from "@chakra-ui/react"; +import vector3 from "../../../assets/images/vector3.png"; + +const StaticSubnetThree = () => { + return ( + <> + + + + + + No GAS fees + + Incremental and modular infrastructure ask + + + No expensive re training of development
+ resources +
+
+
+ + ); +}; + +export default StaticSubnetThree; diff --git a/src/components/StaticSubComponents/StaticSubs/StaticSubnetTwo.jsx b/src/components/StaticSubComponents/StaticSubs/StaticSubnetTwo.jsx new file mode 100644 index 0000000..29e1d1c --- /dev/null +++ b/src/components/StaticSubComponents/StaticSubs/StaticSubnetTwo.jsx @@ -0,0 +1,64 @@ +/* eslint-disable no-unused-vars */ +import { Box, Button, Image, Text, Grid, GridItem } from "@chakra-ui/react"; +import { Container } from "@chakra-ui/react"; +import { + List, + ListItem, + ListIcon, + OrderedList, + UnorderedList, +} from "@chakra-ui/react"; +import vector2 from "../../../assets/images/vector2.png"; + +const StaticSubnetTwo = () => { + return ( + <> + + + + + + Leverage own infrastructure for block space + + + Smart contracts in Rust , GoLang and C/C++ + + + WASM compiler for smooth code migration + + + + ); +}; + +export default StaticSubnetTwo; diff --git a/src/index.css b/src/index.css index a9854d5..cf801fb 100644 --- a/src/index.css +++ b/src/index.css @@ -195,6 +195,10 @@ span.swiper-pagination-bullet { right: 98%; } +.blog-post .rubix-text-small h1 { + font-size: 2em; +} + @media only screen and (max-width: 600px) { .tabspagination .swiper-button-prev, .tabspagination .swiper-button-next { diff --git a/src/pages/HomePage.jsx b/src/pages/HomePage.jsx index 6bb0d9e..ae67e4b 100644 --- a/src/pages/HomePage.jsx +++ b/src/pages/HomePage.jsx @@ -14,6 +14,8 @@ import PartnerMobile from "../components/MobileComponent/PartnerMobile"; import ResourcesMobile from "../components/MobileComponent/ResourcesMobile"; import Loader from "../components/Loader/Loader"; import { useGetBlogQuery } from "../Redux/slice/blogsSlice"; +import StaticSubNet from "../components/StaticSubComponents/StaticSubNet"; + // // import { useBreakpointValue } from "@chakra-ui/react"; @@ -44,8 +46,9 @@ const HomePage = () => { {!isLoading ? ( <> - {/* */} - {!isMobile ? : } + + {/* {!isMobile ? : } */} + {!isMobile ? : } {!isMobile ? : }