"use client";
import React from "react";
export default function MoreAboutMe() {
const webDevStack = require("../../(utils)/web-dev-stack.json");
const uiStack = require("../../(utils)/ui-ux-stack.json");
const [targetStack, setTargetStack] = React.useState("dev");
return (
More About Me
{/* */}
{
setTargetStack("dev");
}}
>
Web Dev Stack
{
setTargetStack("design");
}}
>
UI/UX Stack
{targetStack?.match(/dev/i) ? "Web Dev Tech Stack" : "UI/UX tech 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}
{/* */}
))}
)}
);
}