@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>@Html.ActionLink("Create a Tournament", "Create", "Tournaments", new { area = "" }, new { @class = "btn btn-primary btn-lg" })</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>@Html.ActionLink(item.TournamentName,"Details","Tournaments",new { id=item.Id },new { })</li>
            }

        </ul>
    </div>

</div>