From bf69b4b3b323b5281809ba93506b8bbbe7ca4a94 Mon Sep 17 00:00:00 2001 From: etienne Date: Fri, 16 Feb 2024 11:15:51 +0100 Subject: [PATCH 1/2] Update styling in page.tsx, LoginForm.tsx, and Navbar.tsx --- frontend/src/app/page.tsx | 2 +- frontend/src/components/Home/LoginForm.tsx | 6 +++--- frontend/src/components/Home/Navbar.tsx | 12 ++++++++---- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/frontend/src/app/page.tsx b/frontend/src/app/page.tsx index aa8ba10..b597b59 100644 --- a/frontend/src/app/page.tsx +++ b/frontend/src/app/page.tsx @@ -13,7 +13,7 @@ export default function Home() {
-

+

Kurama-chat
anytime, anywhere

diff --git a/frontend/src/components/Home/LoginForm.tsx b/frontend/src/components/Home/LoginForm.tsx index 608c31b..7c1877f 100644 --- a/frontend/src/components/Home/LoginForm.tsx +++ b/frontend/src/components/Home/LoginForm.tsx @@ -55,7 +55,7 @@ function LoginForm() {
- + Sign In - + Sign Up diff --git a/frontend/src/components/Home/Navbar.tsx b/frontend/src/components/Home/Navbar.tsx index 00f04e5..72c3605 100644 --- a/frontend/src/components/Home/Navbar.tsx +++ b/frontend/src/components/Home/Navbar.tsx @@ -30,12 +30,14 @@ function Navbar() { <> - {React.createElement(icon, { className: "w-10 h-10" })} + {React.createElement(icon, { + className: "w-10 h-10 dark:text-white", + })}{" "} {label} {title && ( @@ -81,12 +83,14 @@ function Navbar() { {icon ? ( - {React.createElement(icon, { className: "w-6 h-6" })} + {React.createElement(icon, { + className: "w-6 h-6 dark:text-white", + })}{" "} {label} ) : ( From 6eda91bfddfaec8b249972f3ad0e96f6b087fe50 Mon Sep 17 00:00:00 2001 From: etienne Date: Fri, 16 Feb 2024 11:51:15 +0100 Subject: [PATCH 2/2] Update styles and button text size in ChatHeader and RoomSideBar components --- frontend/src/components/Chat/ChatHeader.tsx | 5 ++++- frontend/src/components/Room/RoomSideBar.tsx | 8 ++++---- frontend/tailwind.config.js | 3 +++ 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/Chat/ChatHeader.tsx b/frontend/src/components/Chat/ChatHeader.tsx index 1217e7f..399a1a2 100644 --- a/frontend/src/components/Chat/ChatHeader.tsx +++ b/frontend/src/components/Chat/ChatHeader.tsx @@ -28,7 +28,10 @@ function ChatHeader({ roomId }: { roomId: string }) { return (

{room?.title}

- +
-

+

Rooms 🌐

{rooms.map((room: IRoom, index) => { @@ -58,7 +58,7 @@ function RoomSideBar() {
); })} -

+

Rooms 🔒

diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js index c65e013..86a2dbc 100644 --- a/frontend/tailwind.config.js +++ b/frontend/tailwind.config.js @@ -13,6 +13,9 @@ module.exports = { secondary: "rgb(139 132 245)", "custom-gray": "#222222", }, + maxWidth: { + "1/5": "20%", + }, backgroundImage: { gradient: "linear-gradient(90deg, #6C63FF 0%, #C100D4 50%, #82ECEE 100%)",