jan/web-client/app/layout.tsx
hiento09 86f0ffc7d1
Chore/disable submodule (#56)
* Chore disable git submodule for web-client and app-backend

* Chore add newest source code of app-backend and web-client

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-09-05 16:29:07 +07:00

43 lines
1.2 KiB
TypeScript

import "./globals.css";
import { Inter } from "next/font/google";
import classNames from "classnames";
import MobileShowcase from "@/_components/MobileShowcase";
import { Metadata } from "next";
import SessionProviderWrapper from "@/_components/SessionProviderWrapper";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Free AI Image Generator and Interact with Ai Chat - Jan.ai",
description:
"Create unique ai images or chat with open source AI models trained on various models. Run Open Source Ai Models on our GPUs, and make them accessible in one user-friendly app.",
metadataBase: new URL(process.env.NEXT_PUBLIC_WEB_URL || "https://cloud.jan.ai"),
openGraph: {
images: "/images/preview.jpg",
},
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<SessionProviderWrapper>
<html lang="en">
<body
className={classNames(
inter.className,
"flex flex-col w-full h-screen"
)}
>
<div className="hidden md:flex flex-col w-full h-screen">
{children}
</div>
<MobileShowcase />
</body>
</html>
</SessionProviderWrapper>
);
}