From a7a2058ec967cadbd224d14ac5523d5d8a4124df Mon Sep 17 00:00:00 2001 From: VaibhavDangaich <31512333+VaibhavDangaich@users.noreply.github.com> Date: Fri, 25 Jul 2025 18:42:26 +0530 Subject: [PATCH] Refactor: Improve Home page authentication form styling Improved the styling and layout of the authentication form on the Home page using custom CSS instead of Material UI components. This provides a more visually appealing and consistent design, enhancing user experience. The changes include a custom-styled form with updated colors, rounded corners, shadows, and improved spacing. The form elements are now styled individually for greater control and visual consistency. --- src/pages/Home/Home.tsx | 117 ++++++++++++++++++++++++++++++++-------- 1 file changed, 94 insertions(+), 23 deletions(-) diff --git a/src/pages/Home/Home.tsx b/src/pages/Home/Home.tsx index d01792c..0c31abf 100644 --- a/src/pages/Home/Home.tsx +++ b/src/pages/Home/Home.tsx @@ -142,30 +142,101 @@ const Home: React.FC = () => { }} > {/* Authentication Form */} - -
- - setUsername(e.target.value)} - required - sx={{ flex: 1 }} - /> - setToken(e.target.value)} - type="password" - required - sx={{ flex: 1 }} - /> - - +
+ +

+ GitHub Login +

+ setUsername(e.target.value)} + required + style={{ + padding: "0.85rem 1rem", + borderRadius: "10px", + border: "none", + background: "rgba(255,255,255,0.35)", + fontSize: "1rem", + outline: "none", + boxShadow: "0 2px 8px rgba(31,38,135,0.07)", + color: "#232946", + }} + /> + setToken(e.target.value)} + required + style={{ + padding: "0.85rem 1rem", + borderRadius: "10px", + border: "none", + background: "rgba(255,255,255,0.35)", + fontSize: "1rem", + outline: "none", + boxShadow: "0 2px 8px rgba(31,38,135,0.07)", + color: "#232946", + }} + /> + - +
{/* Filters Section */}