[PR #6607] [MERGED] docs: add enterprise page and form for support #6776

Closed
opened 2026-03-13 13:11:22 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6607
Author: @Bekacru
Created: 12/8/2025
Status: Merged
Merged: 12/8/2025
Merged by: @Bekacru

Base: canaryHead: docs/enterprise


📝 Commits (9)

  • 790c6ff docs: add enterprise page and form for support
  • 86483d5 chore: lockfile
  • dcbcfc8 add chore
  • ef913d0 feat(api): add HTML escaping for user input in support email
  • c7c7d44 Update docs/app/api/support/route.ts
  • f2e8d87 feat(enterprise): update enterprise page metadata, enhance form styling, and add trusted by section with tooltips
  • 82ba11c lint
  • 740d679 size
  • b05f0c3 spell fix

📊 Changes

13 files changed (+638 additions, -44 deletions)

View changed files

📝 .cspell/third-party.txt (+2 -1)
📝 docs/app/api/support/route.ts (+52 -24)
📝 docs/app/community/_components/stats.tsx (+11 -11)
docs/app/enterprise/_components/enterprise-form.tsx (+265 -0)
docs/app/enterprise/_components/enterprise-hero.tsx (+193 -0)
docs/app/enterprise/page.tsx (+72 -0)
📝 docs/app/global.css (+1 -1)
📝 docs/components/nav-bar.tsx (+4 -1)
📝 docs/components/nav-mobile.tsx (+5 -1)
📝 docs/components/theme-toggler.tsx (+2 -2)
📝 docs/package.json (+1 -0)
docs/public/enterprise.png (+0 -0)
📝 pnpm-lock.yaml (+30 -3)

📄 Description

Summary by cubic

Adds a new Enterprise page with a contact form that sends inquiries via Resend and links it in the navbar. This enables direct enterprise/support requests from the docs site.

  • New Features

    • New /enterprise page with hero and form (name, email, company, user count, migrating, current platform, message) posting to /api/support with success/error feedback.
    • /api/support now emails submissions using Resend (HTML summary with metadata, input safely HTML-escaped); webhook flow removed.
    • Navbar and mobile nav updated with an Enterprise link and label tweaks; added SEO metadata and OG image for /enterprise; minor UI fixes in community stats.
  • Migration

    • Set RESEND_API_KEY and SUPPORT_EMAIL to receive form emails.
    • SUPPORT_WEBHOOK_URL is no longer used.

Written for commit b05f0c3884. Summary will update automatically on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/6607 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 12/8/2025 **Status:** ✅ Merged **Merged:** 12/8/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `docs/enterprise` --- ### 📝 Commits (9) - [`790c6ff`](https://github.com/better-auth/better-auth/commit/790c6ff28f7743324fb40c93365ed4e66cfc78ca) docs: add enterprise page and form for support - [`86483d5`](https://github.com/better-auth/better-auth/commit/86483d54a1e6c1bf22b242c008f33db63f1e915b) chore: lockfile - [`dcbcfc8`](https://github.com/better-auth/better-auth/commit/dcbcfc809ab35ae3cf05d52e5aa4680af9287699) add chore - [`ef913d0`](https://github.com/better-auth/better-auth/commit/ef913d0fd22e247c1cd4baaabd65e91f4aab43af) feat(api): add HTML escaping for user input in support email - [`c7c7d44`](https://github.com/better-auth/better-auth/commit/c7c7d4408de593c3c72518924ef93670e9dcf6fe) Update docs/app/api/support/route.ts - [`f2e8d87`](https://github.com/better-auth/better-auth/commit/f2e8d8761f35e9fd4d2d7e834bb0dea25de9bd5f) feat(enterprise): update enterprise page metadata, enhance form styling, and add trusted by section with tooltips - [`82ba11c`](https://github.com/better-auth/better-auth/commit/82ba11cee13688db6500d47b831210aa678d887f) lint - [`740d679`](https://github.com/better-auth/better-auth/commit/740d679ef48d086312dd07543f5309c3b59673fb) size - [`b05f0c3`](https://github.com/better-auth/better-auth/commit/b05f0c388413827f622aa95d95f81ff0d5da5164) spell fix ### 📊 Changes **13 files changed** (+638 additions, -44 deletions) <details> <summary>View changed files</summary> 📝 `.cspell/third-party.txt` (+2 -1) 📝 `docs/app/api/support/route.ts` (+52 -24) 📝 `docs/app/community/_components/stats.tsx` (+11 -11) ➕ `docs/app/enterprise/_components/enterprise-form.tsx` (+265 -0) ➕ `docs/app/enterprise/_components/enterprise-hero.tsx` (+193 -0) ➕ `docs/app/enterprise/page.tsx` (+72 -0) 📝 `docs/app/global.css` (+1 -1) 📝 `docs/components/nav-bar.tsx` (+4 -1) 📝 `docs/components/nav-mobile.tsx` (+5 -1) 📝 `docs/components/theme-toggler.tsx` (+2 -2) 📝 `docs/package.json` (+1 -0) ➕ `docs/public/enterprise.png` (+0 -0) 📝 `pnpm-lock.yaml` (+30 -3) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Adds a new Enterprise page with a contact form that sends inquiries via Resend and links it in the navbar. This enables direct enterprise/support requests from the docs site. - **New Features** - New /enterprise page with hero and form (name, email, company, user count, migrating, current platform, message) posting to /api/support with success/error feedback. - /api/support now emails submissions using Resend (HTML summary with metadata, input safely HTML-escaped); webhook flow removed. - Navbar and mobile nav updated with an Enterprise link and label tweaks; added SEO metadata and OG image for /enterprise; minor UI fixes in community stats. - **Migration** - Set RESEND_API_KEY and SUPPORT_EMAIL to receive form emails. - SUPPORT_WEBHOOK_URL is no longer used. <sup>Written for commit b05f0c388413827f622aa95d95f81ff0d5da5164. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 13:11:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#6776