import type { Metadata } from 'next'
import Navbar from '@/components/Navbar'
import Footer from '@/components/Footer'
import ImprintContent from './ImprintContent'
import { siteConfig } from '@/lib/site'

const title = 'Imprint'
const description = 'Legal imprint and company contact information for GreenLens.'

export const metadata: Metadata = {
  title,
  description,
  alternates: {
    canonical: '/imprint',
  },
  openGraph: {
    title: `${title} | GreenLens`,
    description,
    url: `${siteConfig.domain}/imprint`,
    type: 'website',
  },
  twitter: {
    card: 'summary_large_image',
    title: `${title} | GreenLens`,
    description,
  },
}

export default function ImprintPage() {
  return (
    <>
      <Navbar />
      <ImprintContent />
      <Footer />
    </>
  )
}
