import React from 'react';

export default function Footer() {
  const year = new Date().getFullYear();
  return (
    <footer className="border-t border-rule mt-8 py-6 bg-paper">
      <div className="max-w-6xl mx-auto px-4 sm:px-6 flex flex-col sm:flex-row sm:justify-between gap-2 text-xs text-muted">
        <div>© 2010–{year} pushkinohistory.ru</div>
        <div className="flex gap-4">
          <a href="/feed/">RSS</a>
          <a href="/sitemap.xml">Карта сайта</a>
          <a href="https://forum.pushkinohistory.ru/" target="_blank" rel="noopener noreferrer">Форум ↗</a>
        </div>
      </div>
    </footer>
  );
}
