<!DOCTYPE html>
<html lang="en">

<head>
  <%- include("../../partials/header.ejs") %>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>JudgeJS Homepage</title>
</head>

<body>
  <%- include("../../partials/privateNav.ejs") %>

    <div class="columns">
      <div class="column is-2"></div>
      <div class="column is-8">
        <div class="section">

          <div class="block">
            <h1 class="title is-2" style="text-align: center">Welcome, <%=userInfo.fullName%>!</h1>
          </div>

          <div class="columns is-multiline">
            <div class="column">
              <div class="box">
                <h4 class="title is-4">Your Entries</h4>
                <table class="table is-bordered is-striped">
                  <thead>
                    <th>Tournament Name</th>
                    <th>Event</th>
                    <th>Entry Status</th>
                  </thead>
                  <tbody>
                    <%- html.entryTableHTML %>
                  </tbody>
                </table>
              </div>
            </div>
            <div class="column">
              <div class="box">
                <h4 class="title is-4">I Want To...</h4>
                <a href="/private/create/entry"><button class="button is-success" style="margin-bottom: 1.5rem">Sign Up for a Tournament</button> </a>
                <a href="/calendar"> <button class="button is-success" style="margin-bottom: 1.5rem">Check the Tournament Calendar</button> </a>
              </div>
            </div>
          </div>



        </div>
      </div>
    </div>

    <div class="column is-2"></div>




    <script>
    </script>

    <%- include("../../partials/footer.ejs") %>
</body>

</html>