2024-03-28 20:29:24 +05:30
/* eslint-disable no-unused-vars */
2024-03-27 16:32:05 +05:30
import { Box , Container , Text , Image , Button } from "@chakra-ui/react" ;
import LearnCard from "../Card/LearnCard" ;
import chainx from "../../assets/images/LearnCard2.png" ;
import ensurity from "../../assets/images/LearnCard4.png" ;
import exr from "../../assets/images/LearnCard5.png" ;
import finalo from "../../assets/images/LearnCard1.png" ;
import jupiter from "../../assets/images/LearnCard3.png" ;
2024-03-29 19:54:51 +05:30
import { useMediaQuery } from "@chakra-ui/react" ;
2024-03-27 16:32:05 +05:30
// import { Badge } from "@chakra-ui/react";
const content = [
{
id : 1 ,
src : ` ${ chainx } ` ,
alt : "ChainX" ,
text : ` Building a Web3 infrastructure to support nonprofit communities, starting with YMCA ` ,
} ,
{
id : 2 ,
src : ensurity ,
alt : "Ensurity" ,
text : ` Building solutions for an easier transition from Web2 to Web3 for global enterprises with a focus on public sector companies. ` ,
} ,
{
id : 3 ,
src : exr ,
alt : "EXR" ,
text : ` A metaverse, XR, and Web3 entity offering solutions that infuse gamification and tokenomics. ` ,
} ,
{
id : 4 ,
src : finalo ,
alt : "Finalo Education" ,
text : ` Delivers KYC/DID solutions for banks, and financial institutions, a highly secure algorithm for quantum security and a password-less authentication process for secure scaling ` ,
} ,
{
id : 5 ,
src : jupiter ,
alt : "Jupiter" ,
text : ` Mobile-based wallet that generates and stores private keys on a mobile device ` ,
} ,
] ;
const Content = {
heading : ` Enabling developers across a variety ` ,
span : ` of applications ` ,
} ;
const LearnDev = ( ) => {
2024-03-29 19:54:51 +05:30
const [ isSmallScreen ] = useMediaQuery ( "(max-width: 996px)" ) ;
2024-03-27 16:32:05 +05:30
return (
< Box
// height={"100vh"}
background = { "#000" }
backgroundSize = { "cover" }
backgroundRepeat = { "no-repeat" }
>
< Container maxW = "container.xl" >
< Text
as = { "h2" }
paddingTop = { "2rem" }
paddingBottom = { "2rem" }
2024-04-04 16:45:56 +05:30
paddingLeft = { "3rem" }
2024-03-27 16:32:05 +05:30
fontWeight = { 700 }
fontSize = { "40px" }
textAlign = { "left" }
textTransform = { "capitalize" }
color = { "#fff" }
sx = { {
2024-03-29 19:54:51 +05:30
"@media (max-width: 996px)" : {
2024-03-27 16:32:05 +05:30
fontSize : "35px" ,
} ,
2024-03-29 19:54:51 +05:30
"@media (max-width: 435px)" : {
fontSize : "26px" ,
paddingLeft : "2rem" ,
} ,
2024-03-27 16:32:05 +05:30
"@media (max-width: 375px)" : {
2024-03-29 19:54:51 +05:30
fontSize : "" ,
2024-03-27 16:32:05 +05:30
} ,
} }
>
2024-03-29 19:54:51 +05:30
{ Content . heading } { isSmallScreen ? null : < br / > }
2024-03-27 16:32:05 +05:30
{ Content . span }
< / Text >
< / Container >
2024-04-05 20:18:08 +05:30
< Box
// maxW="container.xl"
paddingLeft = { "7rem" }
2024-03-27 16:32:05 +05:30
paddingBottom = { "2rem" }
// height={"50vh"}
sx = { {
2024-03-29 19:54:51 +05:30
"@media (max-width: 1024px)" : {
paddingLeft : "5rem" ,
} ,
2024-03-27 16:32:05 +05:30
"@media (max-width: 435px)" : {
paddingLeft : "3rem" ,
} ,
} }
>
< Box
display = { "flex" }
alignItems = { "center" }
gap = { "25px" }
overflowX = { "auto" }
overflowY = { "auto" }
sx = { {
"&::-webkit-scrollbar" : {
width : "0px" ,
} ,
} }
>
{ content . map ( ( item ) => (
< LearnCard
key = { item . id }
src = { item . src }
alt = { item . alt }
text = { item . text }
/ >
) ) }
< / Box >
2024-04-05 20:18:08 +05:30
< / Box >
2024-03-27 16:32:05 +05:30
< / Box >
) ;
} ;
export default LearnDev ;