'use client'; import { useAuth } from '@/lib/wexts-client'; import { useRouter } from 'next/navigation'; import { Button } from '@/components/ui/button'; import { motion } from 'framer-motion'; import { ArrowRight, Layers, Shield, Zap, Terminal, Code2 } from 'lucide-react'; import Link from 'next/link'; export default function Home() { const { isAuthenticated, loading } = useAuth(); const router = useRouter(); if (loading) { return (
); } return (
{/* Background elements */}
{/* Navbar */}
Wexts
{/* Hero Section */}
Production-ready Fullstack Toolkit

The Ultimate
Next.js + NestJS Bridge

Wexts brings together the power of Next.js and NestJS into a seamless, type-safe, single-runtime experience. Build faster, scale better, and never worry about RPC generation again.

{isAuthenticated ? ( ) : ( )}
{/* Features Section */}

Typed RPC Bridge

Deterministic codegen that keeps your frontend and backend in perfect sync. No more broken API contracts.

Single Runtime

Run Next.js, NestJS, and Fastify in one process. Radically simple deployments without complex microservices.

Strict Security

Built-in DDoS protection, strict request parsing, and rate-limiting designed for production from day one.

{/* Footer */}
); }