From e1f3c754c1f3ed84af6d5e02904d57e99feb452a Mon Sep 17 00:00:00 2001 From: Mateusz Skoczek Date: Sat, 19 Oct 2024 01:07:10 +0200 Subject: [PATCH] media page role panels finished --- .../CreatorRolesPanelComponent.razor | 10 +++++++++ .../CreatorRolesPanelComponent.razor.cs | 22 +++++++++++++++++++ .../CreatorRolesPanelComponent.razor.css | 0 3 files changed, 32 insertions(+) create mode 100644 WatchIt.Website/WatchIt.Website/Components/MediaPage/CreatorRolesPanelComponent.razor create mode 100644 WatchIt.Website/WatchIt.Website/Components/MediaPage/CreatorRolesPanelComponent.razor.cs create mode 100644 WatchIt.Website/WatchIt.Website/Components/MediaPage/CreatorRolesPanelComponent.razor.css diff --git a/WatchIt.Website/WatchIt.Website/Components/MediaPage/CreatorRolesPanelComponent.razor b/WatchIt.Website/WatchIt.Website/Components/MediaPage/CreatorRolesPanelComponent.razor new file mode 100644 index 0000000..875dc3c --- /dev/null +++ b/WatchIt.Website/WatchIt.Website/Components/MediaPage/CreatorRolesPanelComponent.razor @@ -0,0 +1,10 @@ +
+
+ Actors + +
+
\ No newline at end of file diff --git a/WatchIt.Website/WatchIt.Website/Components/MediaPage/CreatorRolesPanelComponent.razor.cs b/WatchIt.Website/WatchIt.Website/Components/MediaPage/CreatorRolesPanelComponent.razor.cs new file mode 100644 index 0000000..4a98650 --- /dev/null +++ b/WatchIt.Website/WatchIt.Website/Components/MediaPage/CreatorRolesPanelComponent.razor.cs @@ -0,0 +1,22 @@ +using Microsoft.AspNetCore.Components; +using WatchIt.Website.Services.WebAPI.Media; + +namespace WatchIt.Website.Components.MediaPage; + +public partial class ActorRolesPanelComponent : ComponentBase +{ + #region SERVICES + + [Inject] private IMediaWebAPIService MediaWebAPIService { get; set; } = default!; + + #endregion + + + + #region PARAMETERS + + [Parameter] public string Class { get; set; } = string.Empty; + [Parameter] public required long Id { get; set; } + + #endregion +} \ No newline at end of file diff --git a/WatchIt.Website/WatchIt.Website/Components/MediaPage/CreatorRolesPanelComponent.razor.css b/WatchIt.Website/WatchIt.Website/Components/MediaPage/CreatorRolesPanelComponent.razor.css new file mode 100644 index 0000000..e69de29