Tugas
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user