init: pusat bantuan tumbuhin

This commit is contained in:
Gilang Aryo
2026-11-27 16:47:48 +07:00
commit 7cb1ebafe0
29 changed files with 6428 additions and 0 deletions

41
app/layout.tsx Normal file
View 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>
);
}