From af24bfa7d37c7925072167bdb2cffd8c8429d622 Mon Sep 17 00:00:00 2001 From: Chris-1010 <122332721@umail.ucc.ie> Date: Sat, 22 Feb 2025 12:14:00 +0000 Subject: [PATCH] REFACTOR: Relocate components to appropriate folders + minor style adjustments --- frontend/index.html | 4 +- frontend/src/components/Auth/LoginForm.tsx | 2 +- frontend/src/components/Layout/ListItem.tsx | 2 +- frontend/src/components/Layout/ListRow.tsx | 4 +- .../{Video => Stream}/ChatPanel.tsx | 0 .../src/components/Stream/VideoPlayer.tsx | 117 ++++++++++++++++++ frontend/src/components/Video/VideoPlayer.tsx | 96 -------------- frontend/src/pages/HomePage.tsx | 5 +- frontend/src/pages/VideoPage.tsx | 4 +- 9 files changed, 127 insertions(+), 107 deletions(-) rename frontend/src/components/{Video => Stream}/ChatPanel.tsx (100%) create mode 100644 frontend/src/components/Stream/VideoPlayer.tsx delete mode 100644 frontend/src/components/Video/VideoPlayer.tsx diff --git a/frontend/index.html b/frontend/index.html index 2f8fa8d..8989d4f 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,5 +1,5 @@ - + @@ -7,7 +7,7 @@ Team Software Project -
+
diff --git a/frontend/src/components/Auth/LoginForm.tsx b/frontend/src/components/Auth/LoginForm.tsx index 1d9f558..4fb6457 100644 --- a/frontend/src/components/Auth/LoginForm.tsx +++ b/frontend/src/components/Auth/LoginForm.tsx @@ -148,7 +148,7 @@ const LoginForm: React.FC = ({ onSubmit, onForgotPassword }) => { errors.password ? "border-red-500" : "" }`} > -
+