import React from 'react'; import { useTranslation } from '@/lib/i18n/useTranslation'; import { SupportedLanguage } from '@/lib/i18n/translations'; interface HeaderProps { language: SupportedLanguage; } export default function Header({ language }: HeaderProps) { const t = useTranslation(language); return (
{/* App Title/Branding */}

Chess Tutor

{t.header.tagline}
{/* Action Buttons */}
{/* Buy Me a Beer Button */} 🍺 {t.header.buyMeABeer} {/* GitHub Button */} {t.header.github}
); }