Skip to content

improve movile responsivness and light mode colour contrast#74

Merged
nitinmohan18 merged 2 commits into
mainfrom
mobile-respo
Jul 7, 2026
Merged

improve movile responsivness and light mode colour contrast#74
nitinmohan18 merged 2 commits into
mainfrom
mobile-respo

Conversation

@nitinmohan18

@nitinmohan18 nitinmohan18 commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Pull Request

Summary

This PR introduces a comprehensive suite of UI/UX improvements focused on mobile responsiveness, layout structure, and a major aesthetic overhaul of the Light Mode for the authentication pages.


Related Issue

Closes #


Type of Change

  • Feature
  • Bug Fix
  • Documentation
  • Refactor
  • Performance Improvement
  • CI / Build
  • Other

What Changed?

  • Mobile Hero Section: Restructured the CTA buttons to stack cleanly using flex-col, scaled down statistics text to prevent awkward wrapping, and hid the floating AI Mockup card on mobile to eliminate clutter.
  • Mobile Quick Actions: Converted the single-column stretched quick action cards into a sleek, compact 2-column grid.
  • Mobile Contact Card: Fixed CSS specificity issues overriding mobile padding, and added a custom @keyframes (signalPulseMobile) with overflow: hidden to prevent the pulsing logo rings from overflowing/clipping the card borders on small screens.
  • Auth Page Light Mode (Left Panel): Replaced the hardcoded pitch-black background with a cohesive bg-slate-50 light theme, while retaining the floating dark feature cards and pills for a stunning premium glassmorphism effect.
  • Auth Page Light Mode (Right Panel): Standardized the container to bg-zinc-50 and updated form inputs/buttons to bg-white to create a beautiful floating card effect.
  • Auth Global Footer: Reorganized the desktop layout into a stacked design (Links at top, copyright middle, disclaimer at bottom) to fix awkward text-wrapping issues across all breakpoints.

Screenshots (UI Changes Only)


Testing

  • Tested responsive layout behaviors across mobile, tablet, and desktop viewports in dev tools.
  • Toggled system/app themes to verify the new Light Mode aesthetic on the Auth split-screen layout.
  • Verified CSS animation scaling on mobile browsers for the contact section rings.

Checklist

Before requesting a review, confirm the following:

  • My branch is up to date with the latest main.
  • My code follows the project's coding standards.
  • I have formatted the modified files (npx prettier --write <file>).
  • npm run format:check passes.
  • npm run lint passes.
  • npm run typecheck passes.
  • npm run build passes.
  • I have updated documentation if required.
  • I have tested my changes locally.
  • This Pull Request focuses on a single feature or fix.

Additional Notes

The auth page light mode design now uses a high-contrast dark-glass-on-light-background aesthetic which feels significantly more premium and cohesive.

@vercel

vercel Bot commented Jul 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hyper-learning-tech Ready Ready Preview, Comment Jul 7, 2026 9:08pm

@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

This PR applies UI styling and layout adjustments across auth pages (branding panel, footer, separators, input/button colors), the dashboard quick actions grid, contact section CSS (overflow, mobile signal animation, mobile form spacing), and the landing hero (CTA layout, stats spacing, mockup visibility).

Changes

Auth Pages Styling

Layer / File(s) Summary
Branding panel and footer rework
app/(auth)/layout.tsx
Restyles the branding panel background, gradient, logo, and headline, and reorganizes footer links/disclaimer into a flex-wrap layout with updated hover styling.
Separator and input color updates
app/(auth)/sign-in/page.tsx, app/(auth)/sign-up/page.tsx, components/auth/auth-input.tsx, components/auth/oauth-button.tsx
Changes the "Or" separator background to zinc-based colors, switches input background to white, and adjusts OAuth button hover background.

Estimated code review effort: 2 (Simple) | ~10 minutes

Dashboard Quick Actions Grid

Layer / File(s) Summary
Quick Actions grid responsiveness
app/dashboard/page.tsx
Changes grid columns from single-to-two-column responsive layout to a fixed two-column layout with adjusted gap spacing per breakpoint.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Contact Section Mobile/CSS Updates

Layer / File(s) Summary
Card overflow and mobile signal animation
components/contact/ContactSection.module.css
Adds overflow hidden to the contact card, re-enables the mobile signal ring with a new signalPulseMobile keyframe animation, and adds light-mode mobile spacing/sizing overrides for the form.

Estimated code review effort: 2 (Simple) | ~10 minutes

Landing Hero Responsive Layout

Layer / File(s) Summary
Hero CTA, stats, and mockup responsiveness
features/landing/hero.tsx
Stacks CTA buttons on small screens with responsive sizing, adjusts stats row spacing/typography per breakpoint, and hides the right-side mockup on mobile.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: imuniqueshiv, RamuuXfree

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title matches the PR’s main focus on mobile responsiveness and light-mode contrast improvements.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch mobile-respo

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🧹 Nitpick comments (2)
features/landing/hero.tsx (1)

236-267: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Verify mobile spacing with justify-between + per-item padding.

The stats row uses justify-between on mobile while each item also carries directional padding (pr-2, px-2, pl-2). Combining edge distribution with per-item padding can make the middle stat look off-center relative to the two edge stats on narrow viewports. Worth a quick visual check on a real small-screen device; otherwise this is fine as-is.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@features/landing/hero.tsx` around lines 236 - 267, The hero stats row may
look unbalanced on small screens because motion.div uses justify-between while
each stat block also applies side-specific padding (pr-2, px-2, pl-2). Check the
layout in hero.tsx on narrow viewports and, if needed, adjust the spacing
approach in that motion.div so the three stats stay visually centered and evenly
separated without double-counting edge spacing.
components/contact/ContactSection.module.css (1)

1162-1180: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

Light-mode mobile override duplicates only a subset of the base mobile properties.

This new :global(html:not(.dark)) block re-asserts margin-bottom/padding-bottom on .cardSubtitle, gap on .form, padding on .inputGroup, padding on .input, and height on .submitBtn — matching the values already set in the unscoped mobile block (lines 729-777). However, it omits sibling properties set alongside them there (.cardSubtitle font-size/line-height, .inputGroup border-radius, .input min-height, .submitBtn font-size/border-radius/backdrop-filter). If the conflicting light-mode-specific selector (not shown in this file) that necessitated this specificity fix also affects those other properties, this override may be incomplete and leave inconsistent styling between light/dark mobile views.

Please confirm whether the underlying light-mode desktop rule only touches the properties addressed here, or if this list needs to be extended for full parity.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@components/contact/ContactSection.module.css` around lines 1162 - 1180, The
light-mode mobile override in ContactSection.module.css appears to only restate
part of the base mobile styling, so verify whether the conflicting
`:global(html:not(.dark))` rule also overrides the other mobile properties. If
so, extend the existing `@media (max-width: 768px)` light-mode block for
`.cardSubtitle`, `.form`, `.inputGroup`, `.input`, and `.submitBtn` to include
the full set of mobile values already defined in the unscoped mobile styles,
keeping parity between light and dark views.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@components/contact/ContactSection.module.css`:
- Around line 1162-1180: The light-mode mobile override in
ContactSection.module.css appears to only restate part of the base mobile
styling, so verify whether the conflicting `:global(html:not(.dark))` rule also
overrides the other mobile properties. If so, extend the existing `@media
(max-width: 768px)` light-mode block for `.cardSubtitle`, `.form`,
`.inputGroup`, `.input`, and `.submitBtn` to include the full set of mobile
values already defined in the unscoped mobile styles, keeping parity between
light and dark views.

In `@features/landing/hero.tsx`:
- Around line 236-267: The hero stats row may look unbalanced on small screens
because motion.div uses justify-between while each stat block also applies
side-specific padding (pr-2, px-2, pl-2). Check the layout in hero.tsx on narrow
viewports and, if needed, adjust the spacing approach in that motion.div so the
three stats stay visually centered and evenly separated without double-counting
edge spacing.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 374526da-1357-41ff-8cb6-6eb2838995fc

📥 Commits

Reviewing files that changed from the base of the PR and between 64b5406 and 8ba568c.

📒 Files selected for processing (8)
  • app/(auth)/layout.tsx
  • app/(auth)/sign-in/page.tsx
  • app/(auth)/sign-up/page.tsx
  • app/dashboard/page.tsx
  • components/auth/auth-input.tsx
  • components/auth/oauth-button.tsx
  • components/contact/ContactSection.module.css
  • features/landing/hero.tsx

@nitinmohan18 nitinmohan18 merged commit 8c68636 into main Jul 7, 2026
4 of 5 checks passed
@nitinmohan18 nitinmohan18 deleted the mobile-respo branch July 7, 2026 21:09
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

🎉 Congratulations @nitinmohan18!

Thank you for contributing to HyperLearningTech.

Your pull request has been successfully merged into main.

📦 Merge Summary

🚀 Keep Contributing

  • Follow the CONTRIBUTING.md guidelines.
  • Keep each Pull Request focused on a single feature or fix.
  • Run formatting, linting, type checking, and a production build before opening a PR.

Thank you for helping make HyperLearningTech better.

Happy Coding! 🚀

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.

1 participant