The new UI-project is developing startpage has got right texts and list of Tournaments is showing up

This commit is contained in:
2020-05-03 22:52:11 +02:00
parent ad209b7b5b
commit 9957004b80
9 changed files with 71 additions and 69 deletions

View File

@ -1,7 +0,0 @@
@{
ViewBag.Title = "About";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<p>Use this area to provide additional information.</p>

View File

@ -1,17 +0,0 @@
@{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.com</a><br />
<strong>Marketing:</strong> <a href="mailto:Marketing@example.com">Marketing@example.com</a>
</address>

View File

@ -1,31 +1,40 @@
@{
@model IEnumerable<TrackerLibrary.Models.TournamentModel>
@{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="https://asp.net" class="btn btn-primary btn-lg">Learn more &raquo;</a></p>
</div>
<div class="row">
<div class="col-md-4">
<h2>Getting started</h2>
<p>
ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that
enables a clean separation of concerns and gives you full control over markup
for enjoyable, agile development.
</p>
<p><a class="btn btn-default" href="https://go.microsoft.com/fwlink/?LinkId=301865">Learn more &raquo;</a></p>
</div>
<div class="col-md-4">
<h2>Get more libraries</h2>
<p>NuGet is a free Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects.</p>
<p><a class="btn btn-default" href="https://go.microsoft.com/fwlink/?LinkId=301866">Learn more &raquo;</a></p>
</div>
<div class="col-md-4">
<h2>Web Hosting</h2>
<p>You can easily find a web hosting company that offers the right mix of features and price for your applications.</p>
<p><a class="btn btn-default" href="https://go.microsoft.com/fwlink/?LinkId=301867">Learn more &raquo;</a></p>
</div>
</div>
<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>