aboutsummaryrefslogblamecommitdiffstats
path: root/src/views/index.mustache
blob: 29f8ed9fabe6d6885d35c4a2ce09e88f7fe8e44c (plain) (tree)













































                                                                                                                                                                                                                                                                                                                                              
    <div class="grid">
        <div>
            <p>Welcome! Team Draft is a 2-person fantasy sports league, where you draft entire sports teams - not players - and score points throughout the season based on wins and playoff appearances. The idea was taken from the <a href="https://www.espn.com/radio/play/_/id/32078500">Mina Kimes Show's yearly NFL Team Draft</a>.</p>
            <ul>
                <li>Create a live draft to pick your teams!</li>
                <li>Manage players' teams manually to support trades</li>
                <li>Keeps track of <a hx-boost="false" href="/leagues/2?season=2023">game scores</a> automatically</li>
            </ul>
            <p>Create a league now, and schedule a live draft!</p>
        </div>
        <div>
            <article>
                <header>2014 NFL Season</header>
            <form>
              <fieldset>
                <label>
                  League name
                  <input name="first_name" placeholder="Pat & Sam's League" required/>
                </label>
              </fieldset>
              <fieldset class="grid">
                <label>
                  Your name
                  <input name="player1" placeholder="Pat" autocomplete="given-name" required />
                </label>
                <label>
                  Opponent's name
                  <input name="player2" placeholder="Sam" required />
                </label>
              </fieldset>
              <fieldset class="grid">
                <label>
                  <input type="checkbox" name="draft" role="switch" checked />
                  Schedule a draft
                </label>
                <label>
                    <input type="datetime-local" name="draft_time" aria-label="Draft start time" />
                </label>
              </fieldset>

              <input type="submit" value="Create league" disabled/>
              <small>Coming soon...</small>
            </form>
            </article>
        </div>
    </div>