Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.02 KB

File metadata and controls

23 lines (19 loc) · 1.02 KB

Axan site — agent quickstart

Marketing site for Axan (productized agency, 3 products: Dine / Stay / Realty). Next.js 14 App Router · TS · Tailwind · Framer Motion · Neon/Drizzle · Resend.

Before editing anything

Read ARCHITECTURE.md — it has a "WHERE DO I CHANGE X?" table that maps any change to the exact file. Use it instead of grepping the codebase.

Commands

  • npm run dev — local (port 3000)
  • npm run build — must pass before shipping
  • npm run lint

Golden rules

  1. The 3 products live ONLY in lib/sectors.ts. Never hardcode product names/slugs in nav, footer, or forms — import from there.
  2. WhatsApp/email come from lib/contact.ts (waLink(), WA_NUMBER, SUPPORT_EMAIL). No inline wa.me links.
  3. Money via lib/format.ts (formatINR).
  4. Sector page.tsx = metadata + JSON-LD only; visible copy goes in *Content.tsx.
  5. Escape apostrophes in JSX as ' (ESLint blocks the build otherwise).
  6. Run npm run build after changes — the build is the source of truth.