StatistaAmeri/frontend/src/routes
alireza 23898868ec style: translate all units, currencies, and scale symbols into Persian across entire app 2026-08-26 14:37:39 +03:30
..
README.md feat: production codebase for Statista (https://statista.steelforesight.ir) 2026-08-26 07:04:12 +00:00
__root.tsx style: enforce Vazirmatn font with tabular figures across all numbers and metrics 2026-08-26 14:34:03 +03:30
dashboard.tsx style: translate all units, currencies, and scale symbols into Persian across entire app 2026-08-26 14:37:39 +03:30
index.tsx style: remove all refresh interval badges and labels from UI 2026-08-26 14:32:29 +03:30
login.tsx feat: production codebase for Statista (https://statista.steelforesight.ir) 2026-08-26 07:04:12 +00:00
profile.tsx feat: production codebase for Statista (https://statista.steelforesight.ir) 2026-08-26 07:04:12 +00:00
register.tsx feat: production codebase for Statista (https://statista.steelforesight.ir) 2026-08-26 07:04:12 +00:00

README.md

Routes

TanStack Start uses file-based routing. Every .tsx file in this directory is a route. Do not create src/pages/, src/routes/_app/index.tsx, or app/layout.tsx — those are Next.js / Remix conventions. The only root layout is src/routes/__root.tsx.

Conventions

File URL
index.tsx /
about.tsx /about
users/index.tsx /users
users/$id.tsx /users/:id (dynamic — bare $, no curly braces)
posts/{-$category}.tsx /posts/:category? (optional segment)
files/$.tsx /files/* (splat — read via _splat param, never *)
_layout.tsx layout route (renders children via <Outlet />)
__root.tsx app shell — wraps every page; preserve <Outlet />

routeTree.gen.ts is auto-generated. Don't edit it by hand.