mirror of
https://github.com/luxfi/docs-template.git
synced 2026-10-30 16:58:41 +00:00
Reusable documentation template for Lux Network projects. Features: - Fumadocs UI with Next.js 15 - Dark mode with system preference - Pre-configured social links (Lux, Discord, X, Warpcast) - SITE_CONFIG and DOCS_CONFIG for easy customization - @luxfi/logo integration - Tailwind CSS with typography plugin Usage: 1. Copy template to new directory 2. Edit SITE_CONFIG in app/layout.tsx 3. Edit DOCS_CONFIG in app/docs/layout.tsx 4. Add MDX content in content/docs/ 5. pnpm dev
6 lines
103 B
TypeScript
6 lines
103 B
TypeScript
import { redirect } from 'next/navigation'
|
|
|
|
export default function HomePage() {
|
|
redirect('/docs')
|
|
}
|