61 lines
1.3 KiB
TypeScript
61 lines
1.3 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const siteDescription =
|
|
"Qudoco — portal konten dan layanan untuk mengelola website, berita, serta aset media dengan alur kerja yang terstruktur.";
|
|
|
|
export const metadata: Metadata = {
|
|
metadataBase: new URL("https://qudo.id"),
|
|
title: {
|
|
default: "Qudoco",
|
|
template: "%s | Qudoco",
|
|
},
|
|
description: siteDescription,
|
|
applicationName: "Qudoco",
|
|
keywords: ["Qudoco", "portal konten", "CMS", "berita", "layanan"],
|
|
authors: [{ name: "Qudoco" }],
|
|
openGraph: {
|
|
type: "website",
|
|
locale: "id_ID",
|
|
siteName: "Qudoco",
|
|
title: "Qudoco",
|
|
description: siteDescription,
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title: "Qudoco",
|
|
description: siteDescription,
|
|
},
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="id">
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
|
>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|