File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -122,11 +122,13 @@ const About = () => {
122
122
< div className = "grid gap-4 sm:grid-cols-2" >
123
123
{ keyFeatures . map ( ( feature ) => (
124
124
< div
125
- key = { `${ feature . title } -${ feature . description . slice ( 0 , 10 ) } ` }
125
+ key = { `${ feature . title } -${ feature . description } ` }
126
126
className = "overflow-hidden rounded-lg bg-gray-200 p-6 dark:bg-gray-700"
127
127
>
128
128
< h3 className = "mb-2 text-xl font-semibold text-blue-400" > { feature . title } </ h3 >
129
- < p className = "text-gray-600 dark:text-gray-300" > { feature . description } </ p >
129
+ < p className = "line-clamp-3 text-gray-600 dark:text-gray-300" >
130
+ { feature . description }
131
+ </ p >
130
132
</ div >
131
133
) ) }
132
134
</ div >
@@ -249,8 +251,8 @@ const About = () => {
249
251
< div className = "space-y-4" >
250
252
< p className = "text-gray-600 dark:text-gray-300" > { getInvolvedContent . description } </ p >
251
253
< ul className = "space-y-2" >
252
- { getInvolvedContent . ways . map ( ( way ) => (
253
- < li key = { way . slice ( 0 , 32 ) } className = "flex items-start gap-2" >
254
+ { getInvolvedContent . ways . map ( ( way , index ) => (
255
+ < li key = { index } className = "flex items-start gap-2" >
254
256
< span className = "mt-1 text-blue-400" > •</ span >
255
257
< span className = "text-gray-600 dark:text-gray-300" > { way } </ span >
256
258
</ li >
You can’t perform that action at this time.
0 commit comments