File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 UnorderedList ,
77 ListItem ,
88 Link ,
9- SimpleGrid ,
10- Flex ,
9+ Grid ,
10+ GridItem ,
1111} from '@chakra-ui/react'
1212import React from 'react'
1313import { Funders as data } from '@/data/funders'
@@ -29,27 +29,25 @@ export const Funders = () => {
2929 organisations:
3030 </ Text >
3131
32- < SimpleGrid
33- columns = { { base : 1 , sm : 2 , md : 2 , lg : 4 } }
34- my = { 4 }
35- spacing = { 'space-between' }
36- align = { 'center' }
37- justify = { 'center' }
38- >
32+ < Grid templateColumns = 'repeat(5, 1fr)' gap = { 6 } my = { 4 } >
3933 { funders . map ( ( funders , index ) => (
40- < Flex
34+ < GridItem
4135 as = { Link }
4236 href = { funders . url }
4337 key = { index }
44- w = { 64 }
45- align = { 'center' }
46- justify = { 'center' }
47- rounded = { 'full' }
38+ display = 'flex'
39+ alignItems = 'center'
40+ justifyContent = 'center'
4841 >
49- < Image maxH = { 20 } src = { funders . logo } alt = { funders . name } />
50- </ Flex >
42+ < Image
43+ maxH = { 20 }
44+ w = { 'auto' }
45+ src = { funders . logo }
46+ alt = { funders . name }
47+ />
48+ </ GridItem >
5149 ) ) }
52- </ SimpleGrid >
50+ </ Grid >
5351 </ Box >
5452 </ Container >
5553 </ Box >
You can’t perform that action at this time.
0 commit comments