@@ -3,20 +3,28 @@ import { Flex, Image, Text } from "@chakra-ui/react";
33
44const WhitepaperCard = ( { img, title, date = "" , text, href, ...props } ) => {
55 return (
6- < Flex p = "20px" bg = "#353535" borderRadius = "20px" { ...props } >
6+ < Flex
7+ direction = { [ "column" , "column" , "row" ] }
8+ alignItems = { [ "center" , "center" , "start" ] }
9+ p = "20px"
10+ bg = "#353535"
11+ borderRadius = "20px"
12+ { ...props }
13+ >
714 < Image
815 src = { img }
9- w = " 200px"
10- h = " 200px"
11- borderRadius = " 20px"
16+ w = { [ "150px" , "150px" , " 200px"] }
17+ h = { [ "150px" , "150px" , " 200px"] }
18+ borderRadius = { [ "10px" , "10px" , " 20px"] }
1219 cursor = "pointer"
20+ pb = { [ "10px" , "10px" , "0px" ] }
1321 onClick = { ( ) => {
1422 window . open ( href ) ;
1523 } }
1624 />
1725 < Flex direction = "column" ml = "20px" >
1826 < Text
19- fontSize = { [ "24px" ] }
27+ fontSize = { [ "18px" , "18px" , " 24px"] }
2028 fontWeight = "700"
2129 maxW = "500px"
2230 lineHeight = "120%"
@@ -25,19 +33,19 @@ const WhitepaperCard = ({ img, title, date = "", text, href, ...props }) => {
2533 { title }
2634 </ Text >
2735 { date && (
28- < Text fontSize = { [ "16px" ] } lineHeight = "20px" >
36+ < Text fontSize = { [ "12px" , "12px" , " 16px"] } lineHeight = "20px" >
2937 { date }
3038 </ Text >
3139 ) }
32- < Text fontSize = { [ "18px" ] } my = "5px" lineHeight = "23px" >
40+ < Text fontSize = { [ "14px" , "14px" , " 18px"] } my = "5px" lineHeight = "23px" >
3341 { text }
3442 </ Text >
3543 < Text
3644 href = { href }
3745 maxW = "fit-content"
3846 color = "orange.1000"
3947 cursor = "pointer"
40- fontSize = " 18px"
48+ fontSize = { [ "14px" , "14px" , " 18px"] }
4149 fontWeight = "700"
4250 _hover = { { color : "#F4532F" } }
4351 onClick = { ( ) => {
0 commit comments