1
0

Refactoring 1

This commit is contained in:
Michael Gordeev
2019-12-09 21:14:09 +03:00
parent 7f57d9cc95
commit 53e95afa2d
115 changed files with 934 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
@{
ViewData["Title"] = "My projects";
}
<header>
<div>
<h1>My projects</h1>
<h3>Here is presented the most of projects I worked on</h3>
</div>
<iframe src="//githubbadge.appspot.com/xfox111" class="github-stats" frameborder="0"></iframe>
</header>
<article>
@foreach (Project p in ViewData["Projects"] as Project[])
{
<div class="project-item">
<div>
<h1>@p.Title</h1>
<p class="description">
@foreach(string line in p.Description.Split("\n"))
{
@line<br />
}
</p>
<a href="@(p.Link)" target="_blank">@p.LinkCaption</a>
</div>
<div>
@foreach (string i in p.Badges)
{
<div class="badge @i" title="@((ViewData["Badges"] as dynamic)[i])"></div>
}
</div>
</div>
}
</article>
<link rel="stylesheet" type="text/css" href="~/css/Projects.css" />