-
Notifications
You must be signed in to change notification settings - Fork 12
/
layout.tsx
48 lines (43 loc) · 1.23 KB
/
layout.tsx
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
import type { Metadata } from 'next'
import { Analytics } from '@vercel/analytics/react'
import { SpeedInsights } from '@vercel/speed-insights/next'
import { APP_URL } from '@/constants'
import '../styles/globals.css'
import '../styles/confetti.css'
import { Toaster } from 'sonner'
const title = 'Easyreadme - IA Powered README Builder'
const description = `Easyreadme helps you simplify README creation and generate visually stunning ones with the help of IA and elegant pre-designed templates.`
export const metadata: Metadata = {
metadataBase: new URL(APP_URL),
title,
description,
keywords: ['readme', 'easiest', 'ia', 'builder', 'markdown', 'git', 'github', 'gitlab'],
openGraph: {
title,
description,
url: '/',
siteName: 'Easyreadme.com',
locale: 'en_US',
type: 'website',
images: [
{
url: '/banner.jpg',
width: 1835,
height: 1000,
type: 'image/jpeg'
}
]
}
}
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang='en' suppressHydrationWarning className='dark'>
<body>
{children}
<Analytics />
<SpeedInsights />
<Toaster theme='system' />
</body>
</html>
)
}