diff --git a/src/components/Card/HappenCard.jsx b/src/components/Card/HappenCard.jsx
index d7ff43d..e0e5a3a 100644
--- a/src/components/Card/HappenCard.jsx
+++ b/src/components/Card/HappenCard.jsx
@@ -12,6 +12,12 @@ const HappenCard = ({ key, date, text, para, month, curentDate }) => {
position={"relative"}
// minHeight={"402px"}
key={key}
+ sx={{
+ "@media (max-width: 500px)": {
+ width:'320px',
+ minHeight:'300px'
+ },
+ }}
>
{
{curentDate}
-
+
{date}
-
+
{text}
- {para}
+
+ {para}
+
diff --git a/src/components/Card/InsightsCard.jsx b/src/components/Card/InsightsCard.jsx
index 6dc96a0..b11ba0e 100644
--- a/src/components/Card/InsightsCard.jsx
+++ b/src/components/Card/InsightsCard.jsx
@@ -13,6 +13,11 @@ const InsightsCard = ({ key, title, text }) => {
}
padding={"1px"}
borderRadius={"10px"}
+ sx={{
+ "@media (max-width: 500px)": {
+ marginBottom:'2rem'
+ },
+ }}
>
{
minHeight={"430px"}
key={key}
transition={"all 1s"}
+ sx={{
+ "@media (max-width: 500px)": {
+ width:'320px',
+ minHeight:'300px'
+ },
+ }}
>
@@ -39,13 +50,25 @@ const InsightsCard = ({ key, title, text }) => {
bottom={"14px"}
left={"12px"}
transition={"all 1s"}
+ sx={{
+ "@media (max-width: 500px)": {
+ fontSize:'12px',
+ },
+ }}
>
INSIGHT
)}
-
+
{title}
{
marginBottom={"20px"}
minHeight={"73px"}
maxWidth={"460px"}
+ sx={{
+ "@media (max-width: 500px)": {
+ fontSize:'14px',
+ },
+ }}
>
{text}
diff --git a/src/components/Card/PlaceCard.jsx b/src/components/Card/PlaceCard.jsx
index 69b56db..a41c604 100644
--- a/src/components/Card/PlaceCard.jsx
+++ b/src/components/Card/PlaceCard.jsx
@@ -1,14 +1,11 @@
/* eslint-disable no-unused-vars */
import { Box, Container, Text, Image, Button } from "@chakra-ui/react";
-import {ArrowForwardIcon } from '@chakra-ui/icons'
-import Arrow from "../../assets/images/arrow-right.png"
+import { ArrowForwardIcon } from "@chakra-ui/icons";
+import Arrow from "../../assets/images/arrow-right.png";
-const PlaceCard = ({ key, text, cardicon ,title,button}) => {
+const PlaceCard = ({ key, text, cardicon, title, button }) => {
return (
-
+
{
minHeight={"350px"}
key={key}
padding={"15px 20px"}
+ sx={{
+ "@media (max-width: 500px)": {
+ width: "320px",
+ fontWeight: "400",
+ minHeight:'290px'
+ },
+ }}
>
-
+
-
- {title}
+
+ {title}
{
marginBottom={"20px"}
minHeight={"73px"}
maxWidth={"460px"}
+ sx={{
+ "@media (max-width: 500px)": {
+ fontSize: "12px",
+ },
+ }}
>
{text}
-
+
{
fontWeight={"400"}
display={"flex"}
alignItems={"center"}
+ sx={{
+ "@media (max-width: 500px)": {
+ fontSize: "12px",
+ },
+ }}
>
- {button}
+ {button}
+
diff --git a/src/components/Community/CommunityBanner.jsx b/src/components/Community/CommunityBanner.jsx
index f34f9da..fba7458 100644
--- a/src/components/Community/CommunityBanner.jsx
+++ b/src/components/Community/CommunityBanner.jsx
@@ -68,16 +68,12 @@ const CommunityBanner = () => {
letterSpacing={"1px"}
sx={{
"@media (max-width: 996px)": {
- fontSize: "35px",
+ fontSize: "46px",
},
"@media (max-width: 600px)": {
- fontSize: "28px",
- marginBottom: "2rem",
- },
- "@media (max-width: 500px)": {
- marginTop: "2rem",
- marginBottom: "2rem",
- fontSize: "36px",
+ fontSize: "40px",
+ marginBottom: "0rem",
+ lineHeight:'54px'
},
}}
>
@@ -113,6 +109,7 @@ const CommunityBanner = () => {
},
"@media (max-width: 500px)": {
fontSize: "16px",
+ lineHeight:'28px'
},
}}
>
@@ -162,6 +159,10 @@ const CommunityBanner = () => {
width: "230px",
height: "44px",
marginTop: "2rem",
+ bgGradient:
+ "radial-gradient(circle, #ffffff, #eee2f2, #e7c3dc, #e5a3ba, #de858e)",
+ color:'#000',
+ fontWeight:'600'
},
}}
_hover={{
diff --git a/src/components/Community/Connect.jsx b/src/components/Community/Connect.jsx
index d1fba9f..831313c 100644
--- a/src/components/Community/Connect.jsx
+++ b/src/components/Community/Connect.jsx
@@ -64,99 +64,175 @@ const Connect = () => {
backgroundRepeat={"no-repeat"}
>
Connect with Rubix community
-
- {items.map((item) => (
- <>
-
+ {items.map((item) => (
+ <>
+
+
-
- */}
+
- {/* */}
-
+
+
+
+
+
+
+
- {item.head}
-
-
-
-
-
-
-
-
- {item.social1}
+ {item.social1}
+
+
+
+
+
+ {item.social2}
+
+
+ {item.social3 ? (
+
+
+
+ {item.social3}
-
-
-
- {item.social2}
-
-
- {item.social3 ? (
-
-
-
- {item.social3}
-
-
- ) : (
- ""
- )}
-
-
-
- >
- ))}
-
+ ) : (
+ ""
+ )}
+
+
+
+ >
+ ))}
+
);
diff --git a/src/components/Community/Happen.jsx b/src/components/Community/Happen.jsx
index 58b1e1d..2ac1b3f 100644
--- a/src/components/Community/Happen.jsx
+++ b/src/components/Community/Happen.jsx
@@ -40,8 +40,7 @@ const Content = {
heading: `Latest Happenings`,
};
-const Happen = () => {
- return (
+const Happen = () => { return (
{
"@media (max-width: 1024px)": {
padding: "3rem",
},
- "@media (max-width: 435px)": {},
+ "@media (max-width: 500px)": {
+ padding:'1rem'
+ },
}}
>
{
fontSize={"40px"}
textTransform={"capitalize"}
color={"#fff"}
+ sx={{
+ "@media (max-width: 500px)": {
+ fontSize: "22px",
+ fontWeight:'400'
+ },
+ }}
>
{Content.heading}
@@ -74,8 +81,8 @@ const Happen = () => {
paddingBottom={"2rem"}
// height={"50vh"}
sx={{
- "@media (max-width: 435px)": {
- paddingLeft: "3rem",
+ "@media (max-width: 500px)": {
+ paddingLeft: "0rem",
},
}}
>
@@ -83,6 +90,15 @@ const Happen = () => {
{Latest.map((item) => (
{
))}
-
+
-
-
+ fontWeight: "600",
+ },
+ }}
+ _hover={{
+ color: "#000",
+ border: "none",
+ zIndex: 1,
+ }}
+ >
+ View More
+
+
);
};
diff --git a/src/components/Community/LearnMore.jsx b/src/components/Community/LearnMore.jsx
index 7e77a94..b10bb74 100644
--- a/src/components/Community/LearnMore.jsx
+++ b/src/components/Community/LearnMore.jsx
@@ -29,15 +29,16 @@ const LearnMore = () => {
paddingTop={"3rem"}
paddingBottom={"1rem"}
fontWeight={700}
- // fontSize={"40px"}
- className="rubix-text-title"
+ fontSize={"38px"}
textAlign={"center"}
textTransform={"capitalize"}
color={"#fff"}
sx={{
"@media (max-width: 1024px)": {},
- "@media (max-width: 600px)": {
- fontSize: "28px",
+ "@media (max-width: 500px)": {
+ fontSize: "20px",
+ fontWeight:'500',
+ marginBottom:'5px'
},
}}
>
@@ -53,10 +54,17 @@ const LearnMore = () => {
>
{SectionContent.subContent}
@@ -64,7 +72,7 @@ const LearnMore = () => {
{
borderRadius: "0px",
opacity: "1",
},
+ "@media (max-width: 500px)": {
+ padding:'5px 15px',
+ height:'40px',
+ fontSize:'14px',
+ margin:'0 7px',
+ bgGradient:
+ "radial-gradient(circle, #ffffff, #eee2f2, #e7c3dc, #e5a3ba, #de858e)",
+ color:'#000',
+ fontWeight:'600'
+ },
}}
_hover={{
color: "#000",
@@ -109,7 +127,7 @@ const LearnMore = () => {
{
borderRadius: "0px",
opacity: "1",
},
+ "@media (max-width: 500px)": {
+ padding:'5px 15px',
+ height:'40px',
+ fontSize:'14px',
+ margin:'0 7px',
+ bgGradient:
+ "radial-gradient(circle, #ffffff, #eee2f2, #e7c3dc, #e5a3ba, #de858e)",
+ color:'#000',
+ fontWeight:'600'
+ },
}}
_hover={{
color: "#000",
diff --git a/src/components/Community/Place.jsx b/src/components/Community/Place.jsx
index 26ca2c7..39dce4a 100644
--- a/src/components/Community/Place.jsx
+++ b/src/components/Community/Place.jsx
@@ -50,13 +50,18 @@ const Place = () => {
backgroundSize={"cover"}
backgroundRepeat={"no-repeat"}
backgroundImage={`url(${Banner})`}
+ sx={{
+ "@media (max-width: 500px)": {
+ backgroundImage: "inherit",
+ },
+ }}
>
@@ -68,11 +73,9 @@ const Place = () => {
textTransform={"capitalize"}
color={"#fff"}
sx={{
- "@media (max-width: 435px)": {
- fontSize: "35px",
- },
- "@media (max-width: 375px)": {
- fontSize: "28px",
+ "@media (max-width: 500px)": {
+ fontSize: "22px",
+ fontWeight:'400',
},
}}
>
diff --git a/src/components/MobileComponent/MobileCommunityCard.jsx b/src/components/MobileComponent/MobileCommunityCard.jsx
new file mode 100644
index 0000000..b95a46c
--- /dev/null
+++ b/src/components/MobileComponent/MobileCommunityCard.jsx
@@ -0,0 +1,236 @@
+import React from "react";
+import { Swiper, SwiperSlide } from "swiper/react";
+import { Box, Container, SimpleGrid, Text, Image } from "@chakra-ui/react";
+import "swiper/css";
+import "swiper/css/pagination";
+import imgOne from "../../assets/images/Component115.png";
+import imgtwo from "../../assets/images/Component116.png";
+import imgthree from "../../assets/images/Component117.png";
+import imgfour from "../../assets/images/Component118.png";
+import imgfive from "../../assets/images/Component119.png";
+import imgsix from "../../assets/images/Component120.png";
+import imgseven from "../../assets/images/Component121.png";
+import imgeight from "../../assets/images/Component122.png";
+import imgnine from "../../assets/images/Component123.png";
+import imgten from "../../assets/images/Component128.png";
+import imgeleven from "../../assets/images/Component127.png";
+import linkedin from "../../assets/images/linkedin.png";
+import games from "../../assets/images/discot.png";
+import {Pagination,Navigation} from "swiper/modules"
+
+const individuals = [
+ {
+ location: "india",
+ name: "KC Reddy",
+ jobTitle: "Founder/CTO",
+ description:
+ "A visionary poised to deliver trustless, secure internet and passwordless cyber security",
+ imageUrl: imgOne,
+ },
+ {
+ location: "india",
+ name: "Ravi Srinivasa Murty",
+ jobTitle: "Chief Strategy Officer",
+ description:
+ "Global business leader with a technology orientation and a vision to drive economic value.",
+ imageUrl: imgtwo,
+ },
+ {
+ location: "india",
+ name: "Hari Krishnan",
+ jobTitle: "Chief Growth Officer",
+ description:
+ "Deeply passionate about Cryptography, Zero Knowledge Proofs, and Number Theory.",
+ imageUrl: imgthree,
+ },
+ {
+ location: "india",
+ name: "Eser Torun, CFA",
+ jobTitle: "Chief Growth Officer",
+ description:
+ "Deeply passionate about Cryptography, Zero Knowledge Proofs, and Number Theory.",
+ imageUrl: imgten,
+ },
+ {
+ location: "india",
+ name: "Gokul P S",
+ jobTitle: "Core Blockchain Developer",
+ description:
+ "A proactive Web3 enthusiast ensuring the security and scalability of our 51.4M proofchains.",
+ imageUrl: imgfour,
+ },
+ {
+ location: "india",
+ name: "Allen Iype P Cherian",
+ jobTitle: "Blockchain Engineer",
+ description:
+ "A motivated and responsible B tech Graduate, with a strong work ethic.",
+ imageUrl: imgfive,
+ },
+ {
+ location: "india",
+ name: "Nidhin M.",
+ jobTitle: "Lead Engineer",
+ description:
+ "Developed revolutionary PoP protocol, P2P data transfer and transaction processing functions.",
+ imageUrl: imgsix,
+ },
+ {
+ location: "india",
+ name: "Arnab Ghose",
+ jobTitle: "Senior Blockchain Engineer",
+ description:
+ "Developed revolutionary PoP protocol, P2P data transfer and transaction processing functions.",
+ imageUrl: imgeleven,
+ },
+ {
+ location: "india",
+ name: "ASHITA GUPTA",
+ jobTitle: "Blockchain Developer",
+ description:
+ "Enthusiastic blockchain developer who pushes herself every day to excel at work.",
+ imageUrl: imgseven,
+ },
+ {
+ location: "india",
+ name: "Vaishnav C H",
+ jobTitle: "Blockchain Developer",
+ description:
+ "A very humble and talented Golang developer and mechatronics and blockchain engineer",
+ imageUrl: imgeight,
+ },
+ {
+ location: "india",
+ name: "Maneesha Panda",
+ jobTitle: "Blockchain Engineer",
+ description:
+ "A highly keen blockchain engineer with a zeal for innovation who brings new ideas to the table.",
+ imageUrl: imgnine,
+ },
+ {
+ location: "india",
+ name: "Maneesha Panda",
+ jobTitle: "Blockchain Engineer",
+ description:
+ "A highly keen blockchain engineer with a zeal for innovation who brings new ideas to the table.",
+ imageUrl: imgnine,
+ },
+];
+
+const MobileCommunityCard = () => {
+ return (
+ <>
+
+
+
+ Rubix Community
+
+ console.log("slide change")}
+ onSwiper={(swiper) => console.log(swiper)}
+ style={{paddingBottom:'60px',position:'relative'}}
+
+ >
+ {individuals.map((item) => (
+
+
+
+
+
+
+
+ {item.name}
+
+
+ {item.jobTitle}
+
+
+ {item.description}
+
+
+
+
+
+
+ ))}
+
+
+
+ >
+ );
+};
+
+export default MobileCommunityCard;
diff --git a/src/index.css b/src/index.css
index 6a332f1..a76ba1c 100644
--- a/src/index.css
+++ b/src/index.css
@@ -48,7 +48,42 @@
color: #de858e;
/* background-color: #de858e; */
}
-
+span.swiper-pagination-bullet {
+ background: #de858e;
+ width: 35px;
+ height: 3px;
+ border-radius: 0;
+}
+.team-slider .swiper-button-next:after {
+ position: absolute;
+ top: 185px;
+ width: 38px;
+ height: 38px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ border-radius: 50px;
+ font-size: 18px;
+ color: #000;
+ font-weight: 700;
+ right: 110px;
+ background-image: radial-gradient(circle, #ffffff, #eee2f2, #e7c3dc, #e5a3ba, #de858e);
+}
+.team-slider .swiper-button-prev:after {
+ position: absolute;
+ top: 185px;
+ width: 38px;
+ height: 38px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ border-radius: 50px;
+ font-size: 18px;
+ color: #000;
+ font-weight: 700;
+ left: 110px;
+ background-image: radial-gradient(circle, #ffffff, #eee2f2, #e7c3dc, #e5a3ba, #de858e);
+}
/* html {
font-family: "Mona Sans";
} */
diff --git a/src/pages/Community.jsx b/src/pages/Community.jsx
index 1b013a6..858cf24 100644
--- a/src/pages/Community.jsx
+++ b/src/pages/Community.jsx
@@ -1,4 +1,4 @@
-import React from 'react'
+import React, { useEffect, useState } from 'react'
import CommunityBanner from '../components/Community/CommunityBanner'
import CommunityCard from '../components/Community/CommunityCard'
import Place from '../components/Community/Place'
@@ -7,12 +7,35 @@ import Happen from '../components/Community/Happen'
import Insights from '../components/Community/Insights'
import LearnMore from '../components/Community/LearnMore'
import Footer from '../components/Footer/Footer'
+import MobileCommunityCard from '../components/MobileComponent/MobileCommunityCard'
const Community = () => {
+ const [windowWidth, setWindowWidth] = useState(window.innerWidth);
+
+ useEffect(() => {
+ const handleResize = () => {
+ setWindowWidth(window.innerWidth);
+ };
+
+ window.addEventListener("resize", handleResize);
+
+ return () => {
+ window.removeEventListener("resize", handleResize);
+ };
+ }, []);
+
+ useEffect(() => {
+ // Scroll to the top of the page when the component mounts
+ window.scrollTo(0, 0);
+ }, []);
+
+ const isMobile = windowWidth <= 996;
+
+
return (
<>
-
+ {!isMobile ? : }