diff --git a/src/assets/images/kiran.jpg b/src/assets/images/kiran.jpg
new file mode 100644
index 0000000..a8baa21
Binary files /dev/null and b/src/assets/images/kiran.jpg differ
diff --git a/src/components/Card/CommCard.jsx b/src/components/Card/CommCard.jsx
index 7d8ec38..aa2d615 100644
--- a/src/components/Card/CommCard.jsx
+++ b/src/components/Card/CommCard.jsx
@@ -1,12 +1,26 @@
/* eslint-disable react/prop-types */
/* eslint-disable no-unused-vars */
-import { Text, SimpleGrid, Card, Image, Box, Flex } from "@chakra-ui/react";
+import {
+ Text,
+ SimpleGrid,
+ Card,
+ Image,
+ Box,
+ Flex,
+ border,
+} from "@chakra-ui/react";
// import map from "../../assets/images/map-pin.png";
import linkedin from "../../assets/images/linkedin.png";
import games from "../../assets/images/discot.png";
import { Link } from "react-router-dom";
const CommCard = ({ id, imageUrl, name, jobTitle, description, link }) => {
+ const imgHeight = {
+ minWidth: `214px`,
+ height: "240px",
+ borderRadius: "10px",
+ objectFit: "cover",
+ };
return (
{
},
}}
>
-
+
{
diff --git a/src/components/MobileComponent/MobileSubnet.jsx b/src/components/MobileComponent/MobileSubnet.jsx
index 472696a..4af0449 100644
--- a/src/components/MobileComponent/MobileSubnet.jsx
+++ b/src/components/MobileComponent/MobileSubnet.jsx
@@ -91,9 +91,9 @@ const MobileSubnet = () => {
{
P2P
- 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.
@@ -122,7 +124,7 @@ const MobileSubnet = () => {
paddingTop={"2rem"}
fontWeight={500}
fontSize={"16px"}
- textTransform={"capitalize"}
+ textTransform={"uppercase"}
color={"#fff"}
sx={{
"@media (max-width: 1024px)": {},
@@ -134,13 +136,11 @@ const MobileSubnet = () => {
Self Sovereign
-
+
Permissioned subnets with no oracles and
{" "}
intermediaries
-
- INo block space ransom
-
+ No block space ransom
Zero risk of transactions being blocked out of
chain.
@@ -154,7 +154,7 @@ const MobileSubnet = () => {
paddingTop={"2rem"}
fontWeight={500}
fontSize={"16px"}
- textTransform={"capitalize"}
+ textTransform={"uppercase"}
color={"#fff"}
sx={{
"@media (max-width: 1024px)": {},
@@ -174,13 +174,15 @@ const MobileSubnet = () => {
},
}}
>
-
+
Leverage own infrastructure for block space
-
+
Smart contracts in Rust , GoLang and C/C++
- WASM compiler for smooth code migration
+
+ WASM compiler for smooth code migration
+
@@ -190,7 +192,7 @@ const MobileSubnet = () => {
paddingTop={"2rem"}
fontWeight={500}
fontSize={"16px"}
- textTransform={"capitalize"}
+ textTransform={"uppercase"}
color={"#fff"}
sx={{
"@media (max-width: 1024px)": {},
@@ -202,8 +204,8 @@ const MobileSubnet = () => {
cheaper
- No GAS fees
-
+ No GAS fees
+
Incremental and modular infrastructure ask
diff --git a/src/components/NewsPage/NewsContent.jsx b/src/components/NewsPage/NewsContent.jsx
new file mode 100644
index 0000000..79ff4f6
--- /dev/null
+++ b/src/components/NewsPage/NewsContent.jsx
@@ -0,0 +1,189 @@
+/* eslint-disable no-unused-vars */
+import { Box, Container, Image, Text } from "@chakra-ui/react";
+import cardimg from "../../assets/images/cardimg2.png";
+import { Link } from "react-router-dom";
+import { useState } from "react";
+import Pagination from "../Pagination/Pagination";
+
+const contents = [
+ {
+ id: 1,
+ title: `Financial Times Crypto & Digital Assets Summit Panel`,
+ contetn: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut et massa mi.`,
+ },
+ {
+ id: 2,
+ title: `Financial Times Crypto & Digital Assets Summit Panel`,
+ contetn: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut et massa mi.`,
+ },
+ {
+ id: 3,
+ title: `Financial Times Crypto & Digital Assets Summit Panel`,
+ contetn: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut et massa mi.`,
+ },
+ {
+ id: 4,
+ title: `Financial Times Crypto & Digital Assets Summit Panel`,
+ contetn: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut et massa mi.`,
+ },
+ {
+ id: 5,
+ title: `Financial Times Crypto & Digital Assets Summit Panel`,
+ contetn: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut et massa mi.`,
+ },
+ {
+ id: 6,
+ title: `Financial Times Crypto & Digital Assets Summit Panel`,
+ contetn: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut et massa mi.`,
+ },
+ {
+ id: 7,
+ title: `Financial Times Crypto & Digital Assets Summit Panel`,
+ contetn: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut et massa mi.`,
+ },
+ {
+ id: 8,
+ title: `Financial Times Crypto & Digital Assets Summit Panel`,
+ contetn: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut et massa mi.`,
+ },
+ {
+ id: 9,
+ title: `Financial Times Crypto & Digital Assets Summit Panel`,
+ contetn: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut et massa mi.`,
+ },
+ {
+ id: 10,
+ title: `Financial Times Crypto & Digital Assets Summit Panel`,
+ contetn: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut et massa mi.`,
+ },
+ {
+ id: 11,
+ title: `Financial Times Crypto & Digital Assets Summit Panel`,
+ contetn: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut et massa mi.`,
+ },
+ {
+ id: 12,
+ title: `Financial Times Crypto & Digital Assets Summit Panel`,
+ contetn: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut et massa mi.`,
+ },
+ {
+ id: 13,
+ title: `Financial Times Crypto & Digital Assets Summit Panel`,
+ contetn: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut et massa mi.`,
+ },
+];
+
+const NewsContent = () => {
+ const [currentPage, setCurrentPage] = useState(1);
+ const itemsPerPage = 9;
+ const totalPages = Math.ceil(contents.length / itemsPerPage);
+
+ const handlePageChange = (newPage) => {
+ setCurrentPage(newPage);
+ window.scrollTo({ top: 0, behavior: "smooth" });
+ };
+
+ const startIndex = (currentPage - 1) * itemsPerPage;
+ const endIndex = Math.min(startIndex + itemsPerPage, contents.length);
+ const currentPageContents = contents.slice(startIndex, endIndex);
+ return (
+ <>
+
+
+ {currentPageContents.map((content) => (
+ <>
+
+
+
+
+ {content.title}
+
+
+
+
+ {content.contetn}
+
+
+ {/*
+
+
+
+
+ */}
+
+
+ >
+ ))}
+
+
+
+ >
+ );
+};
+
+export default NewsContent;
diff --git a/src/components/NewsPage/NewsHeader.jsx b/src/components/NewsPage/NewsHeader.jsx
new file mode 100644
index 0000000..4f5e166
--- /dev/null
+++ b/src/components/NewsPage/NewsHeader.jsx
@@ -0,0 +1,98 @@
+import { Badge, Box, Container, Text } from "@chakra-ui/react";
+
+const NewsHeader = () => {
+ return (
+
+
+
+ NEWS & ARTICLES
+
+
+ News from{" "}
+
+ Rubix
+
+
+
+
+ Stay up to date on what’s happening with Rubix,
+
learn about upcoming events and access
important
+ resources.
+
+
+
+
+ );
+};
+
+export default NewsHeader;
diff --git a/src/components/ResourcesPage/Pagination.jsx b/src/components/Pagination/Pagination.jsx
similarity index 96%
rename from src/components/ResourcesPage/Pagination.jsx
rename to src/components/Pagination/Pagination.jsx
index a6de32b..38ba6a0 100644
--- a/src/components/ResourcesPage/Pagination.jsx
+++ b/src/components/Pagination/Pagination.jsx
@@ -11,7 +11,7 @@ const Pagination = ({ currentPage, totalPages, onPageChange }) => {
const pages = Array.from({ length: totalPages }, (_, index) => index + 1);
return (
-
+
{/*