'use client'; import React, { useState } from 'react'; import Image from 'next/image'; import { Code, BarChart2, Wand2 } from 'lucide-react'; import { skillCategories, keywordBadges, toolsList, filterTabs, FilterTab, } from '@/data/skills'; import styles from './SkillsSection.module.css'; export const SkillsSection: React.FC = () => { const [activeFilter, setActiveFilter] = useState('software-engineering'); const filteredTools = toolsList.filter((tool) => tool.category.includes(activeFilter) ); const getFilterIcon = (id: FilterTab['id']) => { switch (id) { case 'software-engineering': return ; case 'product-management': return ; case 'design-ux': return ; } }; return (
{/* Section Header */}
SKILLS & TOOLS

The Stack Behind the Work...

{/* Main Card Container */}
{/* Section: Skills */}
SKILLS {/* 8 Skill Meters Grid */}
{skillCategories.map((skill) => (
{skill.name}
{[1, 2, 3, 4, 5].map((seg) => (
))}
))}
{/* Keyword Badges */}
{keywordBadges.map((badge) => ( {badge} ))}
{/* Section: Tools */}
TOOLS {/* 8-Column Grid */}
{toolsList.map((tool) => { const isMatching = tool.category.includes(activeFilter); return (
{tool.name}
{tool.name}
); })}
{/* Filter Tabs Under Card */}
{filterTabs.map((tab) => { const isActive = activeFilter === tab.id; return ( ); })}
); };