Imported from willsigmon/allsberryins (
AGENTS.md). Install upstream withnpx skills add willsigmon/allsberryins. Copyright stays with the author.
Allsberry Insurance
Custom Next.js marketing + lead-capture site for Allsberry Insurance Agency (Corona, CA). Erin/Brahm handoff.
Stack
- Next.js 16 App Router (webpack), React 19, TypeScript
- Tailwind CSS 4
- Framer Motion, Lucide, qrcode.react
- React Hook Form + Zod
- next-intl (i18n)
- nodemailer (
/api/leads) - Vercel Analytics + Speed Insights
Layout
src/app/— App Router pages (home, quote, agents, blog, evidence-of-insurance, team-attribution)src/components/— header, hero, product grids, carrier wall, footer, theme togglesrc/i18n/— next-intl messagessrc/lib/— shared utilities, constantsmessages/— translation JSONpublic/— illustrations, email-signatures, faviconsscripts/— bootstrap-local, build-local, clean-local, IndexNow submittersrc/proxy.ts— Basic Auth gate for/team-attributionwhen env set
Deploy
- Vercel (auto from main)
- Domain:
allsberryagency.com(wwwredirects to apex) - Node
22.17.1(.nvmrc) - Local builds use
.next-builddir; Vercel uses default.next
Conventions
- 800-line file max, organized by feature/domain
- Immutability enforced
- No hardcoded values — constants/config files
- No console.log in committed code
- Run
npm run check(lint + typecheck) before committing - Use
npm run setupfirst when running off external/Volumes/...drive
Do not touch
src/proxy.tsBasic Auth logic — env-driven byTEAM_ATTRIBUTION_USERNAME/PASSWORD- SITELEADS / Stealth ID tracking snippet integration — route-aware loader preserves agent attribution across client navigations
OWNER_ACTIONS_FOR_ERIN.md,ERIN_HANDOFF_MESSAGE.md,BRAHM_ERIN_MEETING_PREP.md— handoff docs, do not silently rewrite.next-build/— local build output, ignored
Open questions / known gaps
/api/leadsemails the office and optionally forwards to Zapier; AgencyZoom remains Zapier-side, not a first-party API/api/chatremains a stub with no site UI- Team-attribution Basic Auth creds live in Vercel env, not in repo
allsberryagency.vercel.appis a stale alias (404); live Vercel alias isallsberry.vercel.app
Project design and source routing
Before substantive design or implementation, read the repository-root brand.md; it governs durable brand intent. Existing DESIGN.md derives implementation details and does not override it.
Verified local entrypoints: /Volumes/SitHub/clients/allsberryins/brand.md, /Volumes/SitHub/clients/allsberryins/DESIGN.md, /Volumes/SitHub/clients/allsberryins/README.md, /Volumes/SitHub/clients/allsberryins/package.json.
For substantial visual work, use the live sigdesign skill and current capability routing. Keep brand decisions human-owned; keep accessibility, reduced motion, responsive behavior and screenshot-based verification explicit. A historical design example is not a default for this project.
