diff --git a/src/assets/images/BuildBanner.png b/src/assets/images/BuildBanner.png deleted file mode 100644 index e3bf308..0000000 Binary files a/src/assets/images/BuildBanner.png and /dev/null differ diff --git a/src/assets/images/BuildBanner.webp b/src/assets/images/BuildBanner.webp new file mode 100644 index 0000000..0dfe1b3 Binary files /dev/null and b/src/assets/images/BuildBanner.webp differ diff --git a/src/assets/images/faqBg.png b/src/assets/images/faqBg.png deleted file mode 100644 index 9f8f4ac..0000000 Binary files a/src/assets/images/faqBg.png and /dev/null differ diff --git a/src/assets/images/faqBg.webp b/src/assets/images/faqBg.webp new file mode 100644 index 0000000..8a3d88f Binary files /dev/null and b/src/assets/images/faqBg.webp differ diff --git a/src/assets/images/form.png b/src/assets/images/form.png deleted file mode 100644 index fecc597..0000000 Binary files a/src/assets/images/form.png and /dev/null differ diff --git a/src/assets/images/form.webp b/src/assets/images/form.webp new file mode 100644 index 0000000..4552d63 Binary files /dev/null and b/src/assets/images/form.webp differ diff --git a/src/assets/images/learnBanner.png b/src/assets/images/learnBanner.png deleted file mode 100644 index 7158be0..0000000 Binary files a/src/assets/images/learnBanner.png and /dev/null differ diff --git a/src/assets/images/learnBanner.webp b/src/assets/images/learnBanner.webp new file mode 100644 index 0000000..5f46fab Binary files /dev/null and b/src/assets/images/learnBanner.webp differ diff --git a/src/assets/images/whyRubix.webp b/src/assets/images/whyRubix.webp new file mode 100644 index 0000000..e6b583a Binary files /dev/null and b/src/assets/images/whyRubix.webp differ diff --git a/src/components/BuildPage/BuildBanner.jsx b/src/components/BuildPage/BuildBanner.jsx index d9069a0..fb8a08e 100644 --- a/src/components/BuildPage/BuildBanner.jsx +++ b/src/components/BuildPage/BuildBanner.jsx @@ -1,5 +1,5 @@ import { Box, Button, Container, Text } from "@chakra-ui/react"; -import banner from "../../assets/images/BuildBanner.png"; +import banner from "../../assets/images/BuildBanner.webp"; const BannerContent = [ { @@ -37,7 +37,7 @@ const BuildBanner = () => { maxW="container.xl" textAlign={"left"} marginTop={"2rem"} - paddingLeft={"5rem"} + paddingLeft={"4rem"} sx={{ "@media (max-width: 435px)": { paddingLeft: "2rem", @@ -56,7 +56,7 @@ const BuildBanner = () => { as={"h2"} fontWeight={700} fontSize={"60px"} - textTransform={"upperCase"} + textTransform={"capitalize"} color={"#DE858E"} sx={{ "@media (max-width: 996px)": { @@ -107,7 +107,7 @@ const BuildBanner = () => { maxW="container.xl" textAlign={"left"} marginTop={"3rem"} - paddingLeft={"5rem"} + paddingLeft={"4rem"} sx={{ "@media (max-width: 435px)": { paddingLeft: "2rem", diff --git a/src/components/BuildPage/Connect.jsx b/src/components/BuildPage/Connect.jsx index 8e19045..9b35ec0 100644 --- a/src/components/BuildPage/Connect.jsx +++ b/src/components/BuildPage/Connect.jsx @@ -108,6 +108,7 @@ const Connect = () => { background={"#000"} borderRadius={"10px"} minH={"270px"} + height={"100%"} border={"1px solid #454545"} > { @@ -130,7 +130,7 @@ const Tools = () => { position={"relative"} backgroundColor={"transparent"} cursor={"pointer"} - transition="0.3s ease-in-out" + transition="0.3s ease-in" color={"#fff"} width={"227px"} height={"60px"} @@ -153,7 +153,7 @@ const Tools = () => { width: "65px", height: "65px", borderRadius: "50%", - transition: "0.35s linear", + transition: "0.35s ease-in", zIndex: -1, bgGradient: "radial-gradient(circle, #ffffff, #eee2f2, #e7c3dc, #e5a3ba, #de858e)", diff --git a/src/components/BuildPage/WhyBuild.jsx b/src/components/BuildPage/WhyBuild.jsx index cc4f199..6d3c5c1 100644 --- a/src/components/BuildPage/WhyBuild.jsx +++ b/src/components/BuildPage/WhyBuild.jsx @@ -8,7 +8,7 @@ import { AccordionPanel, AccordionIcon, } from "@chakra-ui/react"; -import bg from "../../assets/images/whyRubix.png"; +import bg from "../../assets/images/whyRubix.webp"; import cube from "../../assets/images/cube.png"; const accordion = [ @@ -46,7 +46,7 @@ const WhyBuild = () => { > { const { @@ -218,8 +217,7 @@ const Contact = () => { Call us - { }} > 914 578 1245 - + diff --git a/src/components/HomePage/Stats.jsx b/src/components/HomePage/Stats.jsx index 8c71923..c7ca75a 100644 --- a/src/components/HomePage/Stats.jsx +++ b/src/components/HomePage/Stats.jsx @@ -9,11 +9,12 @@ const StatsContent = { const Stats = () => { const { ref, inView } = useInView({ - threshold: 0.3, + threshold: 0.5, triggerOnce: false, }); return ( { > { "@media (max-width: 375px)": {}, }} > - + { }} /> - + { }} /> - + { }} /> - + { +export const NewSubnetComp = () => { const firstBoxRef = useRef(null); const secondBoxRef = useRef(null); const thirdBoxRef = useRef(null); - const mainBox = useRef(null); + const textBox = useRef(null); useEffect(() => { const animateBox = (boxRef) => { @@ -40,13 +40,36 @@ export const NewSubnetComp = ({ showSubnet }) => { { position: "sticky", top: "-116px", + opacity: 0, + autoAlpha: 1, }, { - transform: "translateX(0)", + // transform: "translateX(0)", + // duration: 0.5, + opacity: 1, + duration: 1, + autoAlpha: 0, + } + ); + const tl2 = gsap.timeline({ + scrollTrigger: { + trigger: textBox.current, + start: "top center+=50", + end: "bottom bottom+=100", + scrub: 1, + markers: false, + }, + }); + tl2.fromTo( + textBox.current, + { + opacity: 0, + }, + { + opacity: 1, duration: 0.5, } ); - return () => { // Clean up tl.kill(); @@ -55,33 +78,10 @@ export const NewSubnetComp = ({ showSubnet }) => { animateBox(firstBoxRef); animateBox(secondBoxRef); animateBox(thirdBoxRef); - - // const tl2 = gsap.timeline({ - // scrollTrigger: { - // trigger: mainBox.current, - // start: "top top", - // end: "bottom bottom", - // scrub: 1, - // markers: false, - // }, - // }); - // tl2.fromTo( - // mainBox.current, - // { - // position: "sticky", - // top: 60, - // left: 0, - // duration: 0.5, - // }, - // { - // position: "relative", - // duration: 0.5, - // } - // ); }, []); return ( - + { fontSize={"40px"} textTransform={"capitalize"} color={"#fff"} + ref={textBox} sx={{ "@media (max-width: 1024px)": {}, "@media (max-width: 600px)": { @@ -118,6 +119,7 @@ export const NewSubnetComp = ({ showSubnet }) => { position={"relative"} padding={"0 4rem"} paddingBottom={"50px"} + ref={textBox} > { textAlign={"left"} position={"relative"} width={"383px"} + ref={textBox} > @@ -158,6 +161,7 @@ export const NewSubnetComp = ({ showSubnet }) => { textAlign={"left"} position={"relative"} width={"383px"} + ref={textBox} > @@ -168,6 +172,7 @@ export const NewSubnetComp = ({ showSubnet }) => { textAlign={"left"} position={"relative"} width={"383px"} + ref={textBox} > @@ -177,6 +182,7 @@ export const NewSubnetComp = ({ showSubnet }) => { textAlign={"left"} position={"relative"} width={"383px"} + ref={textBox} > @@ -190,104 +196,118 @@ export const NewSubnetComp = ({ showSubnet }) => { paddingBottom={"2rem"} ref={secondBoxRef} > - - - With Unmatched Privacy and Scalability - - - - - + With Unmatched Privacy and Scalability + + + + + + "100%": { + transform: "translateY(-20px)", + }, + }, + }} + /> + + + + + 01. Decentralisation + + + Rubix Decentralised Identity( DID) issued at L1 is the + foundation for building digital ownership enhancing + applications. + - - - - 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 - - + + + 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 + - - + + { Single Comprehensive Stack: - Full Mobile node SDK, Smart Contracts, DID's, Secondary + Full Mobile node SDK, Smart Contracts, DID's, Secondary tokens ( FTs and NFTs) all in one place.