Files
portkey-ai--gateway/cookbook/integrations/vercel/app/layout.tsx
T
wehub-resource-sync 3cd11ababe
Check Markdown links / linkChecker (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:38:56 +08:00

34 lines
789 B
TypeScript
Vendored

import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
import './globals.css';
import { AI } from './examples/generate-ui-streamui/action';
import { BackButton } from '@/components/back-button';
const inter = Inter({ subsets: ['latin'] });
export const metadata: Metadata = {
title: 'Create Next App',
description: 'Generated by create next app',
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body className={inter.className}>
<div className="max-w-2xl p-8">
<AI>
<div className="mb-4">
<BackButton />
</div>
<div>{children}</div>
</AI>
</div>
</body>
</html>
);
}