add view logic

This commit is contained in:
2024-08-04 17:08:28 +03:30
parent 0e30088405
commit f5dabbdcd8
9 changed files with 100 additions and 23 deletions

View File

@ -19,15 +19,13 @@
<a class="btn btn-outline-dark" href="/news"> Start Reading &raquo;</a>
</p>
</section>
<section class="col-md-4" aria-labelledby="librariesTitle">
<h2 id="librariesTitle">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-outline-dark" href="https://go.microsoft.com/fwlink/?LinkId=301866">Learn more &raquo;</a></p>
</section>
<section class="col-md-4" aria-labelledby="hostingTitle">
<h2 id="hostingTitle">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-outline-dark" href="https://go.microsoft.com/fwlink/?LinkId=301867">Learn more &raquo;</a></p>
<section class="col-md-4" aria-labelledby="viewcount">
<h2 id="viewcount">View count</h2>
<p>
@ViewBag.views
</p>
<p>
<a class="btn btn-outline-dark" href="/news"> Start Reading &raquo;</a></p>
</section>
</div>
</main>