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

export const metadata: Metadata = {
  title: 'GreenLens - Plant Identifier & Care Planner',
  description:
    'Scan plants by photo, understand what they need, and keep care, reminders, and your collection in one app.',
  alternates: {
    canonical: '/en',
    languages: {
      de: '/',
      en: '/en',
      es: '/es',
      'x-default': '/',
    },
  },
  openGraph: {
    title: 'GreenLens - Plant Identifier & Care Planner',
    description:
      'Scan plants by photo, understand what they need, and keep care, reminders, and your collection in one app.',
    url: `${siteConfig.domain}/en`,
    type: 'website',
    locale: 'en_US',
  },
  twitter: {
    card: 'summary_large_image',
    title: 'GreenLens - Plant Identifier & Care Planner',
    description:
      'Scan plants by photo, understand what they need, and keep care, reminders, and your collection in one app.',
  },
}

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