"use client";
import React from "react";
export default function MySkillsSection() {
const webDevStack = require("../(utils)/web-dev-stack.json");
const uiStack = require("../(utils)/ui-ux-stack.json");
const [targetStack, setTargetStack] = React.useState("dev");
return (
Some of My Skills
An inexhaustive list of my skills and abilities. I'm always
learning new things and picking up new skills so this list
is always growing.
{targetStack?.match(/dev/i)
? "Web Dev Tech Stack"
: "UI/UX tech stack"}
{/*
My Tech Stack
*/}
{
setTargetStack("dev");
}}
>
Web Dev Stack
{
setTargetStack("design");
}}
>
UI/UX Stack
{targetStack?.match(/dev/i) ? (
{webDevStack.map(
(
item: {
title: string;
description: string;
},
index: number
) => (
-
{item.title}
{/* */}
{item.description}
{/* */}
)
)}
) : (
{uiStack.map(
(
item: {
title: string;
description: string;
},
index: number
) => (
-
{item.title}
{/* */}
{item.description}
{/* */}
)
)}
)}
);
}