From a04b3fd456bd7d636daf81922bb05bdfc3d5e617 Mon Sep 17 00:00:00 2001 From: Mackie Date: Wed, 3 Jun 2026 10:26:41 +0800 Subject: [PATCH] box --- src/blocks/Skills/Component.tsx | 57 ++++++++++++++------------------- 1 file changed, 24 insertions(+), 33 deletions(-) diff --git a/src/blocks/Skills/Component.tsx b/src/blocks/Skills/Component.tsx index 4efa23f..cf7be32 100644 --- a/src/blocks/Skills/Component.tsx +++ b/src/blocks/Skills/Component.tsx @@ -1,5 +1,4 @@ import React from 'react' -import { cn } from '@/utilities/ui' type SkillCategory = { title: string @@ -36,39 +35,31 @@ export function SkillsBlock({ heading, keySkills, categories }: SkillsBlockProps )} {Array.isArray(categories) && categories.length > 0 && ( -
- {categories.map((cat, i) => { - const isLastRow = i >= categories.length - (categories.length % 3 || 3) - const isLastCol = (i + 1) % 3 === 0 - return ( -
-