1
0
This repository has been archived on 2026-04-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
my-old-website/MyWebsite.old/Views/Projects/Index.cshtml
T
Michael Gordeev 53e95afa2d Refactoring 1
2019-12-09 21:14:09 +03:00

37 lines
1.0 KiB
Plaintext

@{
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" />