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