import Link from 'next/link';
import {contact} from '@/config/contact';
import {Logo} from './Logo';

export function Footer() {
  return (
    <footer className="footer">
      <div className="footer__inner">
        <div className="footer__brand">
          <Link href="/pl" aria-label="Ultifide konfiguratory 3D">
            <Logo isWhite />
          </Link>
          <p>Copyright © 2026, Ultifide</p>
        </div>
        <address className="footer__contact">
          {contact.address.map(line => (
            <span key={line}>{line}</span>
          ))}
        </address>
      </div>
    </footer>
  );
}
