26 lines
603 B
TypeScript
26 lines
603 B
TypeScript
import type { Metadata } from "next";
|
|
import type { ReactNode } from "react";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Home - Yovan",
|
|
};
|
|
|
|
// inline CSS only: layout ini tidak mengimpor file .css dan tidak memuat <style>
|
|
export default function HomeLayout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<html lang="id">
|
|
<body
|
|
style={{
|
|
margin: 0,
|
|
fontFamily: "'Segoe UI', Arial, sans-serif",
|
|
backgroundColor: "#f1f5f9",
|
|
color: "#1e293b",
|
|
lineHeight: 1.6,
|
|
}}
|
|
>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|