import type { Metadata } from 'next'
import Home from '../page'
import { siteConfig } from '@/lib/site'

export const metadata: Metadata = {
  title: 'GreenLens Plant Identifier — Name + Care Plan Instantly',
  description:
    'GreenLens is a plant identifier app: snap a photo, get the name, and see the care plan before the plant gets worse. 450+ species, one free scan.',
  alternates: {
    canonical: '/en',
    languages: {
      de: '/',
      en: '/en',
      es: '/es',
      'x-default': '/',
    },
  },
  openGraph: {
    title: 'GreenLens Plant Identifier — Name + Care Plan Instantly',
    description:
      'GreenLens is a plant identifier app: snap a photo, get the name, and see the care plan before the plant gets worse. 450+ species, one free scan.',
    url: `${siteConfig.domain}/en`,
    type: 'website',
    locale: 'en_US',
  },
  twitter: {
    card: 'summary_large_image',
    title: 'GreenLens Plant Identifier — Name + Care Plan Instantly',
    description:
      'GreenLens is a plant identifier app: snap a photo, get the name, and see the care plan before the plant gets worse. 450+ species, one free scan.',
  },
}

export default function EnglishHomePage() {
  return <Home locale="en" />
}
