mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-24 16:11:53 -05:00
Landing & Docs
The marketing site and documentation for better-auth.com — built with Next.js 15, Tailwind CSS 4, and Framer Motion.
Quick Start
# install
bun install
# develop
bun dev
Open localhost:3000 to preview.
Stack
| Layer | Tech |
|---|---|
| Framework | Next.js 15 (App Router, Turbopack) |
| Styling | Tailwind CSS 4 |
| Animation | Framer Motion |
| Docs | Fumadocs MDX |
| Icons | Lucide React |
| Fonts | Geist Sans & Geist Mono |
Structure
├─ app/
│ ├─ page.tsx # Home — hero + sign-in demo
│ ├─ products/ # Products page
│ ├─ blog/ # Blog posts
│ └─ docs/[[...slug]]/ # Documentation (MDX)
│
├─ components/
│ ├─ landing/ # Marketing components
│ ├─ docs/ # Documentation components
│ ├─ ui/ # Shared primitives
│ └─ icons/ # Brand icons & logo
│
├─ content/ # MDX documentation files
│
├─ lib/
│ ├─ source.ts # Fumadocs content source
│ └─ utils.ts # Utilities
│
└─ public/
└─ branding/ # Logo assets (SVG + PNG)
Scripts
bun dev # Start dev server (Turbopack)
bun build # Production build
bun start # Serve production build
bun lint:fix # Lint & auto-fix with Biome