import type { CSSProperties } from "react"; import type { Metadata } from "next"; import { NavInline } from "../components/nav"; import HtmlComment from "../components/html-comment"; import { profile } from "../lib/data"; export const metadata: Metadata = { title: "Beranda | Personal Website" }; // halaman ini WAJIB inline css saja: semua gaya memakai atribut style const s: Record = { page: { maxWidth: "960px", margin: "0 auto", padding: "24px", fontFamily: "system-ui, -apple-system, 'Segoe UI', sans-serif", color: "#1c2b33", background: "#f3f7f7", borderRadius: "20px", minHeight: "90vh" }, brand: { margin: 0, fontFamily: "Georgia, 'Times New Roman', serif", fontSize: "1.25rem", fontWeight: 700, color: "#0f4c5c" }, hero: { display: "flex", flexWrap: "wrap", alignItems: "center", gap: "32px", padding: "32px 0" }, photo: { width: "280px", maxWidth: "100%", height: "auto", borderRadius: "16px", border: "6px solid #e09f3e" }, heroText: { flex: "1 1 300px" }, h1: { margin: "0 0 12px", fontFamily: "Georgia, 'Times New Roman', serif", fontSize: "2.6rem", lineHeight: 1.15, color: "#0f4c5c" }, tagline: { margin: "0 0 16px", fontSize: "1.2rem", lineHeight: 1.5 }, section: { padding: "24px", background: "#ffffff", borderRadius: "12px", borderLeft: "6px solid #0f4c5c" }, h2: { margin: "0 0 8px", fontFamily: "Georgia, 'Times New Roman', serif", fontSize: "1.5rem", color: "#0f4c5c" }, p: { margin: 0, lineHeight: 1.7, maxWidth: "65ch" }, footer: { marginTop: "32px", paddingTop: "16px", borderTop: "1px solid #c9d8db", fontSize: "0.9rem", color: "#4a5d66" }, }; export default function HomePage() { return (

{profile.nickname}

{profile.photoAlt}

Halo, saya {profile.name}

{profile.tagline}

Sekilas tentang saya

{profile.intro}

); }