Skip to content

Commit c787756

Browse files
committed
Show all technology tags in project cards
1 parent 760fe06 commit c787756

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/components/Projects.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -180,19 +180,14 @@ export default function Projects() {
180180
<p className="text-gray-400 mb-3 text-xs leading-relaxed line-clamp-2 md:line-clamp-3">{project.description}</p>
181181

182182
<div className="flex flex-wrap gap-1 mb-4">
183-
{project.technologies.slice(0, 1).map((tech) => (
183+
{project.technologies.map((tech) => (
184184
<span
185185
key={tech}
186186
className="px-1.5 py-0.5 text-xs md:px-2 md:py-1 bg-blue-500/10 text-blue-400 rounded-full border border-blue-500/20"
187187
>
188188
{tech}
189189
</span>
190190
))}
191-
{project.technologies.length > 1 && (
192-
<span className="px-1.5 py-0.5 text-xs md:px-2 md:py-1 bg-gray-500/10 text-gray-400 rounded-full border border-gray-500/20">
193-
+{project.technologies.length - 1}
194-
</span>
195-
)}
196191
</div>
197192
</div>
198193

0 commit comments

Comments
 (0)