Skip to content

Update URL Structure #69

@jurajhilje

Description

@jurajhilje

Update URL Structure:

Landing Page:

Path Description
/ Landing / Home page

Account App (same domain):

Path Description
/account Dashboard home (redirect here after login)
/account/[feature] Other app sections

Auth Flow Pages:

Path Description
/login Login page
/signup Signup page
/logout Logout handler (not a real page — just clear session and redirect)
/forgot-password Password reset request
/reset-password/:token Password reset form (via token link)

"Login" and "Signup" buttons on the landing page header:

  • When user is not logged in, they link to /login and /signup
  • When user is logged in, replace "Login" and "Signup" buttons with "Dashboard" (/account) and "Logout" (/logout)

After Login / Signup:

  • Redirect to /account
  • If user arrived at /login via protected route, redirect back using a query param, e.g. /login?redirect=/account/settings

After Logout:

  • Redirect to / (Landing / Home page)

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

In review

Relationships

None yet

Development

No branches or pull requests

Issue actions