text: import React from 'react';
  import { Link } from 'react-router-dom';
  
  import ContactIcons from '../Contact/ContactIcons';
  
  const { PUBLIC_URL } = process.env; // set automatically from package.json:homepage
  
  const SideBar = () => (
    <section id="sidebar">
      <section id="intro">
        <Link to="/" className="logo">
          <img src={`${PUBLIC_URL}/images/me.jpg`} alt="" />
        </Link>
        <header>
          <h2>Wade Varesio</h2>
          <p><a href="mailto:contact@wadevaresio.com">contact@wadevaresio.com</a></p>
        </header>
      </section>
  
      <section className="blurb">
        <h2>About</h2>
        <p>Hello, I&apos;m Wade.
          I am a 4th year Computer Science student at <a href="https://www.ucsb.edu/">UCSB</a>.
        </p>
        <ul className="actions">
          <li>
            {!window.location.pathname.includes('/resume') ? <Link to="/resume" className="button">Learn More</Link> : <Link to="/about" className="button">About Me</Link>}
          </li>
        </ul>
      </section>
  
      <section id="footer">
        <ContactIcons />
        <p className="copyright">Wade Varesio <Link to="/">wadevaresio.com</Link>.</p>
      </section>
    </section>
  );
  
  export default SideBar;
  