diff options
author | sadbeast <sadbeast@sadbeast.com> | 2024-06-23 15:36:59 -0700 |
---|---|---|
committer | sadbeast <sadbeast@sadbeast.com> | 2024-07-13 21:58:23 -0700 |
commit | 8d018d996c1eddb882dc64ebbd228bb0135944f3 (patch) | |
tree | d01956546a77dbae33357c9a5d174f511ac9b282 /src/views/index.mustache | |
download | teamdraft-8d018d996c1eddb882dc64ebbd228bb0135944f3.tar.gz teamdraft-8d018d996c1eddb882dc64ebbd228bb0135944f3.tar.bz2 |
Diffstat (limited to 'src/views/index.mustache')
-rw-r--r-- | src/views/index.mustache | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/views/index.mustache b/src/views/index.mustache new file mode 100644 index 0000000..29f8ed9 --- /dev/null +++ b/src/views/index.mustache @@ -0,0 +1,46 @@ + <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> |