import React from 'react' import { Metadata } from 'next' import Image from 'next/image' import Link from 'next/link' import SeoNavbar from '@/components/seo/SeoNavbar' import SeoFooter from '@/components/seo/SeoFooter' import { blogPosts } from '@/lib/blogPosts' export const metadata: Metadata = { title: 'GreenLens Plant Care & Identification Blog', description: 'Expert guides on houseplant watering schedules, plant disease diagnosis, pest control, and photo identification.', alternates: { canonical: '/blog', }, } const readMoreLabel: Record = { en: 'Read Full Guide', de: 'Ganzen Artikel lesen', es: 'Leer la guía completa', } const languageBadge: Record = { en: { label: 'EN', flag: '🇬🇧' }, de: { label: 'DE', flag: '🇩🇪' }, es: { label: 'ES', flag: '🇪🇸' }, } export default function BlogIndexPage() { // This index page's own chrome (hero copy) stays English, but every post — // English, German, Spanish — is listed here with a small language badge so // DE/ES posts are actually discoverable instead of living at an unlinked URL. const posts = Object.values(blogPosts) return (
{/* Header Navigation */} {/* Decorative Ambient Green Blobs */}