/* eslint-disable */
/* global React */

function IGIcon() {
  return (
    <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.6" strokeLinecap="square">
      <rect x="3" y="3" width="18" height="18" rx="4" />
      <circle cx="12" cy="12" r="4" />
      <circle cx="17.5" cy="6.5" r="1" fill="currentColor" stroke="none" />
    </svg>
  );
}
function FBIcon() {
  return (
    <svg viewBox="0 0 24 24" fill="currentColor">
      <path d="M13.5 21v-7.5h2.5l.4-3h-2.9V8.5c0-.9.3-1.5 1.5-1.5h1.5V4.4c-.3 0-1.2-.1-2.3-.1-2.3 0-3.8 1.4-3.8 3.9V10.5H8v3h2.4V21h3.1z" />
    </svg>
  );
}

function Footer() {
  return (
    <footer className="footer">
      <div className="footer__top">
        <div className="footer__brand">
          <img src="assets/logo-wordmark.png" alt="Platinum Tuning" className="footer__logo" />
        </div>
        <div className="footer__socials">
          <a className="footer__social" href="https://www.instagram.com/platinumtuned/" target="_blank" rel="noopener noreferrer" aria-label="Instagram"><IGIcon /></a>
          <a className="footer__social" href="https://www.facebook.com/platinumtuned" target="_blank" rel="noopener noreferrer" aria-label="Facebook"><FBIcon /></a>
        </div>
      </div>
      <div className="footer__bottom">
        <span className="footer__tag">Performance · Fabrication · Dyno Tuning</span>
        <span className="footer__copy">© {new Date().getFullYear()} Platinum Tuning · Cambridge, Tasmania</span>
      </div>
    </footer>
  );
}

window.Footer = Footer;
