File size: 1,604 Bytes
9a2a4eb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import './globals.css'
import { Providers } from '@/components/providers'
import { Toaster } from 'react-hot-toast'
import { Analytics } from '@/components/analytics'

const inter = Inter({ subsets: ['latin'] })

export const metadata: Metadata = {
  title: 'BackgroundFX Pro - AI-Powered Background Removal',
  description: 'Professional background removal and replacement using advanced AI technology',
  keywords: 'background removal, AI, image editing, video editing, photo editor',
  authors: [{ name: 'BackgroundFX Pro' }],
  openGraph: {
    title: 'BackgroundFX Pro',
    description: 'Remove and replace backgrounds instantly with AI',
    type: 'website',
    url: 'https://backgroundfx.pro',
    images: ['/og-image.png'],
  },
  twitter: {
    card: 'summary_large_image',
    title: 'BackgroundFX Pro',
    description: 'Remove and replace backgrounds instantly with AI',
    images: ['/twitter-image.png'],
  },
}

export default function RootLayout({
  children,
}: {
  children: React.ReactNode
}) {
  return (
    <html lang="en" suppressHydrationWarning>
      <body className={inter.className}>
        <Providers>
          {children}
          <Toaster
            position="bottom-right"
            toastOptions={{
              className: '',
              style: {
                background: '#18181b',
                color: '#fff',
                border: '1px solid #27272a',
              },
            }}
          />
          <Analytics />
        </Providers>
      </body>
    </html>
  )
}