import React from "react";
import { BlockLink, Layout } from "../components";
import { BlockBody, BlockHeader } from "../styles";
import "../styles/main.css";

const NotFoundPage = (): React.ReactElement => {
  return (
    <Layout>
      <BlockHeader>Not found</BlockHeader>
      <BlockBody>
        Sorry{" "}
        <span role="img" aria-label="Pensive emoji">
          😔
        </span>{" "}
        we couldn&apos;t find what you were looking for.
      </BlockBody>
      <BlockLink href="/" aria-label="Return to the front page">
        Home
      </BlockLink>
    </Layout>
  );
};

export default NotFoundPage;
export { Head } from "../components/SEO";
