Files
StatiKosev/Pages/Index.cshtml
T

25 lines
955 B
Plaintext

@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">@StringValues["Description"]</div>
<div id="message-me-div">
<button id="message-me-btn" type="button" popovertarget="message-me" popover popovertargetaction="show">@StringValues["SendMeAMessage"]
</button>
<div id="message-me" popover>
<partial name="Shared/_MessageMe" />
</div>
<button id="cancel-message-btn" type="button" popovertarget="message-me" popover popovertargetaction="hide">@StringValues["CancelMessaging"]
</button>
</div>
</div>