import { useState } from "react"; export default function About() { const [hearts, setHearts] = useState([]); const createHearts = () => { const newHearts = []; for (let i = 0; i < 8; i++) { newHearts.push({ id: Math.random(), left: Math.random() * 100, delay: Math.random() * 0.5 }); } setHearts([...hearts, ...newHearts]); // hapus setelah animasi selesai setTimeout(() => { setHearts([]); }, 1000); }; const styles = { container: { display: "flex", justifyContent: "center", alignItems: "center", minHeight: "100vh", background: "linear-gradient(to bottom, #ffc0cb, #ffffff)", fontFamily: "Arial, sans-serif", position: "relative", overflow: "hidden" }, card: { backgroundColor: "#ffffff", padding: "30px", borderRadius: "20px", boxShadow: "0 4px 15px rgba(0,0,0,0.2)", maxWidth: "500px", width: "100%", textAlign: "center", zIndex: 2, opacity: 0, transform: "translateY(30px)", animation: "fadeInUp 1s ease forwards", transition: "all 0.3s ease", cursor: "pointer" }, heartClick: { position: "absolute", fontSize: "20px", animation: "popLove 1s ease forwards" }, love: { position: "absolute", color: "pink", fontSize: "20px", animation: "floatUp 5s linear infinite" }, star: { position: "absolute", color: "#fff", fontSize: "15px", animation: "fallDown 6s linear infinite" } }; return(
nama saya nisa sahwa afipah, bisa di panggil ica
saya sekolah di smk guna cipta
saya di sekolah mempunyai kegiatan tambahan
yaitu saya mengikuti kegiatan anggota OSIS,
tapi saya kini naik jabatan menjadi anggota MPK
nah saya di kls juga menjadi wakil ketua kelas
dan saya juga mengikuti eksul paskibra,karawitan dan badminton
dan kegiatan di luar sekolah juga saya mengikuti sanggar tari seni
hobi saya menari dan menyanyi