Files
WatchIt/WatchIt.Website/Components/Panels/Common/ItemPageHeaderPanel.razor

27 lines
968 B
Plaintext
Raw Normal View History

@using WatchIt.Website.Components.Subcomponents.Common
@inherits Component
2024-10-30 23:28:47 +01:00
<div class="container-grid mt-header">
2024-10-22 02:34:02 +02:00
<div class="row">
<div class="col-auto">
<Image Content="@(Poster)" Placeholder="@(PosterPlaceholder)" AlternativeText="poster" Height="350"/>
2024-10-22 02:34:02 +02:00
</div>
<div class="col">
<div class="d-flex flex-column justify-content-end h-100">
<h1 class="fw-bold title-shadow">@(Name)</h1>
<div class="d-flex flex-column gap-3">
@if (!string.IsNullOrWhiteSpace(Subname))
{
<span class="fst-italic description-shadow">@(Subname)</span>
}
@if (!string.IsNullOrWhiteSpace(Description))
{
<span class="description-shadow">@(Description)</span>
}
</div>
</div>
</div>
</div>
</div>