import Head from 'next/head';

export default function Index() { return ( <>
  <Head>
    <meta httpEquiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>SheetJS Next.JS Demo</title>
  </Head>
  <h3>SheetJS Next.JS Demo</h3>
  <p>
    This demo reads from <code>/sheetjs.xlsx</code><br/>
  </p>
  <table><thead><tr><th>Route</th><th>NextJS Strategy</th></tr></thead><tbody>
    <tr>
      <td><a href="/getStaticProps"><code>/getStaticProps</code></a></td>
      <td><code>getStaticProps</code></td>
    </tr>
    <tr>
      <td><a href="/getServerSideProps"><code>/getServerSideProps</code></a></td>
      <td><code>getServerSideProps</code></td>
    </tr>
    <tr>
      <td><a href="/getStaticPaths"><code>/getStaticPaths</code></a></td>
      <td><code>getStaticPaths</code></td>
    </tr>
  </tbody></table>
</> ); }
