import Image from "next/image"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faMedal, faGraduationCap, faTrophy, faAward, faChevronDown, faChevronUp, } from "@fortawesome/free-solid-svg-icons"; import { motion, AnimatePresence } from "framer-motion"; import { useState } from "react"; import Me4 from "@/public/image/me4.jpeg"; function Wrapper({ children }) { return (
{children}
); } export default function Education() { const [isExpanded, setIsExpanded] = useState(false); const achievementsByYear = { 2025: [ { icon: faMedal, title: "1st place (Gold Medal)", subtitle: "Fesmaro IT Business Competition", date: "Mar 2025", color: "from-yellow-400 to-orange-500", }, { icon: faAward, title: "Finalist", subtitle: "Hackfest Build to Billion 2025", date: "Apr 2025", color: "from-blue-500 to-purple-600", }, { icon: faMedal, title: "3rd place (Bronze Medal)", subtitle: "Faculty of Engineering Most Outstanding Student", date: "Feb 2025", color: "from-amber-600 to-yellow-600", }, ], 2024: [ { icon: faTrophy, title: "Special Award | Gold Medal | Incubation Opportunity", subtitle: "Indonesia Inventor Day 2024 (IID)", date: "Aug 2024", color: "from-yellow-400 to-orange-500", }, { icon: faMedal, title: "1st place (Gold Medal)", subtitle: "Tech & Trade Expo 2024", date: "Jul 2024", color: "from-yellow-400 to-orange-500", }, { icon: faMedal, title: "2nd place (Silver Medal)", subtitle: "IdeaFest 2024", date: "Jul 2024", color: "from-slate-400 to-slate-500", }, { icon: faAward, title: "Finalist", subtitle: "37th National Student Science Week (PIMNAS)", date: "Oct 2024", color: "from-blue-500 to-purple-600", }, { icon: faMedal, title: "3rd place (Bronze Medal)", subtitle: "Student Digital Innovation Competition (LIDM)", date: "Jun 2024", color: "from-amber-600 to-yellow-600", }, { icon: faMedal, title: "3rd place (Bronze Medal)", subtitle: "Fesmaro UI/UX Design", date: "Jun 2024", color: "from-amber-600 to-yellow-600", }, ], 2023: [ { icon: faAward, title: "Finalist", subtitle: "36th National Student Science Week (PIMNAS)", date: "Nov 2023", color: "from-blue-500 to-purple-600", }, { icon: faMedal, title: "3rd place (Bronze Medal)", subtitle: "FORKAFEST 3.0 Web Development competition", date: "Jan 2023", color: "from-amber-600 to-yellow-600", }, ], }; // Flatten all achievements into a single array for easier limiting const allAchievements = Object.entries(achievementsByYear) .sort(([a], [b]) => parseInt(b) - parseInt(a)) .flatMap(([year, achievements]) => achievements.map((achievement) => ({ ...achievement, year })) ); const visibleAchievements = isExpanded ? allAchievements : allAchievements.slice(0, 6); const hasMoreAchievements = allAchievements.length > 6; return (
{" "} {/* Header */}

Education

Get to know more about my educational background.

{/* Main Content */}
{/* Education Section - Left */}
2022 - Present

Universitas Negeri Malang

S1 Teknik Informatika | Computer Science

University
University
University

Aspiring to become a professional Software Engineer, I'm currently pursuing my Bachelor's degree in{" "} Computer Science {" "} at{" "} Universitas Negeri Malang . My journey in tech is driven by curiosity and creativity—combining web development with cutting-edge AI research and implementation.

As the{" "} Co-Lead of Google Developer Group on Campus (GDGoC) {" "} at my university, I've led technical initiatives, mentored peers, and helped build impactful digital solutions. I've actively participated in various{" "} national or international technology competitions , earning recognition through awards such as{" "} PIMNAS Finalist, Indonesia Inventor Day Gold Medalist, Top 3 at LIDM 2024 , and more.

I am passionate about solving real-world problems through code, especially at the intersection of{" "} Web Development {" "} and{" "} Artificial Intelligence . Constantly learning, building, and collaborating—I'm excited to keep growing and contributing to the evolving tech landscape.

GPA: 3.9 out of 4
{" "} {/* Achievements Section - Right */}

Achievements

Some of my achievements during my study.

{/* Achievements Container with transparent bottom effect */}
{/* Show visible achievements */} {visibleAchievements.map((achievement, index) => ( {/* Year indicator for first achievement of each year */} {index === 0 || visibleAchievements[index - 1]?.year !== achievement.year ? (
{achievement.year}
) : null} {/* Glassmorphism achievement card with monochrome to color effect */}

{achievement.title}

{achievement.subtitle}

{achievement.date}
))}
{/* Transparent bottom overlay when not expanded */} {!isExpanded && hasMoreAchievements && (
)} {/* Expand/Collapse Button */} {hasMoreAchievements && ( )}
); }