"use client";
import React from "react";
// import TextShuffler from "../../components/actions/TextShuffler";
import { about, genericScroll } from "../(utils)/animate";
export default function AboutSection() {
React.useEffect(about, []);
React.useEffect(genericScroll, []);
const webDevStack = require("../(utils)/web-dev-stack.json");
const uiStack = require("../(utils)/ui-ux-stack.json");
const [targetStack, setTargetStack] = React.useState("dev");
return (
{/*
About Me
*/}
About Me
{/* */}
{
setTargetStack("dev");
}}
>
Web Dev Stack
{
setTargetStack("design");
}}
>
UI/UX Stack
Quick learner, adaptable, problem solver, curious. I strive to know the system, rather than the status quo. My credo is: no problem too great, no knowledge too vast, no logic too complex. I thrive in difficult situations and complex hurdles: problem solving is now second nature to me: if you can think it, it can be done.
{/* */}
Learn More About Me
{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}
{/* */}
))}
)}
);
}