WeatherDashboard/WeatherDashboard.Web/Views/Home/Index.cshtml

15 lines
438 B
Plaintext
Raw Normal View History

2023-02-10 03:33:02 +00:00
@model WeatherSet
@{
2023-02-09 02:30:14 +00:00
ViewData["Title"] = "Home Page";
}
2023-02-16 15:06:43 +00:00
<div class="location">
<div>@Model.Location.Region, @Model.Location.Name</div>
<small>Last updated on @Model.Current.LastUpdated</small>
2023-02-10 03:33:02 +00:00
</div>
2023-02-16 15:06:43 +00:00
<div class="current-conditions">
<div class="current-temperature">@Model.Current.Temperature<span class="degrees">&#176;F</span></div>
<div class="current-condition-name">@Model.Current.ConditionName</div>
2023-02-09 02:30:14 +00:00
</div>