import { GiTechnoHeart } from "react-icons/gi";
import packagejson from "../../package.json";

const Footer: React.FC = () => {
  return (
    <footer className="footer footer-center h-12 p-2 bg-base-100 text-base-content">
      <div>
        <p>
          Made with{" "}
          <GiTechnoHeart className="inline-block text-primary text-lg" /> by{" "}
          <a
            className="link link-primary link-hover"
            href="https://atri.dad"
            rel="noreferrer"
            target="_blank"
          >
            Atridad Lahiji
          </a>{" "}
          -{" "}
          <a
            className="link link-primary link-hover"
            href={`https://github.com/atridadl/sprintpadawan/releases/tag/${packagejson.version}`}
            rel="noreferrer"
            target="_blank"
          >
            v{packagejson.version}
          </a>
        </p>
      </div>
    </footer>
  );
};

export default Footer;
