Skip to content

Improve auth pages with TailwindCSS responsive layout#225

Open
srujan0301 wants to merge 5 commits into
Hardhat-Enterprises:mainfrom
srujan0301:feature/srujan-first-task
Open

Improve auth pages with TailwindCSS responsive layout#225
srujan0301 wants to merge 5 commits into
Hardhat-Enterprises:mainfrom
srujan0301:feature/srujan-first-task

Conversation

@srujan0301
Copy link
Copy Markdown
Contributor

Improved authentication pages using TailwindCSS responsive utility classes. Reduced dependency on older layout-based CSS styling and updated LoginPage, SignUpPage, and GoogleCallbackPage layouts. Improved responsiveness, spacing, alignment, and frontend UI consistency while preserving existing authentication functionality and routing behavior.

This change focuses on frontend UI improvement and refactoring by modernizing layout styling using TailwindCSS utilities. The goal was to improve responsiveness, reduce duplicated layout CSS, and make the authentication pages easier to maintain.

Manual testing was completed for:

  • /login
  • /signup
  • /auth/google/callback

Production build was successfully verified using npm run build.

No security-sensitive logic was modified and no breaking changes were introduced. Reverting the commit would be sufficient if rollback is required.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 99fdb8adc4

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread frontend/src/pages/Auth/LoginPage.tsx Outdated
@@ -1,27 +1,39 @@
import React from "react";
import "./LoginPage.css";
import "../Landing/LandingPage.css";
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore auth stylesheet import before rendering legacy classes

This change removes LoginPage.css from the auth pages, but the rendered child components still rely on legacy class names such as auth-header, login-brand, login-form-card, and btn-signin (and signup-specific classes are similarly tied to SignUpPage.css). I checked the repo with rg and there are no remaining imports of these stylesheets, so /login, /signup, and the Google callback screen will load without the CSS rules those components depend on, causing a major layout/styling regression for auth flows.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator

@liyunze-coding liyunze-coding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please resolve merge conflicts, by merging or rebasing with main

@srujan0301
Copy link
Copy Markdown
Contributor Author

Resolved merge conflicts, restored required stylesheet imports, cleaned merge markers, and fixed lint issues. All CI checks are now passing.

Comment thread frontend/src/pages/Auth/LoginPage.tsx Outdated
@@ -1,33 +1,32 @@
import React from "react";
import "../Landing/LandingPage.css";
import "./LoginPage.css";
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no LandingPage.css nor LoginPage.css

Comment thread frontend/src/pages/Auth/SignUpPage.tsx Outdated
import SignupFormPanel from "./components/SignupFormPanel";
import type { SignUpFormData, SignUpSubmitPayload } from "./signUpTypes";
import "./LoginPage.css";
import "./SignUpPage.css";
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove CSS files, are you sure you tested locally before push?

@srujan0301
Copy link
Copy Markdown
Contributor Author

Resolved the requested review changes by removing invalid stylesheet imports, fixing merge conflicts, and cleaning auth page updates. All CI and lint checks are now passing successfully.

@du-dhartley
Copy link
Copy Markdown
Collaborator

@liyunze-coding requested re-review after changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants