File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
src/components/index-page Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -48,22 +48,20 @@ export function FivePillars() {
48
48
</ h2 >
49
49
50
50
< div className = "gql-radial-gradient gap-px" >
51
- { pillars . map ( ( pillar , index ) => (
52
- < div key = { pillar . title } >
51
+ { pillars . map ( ( { title , icon : Icon , description } , index ) => (
52
+ < div key = { title } >
53
53
< div className = "flex flex-col items-center gap-2 bg-neu-0 py-6 max-lg:text-center lg:flex-row lg:items-center lg:gap-8 lg:py-8" >
54
54
< div className = "flex items-center max-lg:flex-col lg:w-[520px] lg:shrink-0" >
55
55
< div className = "p-6" >
56
- < pillar . icon className = "size-6 text-pri-base" />
56
+ < Icon className = "size-6 text-pri-base" />
57
57
</ div >
58
58
< h3 className = "typography-h3 lg:flex lg:h-[86px] lg:flex-1 lg:items-center lg:p-4" >
59
- { pillar . title }
59
+ { title }
60
60
</ h3 >
61
61
</ div >
62
- < div className = "lg:flex-1" >
63
- < p className = "typography-body-lg mt-6 lg:mt-0" >
64
- { pillar . description }
65
- </ p >
66
- </ div >
62
+ < p className = "typography-body-lg mt-6 lg:mt-0 lg:flex-1" >
63
+ { description }
64
+ </ p >
67
65
</ div >
68
66
{ index < pillars . length - 1 && < Separator /> }
69
67
</ div >
You can’t perform that action at this time.
0 commit comments