apix/app/layout.tsx
Khoa.vo c25d2664b8
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
UI Polish: Refined Lightbox controls, added Cookie Expired popup, and improved mobile filters
2026-01-07 23:05:28 +07:00

30 lines
837 B
TypeScript

import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import ErrorBoundary from "@/components/ErrorBoundary";
import { ThemeProvider } from "@/components/theme-provider";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "kv-pix | AI Image Generator",
description: "Generate images with Google ImageFX (Whisk)",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<body className={inter.className} suppressHydrationWarning>
<ThemeProvider defaultTheme="system" storageKey="kv-pix-theme">
<ErrorBoundary>
{children}
</ErrorBoundary>
</ThemeProvider>
</body>
</html>
);
}