import { Metadata } from 'next'
import { blogPosts } from '@/lib/blogPosts'
import { BlogPostTemplate } from '@/components/blog/BlogPostTemplate'

const post = blogPosts['houseplant-watering-schedule']

export const metadata: Metadata = {
  title: post.metaTitle,
  description: post.metaDescription,
  alternates: {
    canonical: post.canonical,
  },
  openGraph: {
    title: post.metaTitle,
    description: post.metaDescription,
    images: [{ url: post.heroImage }],
  },
}

export default function HouseplantWateringSchedulePage() {
  return <BlogPostTemplate post={post} />
}
