about summary refs log tree commit diff
path: root/MatrixUtils.Web/Pages/Client/ClientComponents/MatrixClient.razor
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-05-03 19:40:00 +0200
committerRory& <root@rory.gay>2024-05-03 19:40:00 +0200
commit222f475dfd662980d5e0b9f27efa951f91604364 (patch)
tree71777992828134ee89249a7e37339bc4aa89ba86 /MatrixUtils.Web/Pages/Client/ClientComponents/MatrixClient.razor
parentCleanup, work on index2, some tooling updates (diff)
downloadMatrixUtils-222f475dfd662980d5e0b9f27efa951f91604364.tar.xz
All kinds of changes
Diffstat (limited to '')
-rw-r--r--MatrixUtils.Web/Pages/Client/ClientComponents/MatrixClient.razor31
1 files changed, 31 insertions, 0 deletions
diff --git a/MatrixUtils.Web/Pages/Client/ClientComponents/MatrixClient.razor b/MatrixUtils.Web/Pages/Client/ClientComponents/MatrixClient.razor
new file mode 100644

index 0000000..b4a81f7 --- /dev/null +++ b/MatrixUtils.Web/Pages/Client/ClientComponents/MatrixClient.razor
@@ -0,0 +1,31 @@ +@using Index = MatrixUtils.Web.Pages.Client.Index +@using MatrixUtils.Web.Pages.Client.ClientComponents + +<div class="container-fluid"> + <div class="row"> + <div class="col-3"> + <ClientRoomList Data="@Data"/> + </div> + <div class="col-6"> + @if (Data.SelectedRoom != null) { + <Index.RoomHeader Data="@Data"/> + <Index.RoomTimeline Data="@Data"/> + } + else { + <p>No room selected</p> + } + </div> + @if (Data.SelectedRoom != null) { + <div class="col-3"> + <Index.UserList Data="@Data"/> + </div> + } + </div> +</div> + +@code { + + [Parameter] + public Index.ClientContext Data { get; set; } = null!; + +} \ No newline at end of file