Files
StatiKosev/Pages/Index.cshtml
T

15 lines
442 B
Plaintext
Raw Normal View History

@page "/"
@model IndexModel
@{
ViewData["Title"] = StringValues["Title"];
}
<div>
<h1 id="welcome">@StringValues["Welcome"]</h1>
<div>@StringValues["Hello", string.IsNullOrEmpty(Model.VisitorName) ? StringValues["Guest"].Value : Model.VisitorName]</div>
<div>
<img src="~/images/profile.jpg" alt="@StringValues["PhotoAlt"]" width="600" asp-append-version="true" />
</div>
<div id="description"></div>
</div>