import { ReactElement, useRef, useState } from "react"; import { ArticleCard } from "./_components/card/article"; import { cn, For } from "@imphnen-frontend-service/utils"; import { Button } from "@imphnen-frontend-service/ui/atoms"; import { motion, useInView, Variants } from "framer-motion"; const CATEGORIES = ['UI/UX Design', 'Software/Web Dev', 'Data & AI', 'Cloud & DevOps', 'Cybersecurity', 'IT & Network', 'Project Management', 'QA & Testing'] as const type Category = typeof CATEGORIES[number] export default function Components(): ReactElement { const [activeTab, setActiveTab] = useState('UI/UX Design') const ref = useRef(null) const isInView = useInView(ref, { once: true, amount: 0.2 }) const containerVariants: Variants = { hidden: { opacity: 0 }, visible: { opacity: 1, transition: { staggerChildren: 0.1, delayChildren: 0.2, }, }, } const childVariants: Variants = { hidden: { opacity: 0, y: 20 }, visible: { opacity: 1, y: 0, transition: { duration: 0.4, ease: [0.25, 0.46, 0.45, 0.94], }, }, } return (
Featuring Articles
Recent Articles
{(_, index) => ( )}
Category
{(category) => ( )}
{(_, index) => ( )}
) }