hasnat.dev
← cd ../#projects
#Next.js 16#TypeScript#Turbopack#Fumadocs#Tailwind CSS 4

Nextly

Open-source Next.js framework with dual code-first and visual schema building

Full Stack Developer·Jul 2024 – ongoing·↗ live

Overview

nextly-site is the official marketing and documentation platform for Nextly, an open-source, type-safe Next.js application framework that offers dual code-first TypeScript schema definition and visual schema building. The site serves as the central hub for framework documentation, feature showcases, technical blog posts, and community resources, serving both human developers and artificial intelligence systems through dual-format content endpoints (/llms.txt and /llms-full.txt).

The Problem & Challenges

As the open-source framework gained traction and its feature set expanded rapidly, the website encountered architectural and visual scaling hurdles:

  • Frontend Structural Sprawl: The repository lacked clear architectural separation between marketing landing pages, reusable UI components, and shared utilities, making maintenance increasingly difficult.
  • Content Expansion Requirements: Marketing page coverage needed significant expansion to communicate core framework capabilities, database adapters, and visual builder tools effectively.
  • Theme-Aware Branding Inconsistency: A persistent visual bug caused the Nextly logo wordmark to render incorrectly when switching between dark and light theme modes, degrading brand presentation.
  • Production Build Stability: The site encountered compilation glitches and UI alignment bugs within the Next.js Turbopack build pipeline that required systematic resolution.

Solution & Architecture

I executed a comprehensive frontend restructuring and visual polish focused on maintainability, documentation expansion, and build stability:

  • Frontend Architectural Refactor: Reorganized the entire frontend directory structure to establish clean, scalable separation between marketing pages, reusable UI components, and core utility modules.
  • Expanded Marketing Page Coverage: Architected and developed new marketing feature pages, extending site coverage in alignment with existing patterns for comparison guides, database adapters, and technical blogs.
  • Theme-Aware Branding Engineering: Re-engineered logo wordmark rendering logic to guarantee seamless visual consistency across dark and light theme states without layout shift or color artifacts.
  • Turbopack Build Optimization: Resolved underlying compilation bugs and refined component imports to ensure fast, reliable production builds under Next.js 16 and Turbopack.
  • MDX Technical Documentation: Enhanced technical documentation presentation powered by Fumadocs and Tailwind CSS 4, delivering an intuitive, highly readable developer experience.

Key Features & Contributions

  • Frontend Architectural Refactor: Scalable directory reorganization separating marketing pages, core components, and utilities.
  • Expanded Marketing Coverage: Comprehensive product feature pages, comparison guides, and developer documentation.
  • AI-Ready Content Feeds: Dual-format markdown feeds (/llms.txt and /llms-full.txt) optimized for LLM consumption and AI discovery.
  • Theme-Aware Branding: Re-engineered logo wordmark rendering for flawless dark and light mode visual consistency.
  • Turbopack Build Optimization: Resolved compilation issues and streamlined production build reliability.
  • MDX Documentation Integration: Seamless technical documentation powered by Fumadocs and Tailwind CSS 4.

Tech Stack

  • Framework: Next.js 16 (App Router, Turbopack)
  • Language: TypeScript
  • Documentation: Fumadocs (MDX-based technical documentation)
  • Styling: Tailwind CSS 4
  • AI & SEO: Structured Markdown Feeds (/llms.txt)

Outcome & Impact

The structural refactor provided a maintainable, extensible codebase that scaled effortlessly as new framework capabilities were introduced and documented. Re-engineering theme-aware logo rendering eliminated visual friction in brand presentation across theme modes, while build optimizations ensured fast, rock-solid production releases under Next.js Turbopack.

share: