Documentation

Support

Guide your own customers through the same support flows baked into StartupKit—contact forms, dashboards, and notification hooks.

Dashboard intake

Users open `/dashboard/support` to file tickets via `SupportForm`. The component handles optimistic UI, validation, and toast feedback so you only have to wire the backend.

Relevant files

  • src/components/dashboard/support-form.tsx — Support form

Server handling

`src/app/api/support/route.ts` currently logs payloads—swap in your favourite help desk API or send Resend emails to `ADMIN_EMAIL`.

Relevant files

  • src/app/api/support/route.ts — Support API

Contact page

The marketing contact page mirrors the same fields (`src/app/contact/page.tsx`), so cold leads and paying customers both land in the same workflow.

Relevant files

  • src/app/contact/page.tsx — Contact route