export default function Index() {
  return (
    <div>
      <div style={{ position: "absolute", top: "12px", left: "10px" }}>
        <a href={`/interactive-learning-resources-for-preschool`}>
          <i class="fa fa-arrow-left fa-2x" aria-hidden="true"></i>
        </a>
      </div>
      <div
        style={{ height: "100vh", display: "flex", flexDirection: "column" }}
      >
        <iframe
          src={`https://interaktogames.beanstalkedu.com/${window.location.search.replace(
            /^\?/,
            ""
          )}`}
          style={{ flex: 1, border: "none" }}
        />
      </div>
    </div>
  );
}
