EstateHub

Frontend Customization

Use dashboard branding for supported configuration before editing source. Code customization requires a working local setup and familiarity with React and TypeScript.

Change a Feature

  1. Locate its thin route in frontend/app/ and follow the imported component into features/.
  2. Reuse existing UI from components/ui/, layouts, and media components.
  3. Keep API contracts and RTK Query endpoints with the owning domain.
  4. Keep property search state in URL parameters; use Redux for shared client state.
  5. Run pnpm lint and pnpm build from frontend/.

Styling and Composition

Use theme tokens in frontend/app/globals.css. Base UI components use the render prop rather than Radix asChild composition:

TSX
<Button render={<Link href="/listing" />} nativeButton={false}>
  Browse properties
</Button>

Import through @/*, use kebab-case filenames, PascalCase components, and existing public/portal layouts. Use the shared media viewers for private files; preserve ownership and access checks. The backend remains authoritative for permissions and state transitions.

Expected Result

The feature follows existing component and API patterns, with static checks passing. Rebuild after changing public environment values or source assets.

See Frontend Architecture, Backend Customization, and Branding & Appearance.