export default function Home() {
  const apiEntrypoint = process.env.NEXT_PUBLIC_ENTRYPOINT || "http://localhost:8000";

  return (
    <main style={{ fontFamily: "system-ui", padding: "2rem" }}>
      <h1>FullStack Lab - REI 2022</h1>
      <p>Analyse des taxes locales françaises</p>
      <ul>
        <li>
          <a href={`${apiEntrypoint}/api`}>API Platform UI</a>
        </li>
        <li>
          <a href={`${apiEntrypoint}/api/taxes`}>Taxes</a>
        </li>
        <li>
          <a href={`${apiEntrypoint}/api/departments`}>Départements</a>
        </li>
      </ul>
    </main>
  );
}
