diff --git a/src/components/Card/HomeCard.jsx b/src/components/Card/HomeCard.jsx
index 57ca2b2..92cc926 100644
--- a/src/components/Card/HomeCard.jsx
+++ b/src/components/Card/HomeCard.jsx
@@ -12,6 +12,12 @@ const HomeCard = ({ key, date, text }) => {
}
padding={"1px"}
borderRadius={"10px"}
+ sx={{
+ "@media (max-width: 600px)": {
+ width: "90%",
+ margin: "0 auto",
+ },
+ }}
>
{
borderRadius={"10px"}
minHeight={"502px"}
key={key}
+ sx={{
+ "@media (max-width: 600px)": {
+ width: "100%",
+ minHeight: "0",
+ },
+ }}
>
diff --git a/src/components/Card/MobileHomeCard.jsx b/src/components/Card/MobileHomeCard.jsx
new file mode 100644
index 0000000..c217828
--- /dev/null
+++ b/src/components/Card/MobileHomeCard.jsx
@@ -0,0 +1,105 @@
+/* eslint-disable react/prop-types */
+/* eslint-disable no-unused-vars */
+import { Box, Container, Text, Image, Button } from "@chakra-ui/react";
+import cardimg from "../../assets/images/CardImg.png";
+import { Badge } from "@chakra-ui/react";
+import "swiper/css";
+import "swiper/css/pagination";
+import "swiper/css/navigation";
+
+import { Navigation, Pagination } from "swiper/modules";
+import { Swiper, SwiperSlide } from "swiper/react";
+
+const MobileHomeCard = () => {
+ return (
+
+
+
+
+
+ INSIGHT
+
+
+
+ {date}
+
+
+ {text}
+
+
+
+
+
+
+
+
+ );
+};
+
+export default MobileHomeCard;
diff --git a/src/components/HomePage/HomeBanner.jsx b/src/components/HomePage/HomeBanner.jsx
index 69ed6ca..74a6a16 100644
--- a/src/components/HomePage/HomeBanner.jsx
+++ b/src/components/HomePage/HomeBanner.jsx
@@ -62,74 +62,80 @@ const HomeBanner = () => {
textAlign={"center"}
paddingTop={"12%"}
>
- {BannerContent.map((item, index) => {
- return (
-
-
+
+ {BannerContent[0].heading1}
+ {!isSmallScreen ? (
+ <>
+
+
+ {BannerContent[0].heading2}
+
+ >
+ ) : (
+ <>
+
+
- {item.heading1}
- {!isSmallScreen ? (
-
- {item.heading2}
-
- ) : (
-
- {item.heading2}
-
- )}
-
-
- {item.subheading}
-
-
- );
- })}
+ }}
+ >
+ {BannerContent[0].heading2}
+
+ >
+ )}
+
+
+ {BannerContent[1].subheading}
+
+
+
{BannerContent[2] && (
>
);
}
diff --git a/src/components/HomePage/Resources.jsx b/src/components/HomePage/Resources.jsx
index 8eaf516..70ee745 100644
--- a/src/components/HomePage/Resources.jsx
+++ b/src/components/HomePage/Resources.jsx
@@ -43,11 +43,9 @@ const Resources = () => {
color={"#fff"}
sx={{
"@media (max-width: 435px)": {
- fontSize: "35px",
- },
- "@media (max-width: 375px)": {
- fontSize: "28px",
+ fontSize: "26px",
},
+ "@media (max-width: 375px)": {},
}}
>
{Content.heading}
diff --git a/src/components/MobileComponent/MobileSubnet2.jsx b/src/components/MobileComponent/MobileSubnet2.jsx
index 3a658a2..c4a1579 100644
--- a/src/components/MobileComponent/MobileSubnet2.jsx
+++ b/src/components/MobileComponent/MobileSubnet2.jsx
@@ -1,3 +1,4 @@
+/* eslint-disable no-unused-vars */
import { Box, Image, ListItem, Text, UnorderedList } from "@chakra-ui/react";
import cube from "../../assets/images/cube.png";
@@ -48,18 +49,12 @@ const MobileSubnet2 = () => {
textTransform={"capitalize"}
color={"#fff"}
>
- P2P
+ 01. Decentralisation
+
+
+ Rubix Decentralised Identity( DID) issued at L1 is the foundation
+ for building digital ownership enhancing applications.
-
- 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
-
-
@@ -71,18 +66,14 @@ const MobileSubnet2 = () => {
textTransform={"capitalize"}
color={"#fff"}
>
- Self Sovereign
+ 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.
-
-
- Permissioned subnets with no oracles and
intermediaries
-
- INo block space ransom
-
- Zero risk of transactions being blocked out of
- chain.
-
-
@@ -94,16 +85,16 @@ const MobileSubnet2 = () => {
textTransform={"capitalize"}
color={"#fff"}
>
- Easier
+ 03. Data Security and Privacy
+
+
+ {" "}
+ Rubix Decentralised Identity(DID) issued at L1 is the foundation
+ for building digital ownership enhancing applications
-
- Leverage own infrastructure for block space
- Smart contracts in Rust , GoLang and C/C++
- WASM compiler for smooth code migration
-
-
+ {/*
{
textTransform={"capitalize"}
color={"#fff"}
>
- cheaper
+ All In One Composable Stack
No GAS fees
@@ -122,7 +113,7 @@ const MobileSubnet2 = () => {
resources
-
+ */}
diff --git a/src/components/MobileComponent/MobileSubnet3.jsx b/src/components/MobileComponent/MobileSubnet3.jsx
index 3bdcf07..6238515 100644
--- a/src/components/MobileComponent/MobileSubnet3.jsx
+++ b/src/components/MobileComponent/MobileSubnet3.jsx
@@ -1,3 +1,4 @@
+/* eslint-disable no-unused-vars */
import { Box, Image, ListItem, Text, UnorderedList } from "@chakra-ui/react";
import stack from "../../assets/images/stacksmall.png";
@@ -24,11 +25,6 @@ const MobileSubnet3 = () => {
{
-
+
- {/* Left Icon */}
- slider?.slickPrev()}
- background={"#DE858E"}
- _hover={{
- background: "#DE858E",
- }}
- >
-
-
- {/* Right Icon */}
- slider?.slickNext()}
- background={"#DE858E"}
- _hover={{
- background: "#DE858E",
- }}
- >
-
-
{/* Slider */}
- setSlider(slider)}
- style={{ marginBottom: "4rem" }}
- >
- {/* Box1 */}
- {/* */}
-
-
-
-
-
-
-
-
-
-
- {/* Box2 */}
+
+
+
+
+
+
- {/* */}
-
+
+
+
+
+
+
+
+
+ {/* Box2 */}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {/* Box2 */}
);
}
diff --git a/src/components/MobileComponent/ResourcesMobile.jsx b/src/components/MobileComponent/ResourcesMobile.jsx
new file mode 100644
index 0000000..1303ff7
--- /dev/null
+++ b/src/components/MobileComponent/ResourcesMobile.jsx
@@ -0,0 +1,51 @@
+/* eslint-disable no-unused-vars */
+import { Box, Container, Text, Image, Button } from "@chakra-ui/react";
+import HomeCard from "../Card/HomeCard";
+import "swiper/css";
+import "swiper/css/pagination";
+import "swiper/css/navigation";
+
+import { Navigation, Pagination } from "swiper/modules";
+import { Swiper, SwiperSlide } from "swiper/react";
+import MobileHomeCard from "../Card/MobileHomeCard";
+
+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 ResourcesMobile = () => {
+ return (
+
+ {content.map((item) => (
+ <>
+
+
+
+
+
+ >
+ ))}
+
+ );
+};
+
+export default ResourcesMobile;
diff --git a/src/index.css b/src/index.css
index 6a332f1..7356aa5 100644
--- a/src/index.css
+++ b/src/index.css
@@ -49,6 +49,32 @@
/* background-color: #de858e; */
}
+.swiper-pagination {
+ top: 90% !important;
+}
+
+.swiper-pagination-bullet {
+ background: #383838 !important;
+}
+
+.swiper-pagination-bullet-active {
+ background: #fff !important;
+}
+
+@media only screen and (max-width: 600px) {
+ .swiper-button-prev:after,
+ .swiper-button-next:after {
+ font-size: 20px;
+ }
+
+ .swiper-pagination-bullets {
+ height: fit-content !important;
+ }
+
+ .swiper-pagination {
+ top: 95% !important;
+ }
+}
/* html {
font-family: "Mona Sans";
} */
diff --git a/src/pages/HomePage.jsx b/src/pages/HomePage.jsx
index 46df9f4..6edc23e 100644
--- a/src/pages/HomePage.jsx
+++ b/src/pages/HomePage.jsx
@@ -10,6 +10,8 @@ import WhitePaper from "../components/HomePage/WhitePaper";
import MobileSubnet from "../components/MobileComponent/MobileSubnet";
import { NewSubnetComp } from "../components/SubnetsComponent";
import Partner from "../components/HomePage/Partner";
+import PartnerMobile from "../components/MobileComponent/PartnerMobile";
+import ResourcesMobile from "../components/MobileComponent/ResourcesMobile";
// import { useBreakpointValue } from "@chakra-ui/react";
const HomePage = () => {
@@ -40,9 +42,9 @@ const HomePage = () => {
{!isMobile ? : }
-
+ {!isMobile ? : }
{/* */}
-
+ {!isMobile ? : }
>
);