components organized

This commit is contained in:
2024-10-19 21:14:38 +02:00
Unverified
parent 28dcc102e6
commit 25fccff60d
76 changed files with 456 additions and 297 deletions

View File

@@ -1,6 +1,7 @@
@using System.Text
@using Microsoft.IdentityModel.Tokens
@using WatchIt.Common.Model.Genres
@using WatchIt.Website.Components.Pages.MediaPage.Panels
@page "/media/{id:long}"
@@ -31,7 +32,7 @@ else
{
<div class="row mt-9">
<div class="col-auto">
<img class="rounded-2 shadow object-fit-cover" src="@(_poster is not null ? _poster.ToString() : "assets/poster.png")" alt="poster" width="200" height="333"/>
<img class="rounded-2 shadow object-fit-cover" src="@(_poster is not null ? _poster.ToString() : "assets/media_poster.png")" alt="poster" width="200" height="333"/>
</div>
<div class="col">
<div class="d-flex h-100">
@@ -220,7 +221,7 @@ else
{
<div class="row">
<div class="col">
<ErrorComponent ErrorMessage="@_error"/>
<ErrorPanelComponent ErrorMessage="@_error"/>
</div>
</div>
}