---
import { site } from '../lib/site';

const year = new Date().getFullYear();
---

<footer class="site-footer">
  <div class="footer-meta">
    <span class="footer-copyright">
      <span>&copy;</span>
      <span>{year}</span>
      <span class="footer-name">{site.name}</span>
    </span>
    {/* address marks only the author's contact details, per HTML spec. */}
    <address class="footer-contact">
      <a href={`mailto:${site.email}`}>Email</a>
      <a href={site.cv} rel="noopener">CV</a>
      <a href={site.git} rel="noopener me">Git</a>
      <a href={site.linkedin} rel="noopener me">LinkedIn</a>
    </address>
  </div>
</footer>
