From 1ed4b05eb876881efcb2dfc59820cd9dcdd0abff Mon Sep 17 00:00:00 2001 From: YasinShaikh123 <123150391+YasinShaikh123@users.noreply.github.com> Date: Mon, 8 Apr 2024 16:12:52 +0530 Subject: [PATCH 1/2] spacing --- src/components/HomePage/HomeBanner.jsx | 44 +++++++++---------- src/components/HomePage/Stats.jsx | 23 ++++++---- src/components/NavBar/NavBar.jsx | 18 +++++--- .../SubnetsComponent/Component1.jsx | 7 +-- .../SubnetsComponent/Component2.jsx | 7 +-- .../SubnetsComponent/Component3.jsx | 7 +-- .../SubnetsComponent/Component4.jsx | 10 +++-- .../SubnetsComponent/SubnetPage2.jsx | 6 +-- 8 files changed, 69 insertions(+), 53 deletions(-) diff --git a/src/components/HomePage/HomeBanner.jsx b/src/components/HomePage/HomeBanner.jsx index 9306611..16245fc 100644 --- a/src/components/HomePage/HomeBanner.jsx +++ b/src/components/HomePage/HomeBanner.jsx @@ -50,16 +50,27 @@ const HomeBanner = () => { }, }} > - + {BannerContent.map((item, index) => { return ( { }} > {item.heading1} - {item.heading2} - + - { > {item.subheading} - ); })} - - {BannerContent[2] && ( - Only L1 powering full mobile nodes - + 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 diff --git a/src/components/SubnetsComponent/Component2.jsx b/src/components/SubnetsComponent/Component2.jsx index e9a6115..fc6f795 100644 --- a/src/components/SubnetsComponent/Component2.jsx +++ b/src/components/SubnetsComponent/Component2.jsx @@ -23,6 +23,7 @@ export const Component2 = () => { borderRadius={"28.5px"} color={"#fff"} border={"1px solid #A5A5A5"} + fontSize={"16px"} _after={{ content: "''", position: "absolute", @@ -46,9 +47,9 @@ export const Component2 = () => { - Leverage own infrastructure for block space - Smart contracts in Rust , GoLang and C/C++ - WASM compiler for smooth code migration + Leverage own infrastructure for block space + Smart contracts in Rust , GoLang and C/C++ + WASM compiler for smooth code migration ); diff --git a/src/components/SubnetsComponent/Component3.jsx b/src/components/SubnetsComponent/Component3.jsx index 5f1358a..b1b82d9 100644 --- a/src/components/SubnetsComponent/Component3.jsx +++ b/src/components/SubnetsComponent/Component3.jsx @@ -29,6 +29,7 @@ export const Component3 = () => { borderRadius={"28.5px"} color={"#fff"} border={"1px solid #A5A5A5"} + fontSize={"16px"} _before={{ content: "''", position: "absolute", @@ -58,9 +59,9 @@ export const Component3 = () => { width={"552px"} > - No GAS fees - Incremental and modular infrastructure ask - + No GAS fees + Incremental and modular infrastructure ask + No expensive re training of development
resources
diff --git a/src/components/SubnetsComponent/Component4.jsx b/src/components/SubnetsComponent/Component4.jsx index 65504cf..94cdcd1 100644 --- a/src/components/SubnetsComponent/Component4.jsx +++ b/src/components/SubnetsComponent/Component4.jsx @@ -23,12 +23,14 @@ export const Component4 = () => {
- - - ); }; diff --git a/src/components/BuildPage/Connect.jsx b/src/components/BuildPage/Connect.jsx index 9b35ec0..50d53cd 100644 --- a/src/components/BuildPage/Connect.jsx +++ b/src/components/BuildPage/Connect.jsx @@ -147,12 +147,16 @@ const Connect = () => { {item.social2} - - - - {item.social3} - - + {item.social3 ? ( + + + + {item.social3} + + + ) : ( + "" + )} {/* <>{console.log(item.logo1)} */} diff --git a/src/components/BuildPage/LearnMore.jsx b/src/components/BuildPage/LearnMore.jsx index e20cc8c..a51215b 100644 --- a/src/components/BuildPage/LearnMore.jsx +++ b/src/components/BuildPage/LearnMore.jsx @@ -26,9 +26,9 @@ const LearnMore = () => { { background={"transparent"} color={"#fff"} fontFamily={"Poppins"} - // fontWeight={"500"} - fontSize={"18px"} + fontWeight={"100"} + fontSize={"16px"} padding={"0px"} _hover={{ background: "transparent", diff --git a/src/components/BuildPage/Tools.jsx b/src/components/BuildPage/Tools.jsx index 11b0f90..6fa7cf9 100644 --- a/src/components/BuildPage/Tools.jsx +++ b/src/components/BuildPage/Tools.jsx @@ -62,17 +62,17 @@ const Tools = () => { - Tools and resources to help you succeed + Tools And Resources To Help You Succeed { <> { borderRadius={"10px"} height={"100%"} > - - + + {/* */} { - + { cursor={"pointer"} transition="0.3s ease-in" color={"#fff"} - width={"227px"} - height={"60px"} + width={"216px"} + height={"54px"} fontFamily={"Poppins"} fontWeight={"400"} border={"1px solid white"} borderRadius={"10px"} - fontSize={"20px"} + fontSize={"18px"} zIndex={"1"} overflow={"hidden"} marginTop={"4rem"} diff --git a/src/components/BuildPage/WhyBuild.jsx b/src/components/BuildPage/WhyBuild.jsx index 6d3c5c1..929effd 100644 --- a/src/components/BuildPage/WhyBuild.jsx +++ b/src/components/BuildPage/WhyBuild.jsx @@ -115,7 +115,7 @@ const WhyBuild = () => { textAlign="left" fontFamily={"Mona Sans"} fontWeight={"500"} - fontSize={"30px"} + fontSize={"28px"} color={"#fff"} sx={{ "@media (max-width: 435px)": { @@ -135,7 +135,7 @@ const WhyBuild = () => { fontWeight={"400"} color={"#E8E8E8"} width={"100%"} - fontSize={"21px"} + fontSize={"20px"} paddingLeft={"0px"} sx={{ "@media (max-width: 1024px)": { diff --git a/src/components/Card/CommCard.jsx b/src/components/Card/CommCard.jsx index 40a7c4c..33f5c26 100644 --- a/src/components/Card/CommCard.jsx +++ b/src/components/Card/CommCard.jsx @@ -39,17 +39,17 @@ const CommCard = ({ id, imageUrl, name, jobTitle, description, location }) => { content: "''", position: "absolute", bottom: 0, - left: "20px", - height: "67%", + left: "15px", + height: "62%", width: "100%", borderLeft: "1px solid #ffffff70", }} > - + {/* {
{curentDate}
- + {date} diff --git a/src/components/Card/InsightsCard.jsx b/src/components/Card/InsightsCard.jsx index a32c954..6dc96a0 100644 --- a/src/components/Card/InsightsCard.jsx +++ b/src/components/Card/InsightsCard.jsx @@ -9,7 +9,7 @@ const InsightsCard = ({ key, title, text }) => { return ( { return ( @@ -17,10 +14,11 @@ const LearnCard = ({ id, src, alt, text }) => { { }, }} > - - {alt} + + {alt} {text} diff --git a/src/components/Community/CommunityBanner.jsx b/src/components/Community/CommunityBanner.jsx index d8cf892..f34f9da 100644 --- a/src/components/Community/CommunityBanner.jsx +++ b/src/components/Community/CommunityBanner.jsx @@ -35,10 +35,15 @@ const CommunityBanner = () => { }} > { }} > { { }, "@media (max-width: 500px)": { marginTop: "2rem", - marginBottom:'2rem', - fontSize:'36px' + marginBottom: "2rem", + fontSize: "36px", }, }} > - {BannerContent[0].heading1}
- {BannerContent[0].heading2} - + {BannerContent[0].heading1} + {" "} +
+ {BannerContent[0].heading2}
- { > { {BannerContent[1].subheading} +
-
); diff --git a/src/components/Community/CommunityCard.jsx b/src/components/Community/CommunityCard.jsx index cdb2510..077f669 100644 --- a/src/components/Community/CommunityCard.jsx +++ b/src/components/Community/CommunityCard.jsx @@ -130,7 +130,7 @@ const CommunityCard = () => { { > { Rubix Community {individuals.map((item) => ( { { fontWeight={"700"} // fontSize={"40px"} color={"#fff"} - marginBottom={"35px"} + marginBottom={"3rem"} > Connect with Rubix community
@@ -138,7 +139,7 @@ const Connect = () => { {item.social2} - + {item.social3 ? ( diff --git a/src/components/Community/Happen.jsx b/src/components/Community/Happen.jsx index ab9b686..58b1e1d 100644 --- a/src/components/Community/Happen.jsx +++ b/src/components/Community/Happen.jsx @@ -81,7 +81,7 @@ const Happen = () => { > {Latest.map((item) => ( @@ -103,8 +103,8 @@ const Happen = () => { cursor={"pointer"} transition="background-color 0.3s ease-in-out, color 0.1s ease-in-out" color={"#fff"} - width={"227px"} - height={"60px"} + width={"216px"} + height={"54px"} fontFamily={"Poppins"} fontWeight={"400"} border={"1px solid white"} diff --git a/src/components/Community/Insights.jsx b/src/components/Community/Insights.jsx index 528da5b..9687954 100644 --- a/src/components/Community/Insights.jsx +++ b/src/components/Community/Insights.jsx @@ -86,8 +86,8 @@ const Insights = () => { cursor={"pointer"} transition="background-color 0.3s ease-in-out, color 0.1s ease-in-out" color={"#fff"} - width={"227px"} - height={"60px"} + width={"210px"} + height={"54px"} fontFamily={"Poppins"} fontWeight={"400"} border={"1px solid white"} diff --git a/src/components/Community/LearnMore.jsx b/src/components/Community/LearnMore.jsx index c4fefc9..7e77a94 100644 --- a/src/components/Community/LearnMore.jsx +++ b/src/components/Community/LearnMore.jsx @@ -26,8 +26,8 @@ const LearnMore = () => { > { display={"grid"} placeContent={"center"} // height={"30vh"} - paddingBottom={"3rem"} + paddingBottom={"4rem"} > { { > { justifyContent={"start"} alignItems={"baseline"} gap={"2rem"} - padding={"3rem 0rem"} + paddingTop={"5rem"} sx={{ "@media (max-width: 2160px)": {}, "@media (max-width: 1440px)": {}, @@ -133,17 +133,18 @@ const Contact = () => { textTransform={"capitalize"} fontWeight={"500"} fontFamily={"Poppins"} - fontSize={"20px"} + fontSize={"18px"} + marginBottom={"10px"} > Contact Us - + { Start reaching
your digital goals
- + { textTransform={"capitalize"} fontWeight={"500"} fontFamily={"Poppins"} - fontSize={"20px"} + fontSize={"18px"} > Social Media @@ -177,7 +178,7 @@ const Contact = () => { - + { fontWeight={"500"} fontFamily={"Poppins"} fontSize={"18px"} + padding={"0px"} > Chat to us @@ -213,6 +215,7 @@ const Contact = () => { fontWeight={"500"} fontFamily={"Poppins"} fontSize={"18px"} + padding={"0px"} > Call us @@ -284,9 +287,10 @@ const Contact = () => {