Skip to content

feat(frontend): implement SPA routing for authentication and core navigation flows#49

Merged
AYUSHDAS0601 merged 2 commits into
AYUSHDAS0601:mainfrom
Aqsa30nz:feat/spa-routing
Jun 12, 2026
Merged

feat(frontend): implement SPA routing for authentication and core navigation flows#49
AYUSHDAS0601 merged 2 commits into
AYUSHDAS0601:mainfrom
Aqsa30nz:feat/spa-routing

Conversation

@Aqsa30nz

Copy link
Copy Markdown
Contributor

Summary

Introduces client-side routing for core user flows, replacing scroll-based navigation with a structured SPA routing system.

Changes

  • Added React Router-based navigation for core pages

  • Introduced routes:

    • /auth → Authentication page (placeholder)
    • /listings → Listings page (placeholder)
    • /listings/new → Create listing page (placeholder)
  • Updated landing page navigation:

    • "Sign in" → /auth
    • "Browse listings" → /listings
    • "List an item" → /listings/new
  • Retained scroll-based navigation for informational sections:

    • How it works
    • Trust & Safety
    • Mobile app section

Behavior

Before:

  • All navigation used scroll-based section jumps

After:

  • Core actions use SPA routing
  • Informational sections remain scroll-based for landing UX

Notes

Impact

  • Establishes scalable routing foundation for the frontend
  • Improves navigation clarity and separation between routes and sections
  • Aligns application structure with standard SPA architecture

@AYUSHDAS0601 AYUSHDAS0601 added enhancement New feature or request NSoC26 Nexus Spring of Code Level 3 labels Jun 12, 2026
@AYUSHDAS0601 AYUSHDAS0601 merged commit d68e1b2 into AYUSHDAS0601:main Jun 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Level 3 NSoC26 Nexus Spring of Code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants