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

const title = 'Privacy Policy'
const description = 'Learn what personal data GreenLens processes, why it is used, and how to contact us about privacy.'

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

export default function PrivacyPage() {
  return (
    <>
      <Navbar />
      <PrivacyContent />
      <Footer />
    </>
  )
}
