20 lines
584 B
TypeScript
20 lines
584 B
TypeScript
import type { Metadata } from "next";
|
|
import type { ReactNode } from "react";
|
|
import Script from "next/script";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Gallery - Yovan",
|
|
};
|
|
|
|
export default function GalleryLayout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<html lang="id">
|
|
<body className="bg-slate-100 text-slate-800 leading-relaxed">
|
|
{/* tailwind CSS only: satu-satunya skrip di halaman ini adalah CDN Tailwind */}
|
|
<Script src="https://cdn.tailwindcss.com" strategy="beforeInteractive" />
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|