@model IEnumerable<TrackerLibrary.Models.TournamentModel>

@{
    ViewBag.Title = "Home Page";
}



    <div class="row">
        <div class="col-md-8">
            <div class="jumbotron">
                <h1>Office Fun!</h1>
                <p class="lead">Track your in office tournament easily and have a great time doing it.</p>
                <p><a href="https://asp.net" class="btn btn-primary btn-lg">Create a tournament</a></p>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <h2>Play with friends</h2>
                    <p>
                        Get a team and get started today on a new tournament.
                    </p>
                </div>
                <div class="col-md-6">
                    <h2>Win prizes</h2>
                    <p>Set up a tournament with prizes for first and second place and compete to win.</p>
                </div>
            </div>
        </div>
        <div class="col-md-4">
            <h2>Current Tournament</h2>
            <ul class="list-unstyled tourney-display">
                @foreach (var item in Model)
                {
                    <li><a href="/">@item.TournamentName</a></li>
                }

            </ul>
        </div>

    </div>