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/Contacts/Index.cshtml
T
Michael Gordeev 53e95afa2d Refactoring 1
2019-12-09 21:14:09 +03:00

25 lines
600 B
Plaintext

@{
ViewData["Title"] = "Contact info";
}
<header>
<h1>Contact information</h1>
</header>
<article>
<p>
@foreach(Link link in ViewData["contactLinks"] as List<Link>)
{
<a class="socicon-@(link.Socicon)"></a> @(link.Title) <a href="@(link.Url)" target="_blank">@(link.Username)</a><br />
}
</p>
<p>
@foreach (Link link in ViewData["otherLinks"] as List<Link>)
{
<a class="socicon-@(link.Socicon)"></a> @(link.Title) <a href="@(link.Url)" target="_blank">@(link.Username)</a><br />
}
</p>
</article>