-
Notifications
You must be signed in to change notification settings - Fork 147
/
Copy pathlayout.jsx
59 lines (56 loc) · 1.66 KB
/
layout.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import 'prismjs/themes/prism-okaidia.css'
import '@style/site.css'
import { Poppins } from 'next/font/google'
import Footer from '@component/Footer'
import Header from '@component/Header'
import Banner from '@component/Banner'
import Analytics from '@/components/Analytics'
import { Analytics as VercelAnalytics } from '@vercel/analytics/react'
const poppins = Poppins({
variable: '--font-poppins',
display: 'swap',
subsets: ['latin'],
weight: ['400', '500', '700', '800', '900'],
})
export const metadata = {
title: 'UI for your AI | LangUI',
description:
'Open Source Tailwind CSS components for your AI and GPT projects.',
openGraph: {
title: 'UI for your AI | LangUI',
description:
'Open Source Tailwind CSS components for your AI and GPT projects.',
url: 'https://www.LangUI.dev/',
siteName: 'LangUI',
type: 'website',
images: ['https://www.LangUI.dev/og.png'],
},
twitter: {
card: 'summary_large_image',
title: 'UI for your AI | LangUI',
description:
'Open Source Tailwind CSS components for your AI and GPT projects.',
},
}
export default function RootLayout({ children }) {
return (
<html
className={`${poppins.variable} h-full scroll-smooth`}
lang="en"
dir="ltr"
>
<head>
<link rel="icon" href="/favicon.ico" />
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
</head>
<Analytics GA_MEASUREMENT_ID={process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS} />
<VercelAnalytics />
<body className="bg-slate-900 antialiased">
<Header />
<Banner />
<main>{children}</main>
<Footer />
</body>
</html>
)
}