Skip to content

50+ open-source generative AI apps you can clone, deploy, and monetize — image generators, video tools, virtual try-ons, AI SaaS templates, and platform integrations. One-click Vercel deploy on every template.

Restore: src/app/layout.js

Anil Chandra Naidu Matcha24df8d2f7ddc
diff --git a/src/app/layout.js b/src/app/layout.js
new file mode 100644
index 0000000..754bc59
--- /dev/null
+++ b/src/app/layout.js
@@ -0,0 +1,34 @@
+import { Inter } from "next/font/google";
+import "./globals.css";
+import { Providers } from "./providers";
+import Navbar from "../components/Navbar";
+import config from "@/lib/config";
+
+const inter = Inter({
+ variable: "--font-inter",
+ subsets: ["latin"],
+ display: "swap"
+});
+
+export const metadata = {
+ title: "Free AI Social Media Scheduler - MuAPI",
+ description: "Schedule and publish AI-generated videos directly to YouTube and TikTok.",
+};
+
+export default function RootLayout({ children }) {
+ const theme = config?.theme || "slate-indigo";
+
+ return (
+ <html lang="en" className="h-full w-full" data-theme={theme}>
+ <body className={`${inter.variable} ${inter.className} h-full w-full flex flex-col antialiased bg-bg-page text-primary-text overflow-hidden`}>
+ <Providers>
+ <Navbar />
+ <div className="flex-1 flex flex-col overflow-hidden min-h-0">
+ {children}
+ </div>
+ </Providers>
+ </body>
+ </html>
+ );
+}
+