/* eslint-disable no-unused-vars */
// / eslint-disable no-unused-vars /
// / eslint-disable no-unused-vars /;
import { Box, Container, Image, Stack, Text } from "@chakra-ui/react";
import { Fade, Slide, SlideFade, Collapse } from "@chakra-ui/react";
import { useEffect, useRef, useState } from "react";
import { Component1 } from "./Component1";
import { Component2 } from "./Component2";
import { Component3 } from "./Component3";
import { Component4 } from "./Component4";
// import { SubnetPage2 } from "./SubnetPage2";
import cube from "../../assets/images/cube.png";
import stack from "../../assets/images/stackNew.webp";
import { gsap } from "gsap";
import { ScrollTrigger } from "gsap/ScrollTrigger";
// Initialize ScrollTrigger
gsap.registerPlugin(ScrollTrigger);
// const SubnetContent = {
// heading: `decentralised Auto Syncing subnets`,
// };
export const NewSubnetComp = () => {
// const firstBoxRef = useRef(null);
// const secondBoxRef = useRef(null);
// const thirdBoxRef = useRef(null);
// const mainBox = useRef(null);
useEffect(() => {
// gsap.set(firstBoxRef.current, { opacity: 1 });
// let tl = gsap
// .timeline({
// scrollTrigger: {
// trigger: mainBox.current,
// start: "top top",
// scrub: 1,
// pin: true,
// end: "bottom bottom-=500vh",
// markers: false,
// },
// })
// .fromTo(firstBoxRef.current, { opacity: 1 }, { opacity: 0 })
// .fromTo(secondBoxRef.current, { opacity: 0 }, { opacity: 1 })
// .fromTo(secondBoxRef.current, { opacity: 1 }, { opacity: 0 })
// .fromTo(thirdBoxRef.current, { opacity: 0 }, { opacity: 1 });
// .fromTo(
// firstBoxRef.current,
// { opacity: 1, duration: 3, transform: "translateX(0vw)" },
// { opacity: 0, duration: 3, transform: "translateX(100vw)" }
// )
// .fromTo(
// secondBoxRef.current,
// { opacity: 0, duration: 1, transform: "translateX(-100vw)" },
// { opacity: 1, duration: 1, transform: "translateX(0vw)" }
// )
// .fromTo(
// secondBoxRef.current,
// { opacity: 1, duration: 3, transform: "translateX(0vw)" },
// { opacity: 0, duration: 3, transform: "translateX(100vw)" }
// )
// .fromTo(
// thirdBoxRef.current,
// { opacity: 0, duration: 1, transform: "translateX(-100vw)" },
// { opacity: 1, duration: 1, transform: "translateX(0vw)" }
// );
return () => {
// tl.kill();
};
}, []);
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
);
};
// import { Box, Container, Image, Stack, Text } from "@chakra-ui/react";
// import { Fade, Slide, SlideFade, Collapse } from "@chakra-ui/react";
// import { useEffect, useRef, useState } from "react";
// import { Component1 } from "./Component1";
// import { Component2 } from "./Component2";
// import { Component3 } from "./Component3";
// import { Component4 } from "./Component4";
// // import { SubnetPage2 } from "./SubnetPage2";
// import cube from "../../assets/images/cube.png";
// import stack from "../../assets/images/stackNew.webp";
// import { gsap } from "gsap";
// import { ScrollTrigger } from "gsap/ScrollTrigger";
// // Initialize ScrollTrigger
// gsap.registerPlugin(ScrollTrigger);
// // const SubnetContent = {
// // heading: `decentralised Auto Syncing subnets`,
// // };
// export const NewSubnetComp = () => {
// const firstBoxRef = useRef(null);
// const secondBoxRef = useRef(null);
// const thirdBoxRef = useRef(null);
// const mainBox = useRef(null);
// useEffect(() => {
// gsap.set(firstBoxRef.current, { opacity: 1 });
// let tl = gsap
// .timeline({
// scrollTrigger: {
// trigger: mainBox.current,
// start: "top top",
// scrub: 1,
// pin: true,
// end: "bottom bottom",
// markers: false,
// },
// })
// .fromTo(firstBoxRef.current, { alpha: 1 }, { alpha: 0 })
// .fromTo(secondBoxRef.current, { alpha: 0 }, { alpha: 1 })
// .fromTo(secondBoxRef.current, { alpha: 1 }, { alpha: 0 })
// .fromTo(thirdBoxRef.current, { alpha: 0 }, { alpha: 1 });
// return () => {
// tl.kill();
// };
// }, []);
// 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
//
//
//
//
//
//
//
// );
// };