'use client'; import HERO_STATS from '@/data/hero-stats.json'; import { Button, SparklesIcon } from '@components'; import { motion } from 'framer-motion'; import Image from 'next/image'; import { Fragment, useEffect, useState } from 'react'; export function Hero() { const [scrollY, setScrollY] = useState(0); useEffect(() => { const handleScroll = () => { setScrollY(window.scrollY); }; window.addEventListener('scroll', handleScroll); return () => window.removeEventListener('scroll', handleScroll); }, []); return (
Komunitas Programmer Indonesia

Programmer Handal,
Tanpa Ribet

Temukan potensi programming Anda bersama komunitas yang mendukung, tutorial interaktif, dan sumber daya berkualitas tinggi.

{HERO_STATS.map(({ value, label }, i) => (
{value}
{label}
{i < HERO_STATS.length - 1 && (
)} ))}
logo
); }