2024-01-18 15:46:18 +08:00
|
|
|
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),
|
2024-01-22 08:53:58 +08:00
|
|
|
title: 'paper ai 使用真实文献让AI完成论文',
|
|
|
|
description: '写论文最高效的方式',
|
2024-01-18 15:46:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
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>
|
|
|
|
)
|
|
|
|
}
|