{% extends "base.html" %}

{% block js_and_css %}
<script type="text/javascript">const socket=io();</script>
<script src="/static/js/crafting.js"></script>
<script src="/static/js/do_craft.js"></script>
<script src="/static/js/game.js"></script>
<script src="/static/js/entry.js"></script>
{% endblock %}

{% block title %}
tradeCraft
{% endblock %}

{% block login %}

<nav id="navbar-bg" class="navbar navbar-expand-lg bg-body-tertiary fixed-top" style="display:none">
  <div class="container-fluid">
    <a class="navbar-brand" href="#">TradeCraft</a>
    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
      <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
      <ul class="navbar-nav me-auto mb-2 mb-lg-0" id="navbar-btns">
        <li class="nav-item">
          <a class="nav-link active" aria-current="page" href=".">To Login</a>
        </li>
      </ul>
      <form class="d-flex" role="search">
        <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
        <button class="btn btn-outline-success" type="submit">Search</button>
      </form>
    </div>
  </div>
</nav>


<div class="login-container" id="login-container">
    <h1>TradeCraft</h1>
    <div id="login-info-display"></div>
    <input type="text" id="username-input" placeholder="Enter your username">
    <button id="login-btn" class="btn btn-primary">Login</button>
</div>
{% endblock %}

{% block game_all %}

{% endblock %}
