import { Link } from 'react-router-dom'; import SEOHead from '../components/seo/SEOHead'; import { useLanguage } from '../contexts/LanguageContext'; const posts = [ { slug: 'introducing-texpixel', title: 'Introducing TexPixel', titleZh: 'TexPixel 介绍', description: 'Meet TexPixel — your AI-powered formula recognition tool', descriptionZh: '认识 TexPixel — 你的 AI 公式识别工具', date: '2026-03-25', }, ]; export default function BlogListPage() { const { language } = useLanguage(); return ( <>

{language === 'en' ? 'Blog' : '博客'}

{posts.map((post) => (
{post.date}

{language === 'en' ? post.title : post.titleZh}

{language === 'en' ? post.description : post.descriptionZh}

))}
); }