paper-ai-release-24-07-21/app/layout.tsx
2024-01-22 08:53:58 +08:00

29 lines
690 B
TypeScript

import { GeistSans } from 'geist/font/sans'
import './globals.css'
const defaultUrl = process.env.VERCEL_URL
? `https://${process.env.VERCEL_URL}`
: 'http://localhost:3000'
export const metadata = {
metadataBase: new URL(defaultUrl),
title: 'paper ai 使用真实文献让AI完成论文',
description: '写论文最高效的方式',
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en" className={GeistSans.className}>
<body className="bg-background text-foreground">
<main className="min-h-screen flex flex-col items-center">
{children}
</main>
</body>
</html>
)
}