"use client"; import { useState } from "react"; import Link from "next/link"; export default function Home() { // state hover untuk link "Kenali saya lebih jauh" const [hover, setHover] = useState(false); return ( // inline CSS: semua gaya halaman ini ditulis langsung lewat atribut style pada tiap elemen
Foto Zagar tersenyum di pantai pada malam hari

Zagar Nashrullah

Mahasiswa Informatika

HAAAAIII!!!

setHover(true)} onMouseLeave={() => setHover(false)} style={{ display: "inline-block", padding: "8px 20px", border: "1px solid #1f3a5f", borderRadius: "8px", color: hover ? "#ffffff" : "#1f3a5f", backgroundColor: hover ? "#1f3a5f" : "transparent", textDecoration: "none", }} > Kenali saya lebih jauh
); }