MogensR commited on
Commit
9a2a4eb
·
1 Parent(s): 396aa4f

Create web/src/app/layout.tsx

Browse files
Files changed (1) hide show
  1. web/src/app/layout.tsx +56 -0
web/src/app/layout.tsx ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { Metadata } from 'next'
2
+ import { Inter } from 'next/font/google'
3
+ import './globals.css'
4
+ import { Providers } from '@/components/providers'
5
+ import { Toaster } from 'react-hot-toast'
6
+ import { Analytics } from '@/components/analytics'
7
+
8
+ const inter = Inter({ subsets: ['latin'] })
9
+
10
+ export const metadata: Metadata = {
11
+ title: 'BackgroundFX Pro - AI-Powered Background Removal',
12
+ description: 'Professional background removal and replacement using advanced AI technology',
13
+ keywords: 'background removal, AI, image editing, video editing, photo editor',
14
+ authors: [{ name: 'BackgroundFX Pro' }],
15
+ openGraph: {
16
+ title: 'BackgroundFX Pro',
17
+ description: 'Remove and replace backgrounds instantly with AI',
18
+ type: 'website',
19
+ url: 'https://backgroundfx.pro',
20
+ images: ['/og-image.png'],
21
+ },
22
+ twitter: {
23
+ card: 'summary_large_image',
24
+ title: 'BackgroundFX Pro',
25
+ description: 'Remove and replace backgrounds instantly with AI',
26
+ images: ['/twitter-image.png'],
27
+ },
28
+ }
29
+
30
+ export default function RootLayout({
31
+ children,
32
+ }: {
33
+ children: React.ReactNode
34
+ }) {
35
+ return (
36
+ <html lang="en" suppressHydrationWarning>
37
+ <body className={inter.className}>
38
+ <Providers>
39
+ {children}
40
+ <Toaster
41
+ position="bottom-right"
42
+ toastOptions={{
43
+ className: '',
44
+ style: {
45
+ background: '#18181b',
46
+ color: '#fff',
47
+ border: '1px solid #27272a',
48
+ },
49
+ }}
50
+ />
51
+ <Analytics />
52
+ </Providers>
53
+ </body>
54
+ </html>
55
+ )
56
+ }