Skip to content

Commit f8c858b

Browse files
committed
Fix2
1 parent b78ab0f commit f8c858b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

frontend/src/app/about/page.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,13 @@ const About = () => {
122122
<div className="grid gap-4 sm:grid-cols-2">
123123
{keyFeatures.map((feature) => (
124124
<div
125-
key={`${feature.title}-${feature.description.slice(0, 10)}`}
125+
key={`${feature.title}-${feature.description}`}
126126
className="overflow-hidden rounded-lg bg-gray-200 p-6 dark:bg-gray-700"
127127
>
128128
<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>
130132
</div>
131133
))}
132134
</div>
@@ -249,8 +251,8 @@ const About = () => {
249251
<div className="space-y-4">
250252
<p className="text-gray-600 dark:text-gray-300">{getInvolvedContent.description}</p>
251253
<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">
254256
<span className="mt-1 text-blue-400"></span>
255257
<span className="text-gray-600 dark:text-gray-300">{way}</span>
256258
</li>

0 commit comments

Comments
 (0)