init: pusat bantuan tumbuhin
This commit is contained in:
41
app/layout.tsx
Normal file
41
app/layout.tsx
Normal file
@@ -0,0 +1,41 @@
|
||||
import './global.css';
|
||||
import { RootProvider } from 'fumadocs-ui/provider';
|
||||
import { Inter } from 'next/font/google';
|
||||
import type { Metadata } from 'next';
|
||||
import type { ReactNode } from 'react';
|
||||
import { SITE_NAME, SITE_URL } from '@/lib/site';
|
||||
|
||||
const inter = Inter({ subsets: ['latin'] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
metadataBase: new URL(SITE_URL),
|
||||
title: {
|
||||
default: SITE_NAME,
|
||||
template: `%s | ${SITE_NAME}`,
|
||||
},
|
||||
description:
|
||||
'Panduan lengkap menggunakan Tumbuhin POS: login, transaksi, produk, stok, dan Pop-Up Event.',
|
||||
openGraph: {
|
||||
siteName: SITE_NAME,
|
||||
locale: 'id_ID',
|
||||
type: 'website',
|
||||
},
|
||||
// Isi kode verifikasi Google Search Console di sini saat produksi
|
||||
// verification: { google: 'KODE_VERIFIKASI' },
|
||||
};
|
||||
|
||||
export default function RootLayout({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<html lang="id" className={inter.className} suppressHydrationWarning>
|
||||
<body className="flex flex-col min-h-screen">
|
||||
<RootProvider
|
||||
search={{
|
||||
options: { api: '/api/search' },
|
||||
}}
|
||||
>
|
||||
{children}
|
||||
</RootProvider>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user