Jatin917/riverside-clone

## ✨ Enhancement: Replace Login with Signup, Improve Auth Page, and Add Toast on Success

Offen

#6 geöffnet am 05.07.2025

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (0 Forks)auto 404
enhancementgood first issuemonoreponextJStailwindui

Repository-Metriken

Stars
 (4 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Description

The current login flow lacks visual consistency and user feedback. A minimal "Sign in with Google" button is shown without a proper page or confirmation. To improve user experience and clarity, we need the following enhancements:


✅ Expected Behavior

  • Replace the Login button on the homepage with a Signup button.
  • Clicking Signup should redirect to a proper auth page.
  • Auth page should:
    • Match website theme (e.g., black/dark background).
    • Centered layout with:
      • Continue with Google button
      • Continue with GitHub button
  • After successful authentication:
    • Show a React Hot Toast notification like:
      toast.success("You're successfully signed in! 🎉");
      

❌ Current Behavior

  • The homepage shows a "Login" button (not Signup).
  • Clicking Login opens a blank/minimal auth flow.
  • No styled page or themed background.
  • No success message or confirmation toast after login.

🛠 Suggested Fixes

1.apps/web/app/components/Home/Header.tsx

  • Replace "Login" button with "Signup"
  • Point it to /auth or /auth/signup

🌐 Environment

  • Framework: Next.js (App Router)
  • Auth Provider: Google (and GitHub)
  • Styling: Tailwind CSS
  • Notifications: react-hot-toast

📌 Priority

Medium to High – Enhances authentication UX and improves user onboarding clarity


✅ Tasks

  • Replace "Login" with "Signup" on home page
  • Create /auth page with black/dark background
  • Add Google & GitHub sign-in buttons
  • Add react-hot-toast success message on sign-in

Contributor Guide