chore: initial project import
Some checks failed
CI - Production Readiness / Verify (push) Has been cancelled

This commit is contained in:
Wira Basalamah
2026-04-21 09:29:29 +07:00
commit adde003fba
222 changed files with 37657 additions and 0 deletions

22
app/layout.tsx Normal file
View File

@ -0,0 +1,22 @@
import type { Metadata } from "next";
import { getLocale, t } from "@/lib/i18n";
import "./globals.css";
export async function generateMetadata(): Promise<Metadata> {
const locale = await getLocale();
return {
title: t(locale, "meta", "title"),
description: t(locale, "meta", "description")
};
}
export default async function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
const locale = await getLocale();
return (
<html lang={locale}>
<body>{children}</body>
</html>
);
}