nx/tools/ai-landing-tasks.md
Juri Strumpflohner 873f2d8046
feat(nx-dev): AI landing page (#31310)
adds a new AI landing page at `/ai`
2025-05-23 10:52:51 -04:00

8.8 KiB

Nx AI Landing Page Implementation

This file tracks the implementation of a new AI-focused landing page for Nx, based on the content strategy from nx-ai-landing-page-copy.md. The page will showcase how Nx enhances AI assistants with workspace intelligence.

Completed Tasks

  • Create initial task list

In Progress Tasks

  • Project setup and scaffolding

Future Tasks

Project Setup

  • Create UI Library for AI Landing Page Components

    • Run nx g @nx/react:lib nx-dev/ui-ai-landing-page
    • Configure project structure similar to ui-enterprise
    • Set up proper export patterns in index.ts
  • Create Next.js Page Component for AI Landing Page

    • Create nx-dev/nx-dev/app/ai/page.tsx following same structure as React page
    • Set up metadata and SEO properties
    • Import components from new ui-ai-landing-page library
  • Configure Routing and Navigation

    • Update navigation components to include AI landing page
    • Configure proper routing in Next.js app

Component Development

  • Create Hero Component

    • Implement in nx-dev/ui-ai-landing-page/src/lib/hero.tsx
    • Use headline "Make Your AI Assistant 10x Smarter"
    • Add sub-headline with proper styling
    • Create split-screen visual comparison (before/after)
    • Add primary CTA "Enhance Your AI Assistant"
    • Add secondary CTA "Watch 3-min Demo"
  • Create Video Demo Component

    • Implement in nx-dev/ui-ai-landing-page/src/lib/nx-ai-benefits-video
    • Create thumbnail with play button
    • Set up video modal similar to existing examples
    • Connect to appropriate YouTube video link
  • Create Problem Statement Component

    • Implement in nx-dev/ui-ai-landing-page/src/lib/problem-statement.tsx
    • Add section heading "Why Your AI Assistant Struggles with Enterprise Codebases"
    • Create visual elements for the three core problems
    • Add diagram comparing LLM "street view" vs Nx "map view"
  • Create Solution Overview Component

    • Implement in nx-dev/ui-ai-landing-page/src/lib/solution-overview.tsx
    • Add headline "Nx Provides the Missing Context Your AI Needs"
    • Create visual elements for the three core value props
    • Add appropriate styling and animations
  • Create Features Container Component

    • Implement in nx-dev/ui-ai-landing-page/src/lib/features.tsx
    • Create wrapper structure for all feature sections
  • Create Individual Feature Components

    • Implement workspace intelligence feature (workspace-intelligence.tsx)
    • Implement CI integration feature (ci-integration.tsx)
    • Implement terminal integration feature (terminal-integration.tsx)
    • Implement smart code generation feature (smart-code-generation.tsx)
    • Implement documentation-aware feature (documentation-aware.tsx)
  • Create Demo Snippets

    • Implement visual demos for each feature section
    • Create stylized code snippets demonstrating features
  • Create Technical Implementation Component

    • Implement in nx-dev/ui-ai-landing-page/src/lib/technical-implementation.tsx
    • Add headline "Powered by Nx's Rich Workspace Intelligence"
    • Create visual elements for explaining how it works
    • Add integration options section
  • Create Use Cases Component

    • Implement in nx-dev/ui-ai-landing-page/src/lib/use-cases.tsx
    • Create visual elements for each use case scenario
    • Add appropriate icons and styling
  • Create Competitive Differentiation Component

    • Implement in nx-dev/ui-ai-landing-page/src/lib/competitive-differentiation.tsx
    • Add headline "Why Large Workspaces Are AI Future-Proof"
    • Create visual comparison for each key point
  • Create Social Proof Component

    • Implement in nx-dev/ui-ai-landing-page/src/lib/social-proof.tsx
    • Add headline "Join Forward-Thinking Teams Already Using AI-Enhanced Nx"
    • Create carousel for customer testimonials
    • Add customer logos section
  • Create Getting Started Component

    • Implement in nx-dev/ui-ai-landing-page/src/lib/getting-started.tsx
    • Add headline "Transform Your AI Assistant in Minutes"
    • Create visual step-by-step guide with three steps
    • Add technical requirements section
  • Create Resources Component

    • Implement in nx-dev/ui-ai-landing-page/src/lib/resources.tsx
    • Add featured content with video links
    • Add blog series links
    • Add additional resources section
  • Create Call-to-Action Component

    • Implement in nx-dev/ui-ai-landing-page/src/lib/call-to-action.tsx
    • Add strong headline encouraging action
    • Add primary and secondary CTAs
    • Add appropriate styling and animations
  • Create Shared UI Components

    • Create comparison slider component for before/after visuals
    • Create stylized code snippets component
    • Create feature card component template
    • Create animated icon components for features

Integration and Testing

  • Assemble Components in Page

    • Assemble all components in proper order in page.tsx
    • Ensure proper spacing and responsive layout
    • Add scroll anchors for navigation
  • Implement Responsive Design

    • Ensure all components are responsive for mobile, tablet and desktop
    • Implement proper dark mode support
    • Test across different viewport sizes
  • Optimize Performance

    • Lazy load videos and heavy content
    • Optimize images for web
    • Implement proper caching strategies
  • Perform Component Testing

    • Create tests for critical components
    • Test responsive behavior
    • Test dark/light mode switching
  • Perform Page Integration Testing

    • Test full page rendering
    • Test navigation to/from page
    • Test all links and CTAs
  • Conduct Final Review

    • Review content for grammar and style consistency
    • Verify all links work correctly
    • Check analytics tracking
  • Prepare for Release

    • Coordinate with marketing for announcement
    • Prepare social media assets
    • Set up tracking for KPIs

Implementation Plan

The AI landing page will be implemented following the React landing page structure as a model. We'll create a dedicated UI library for all AI landing page components, similar to the ui-enterprise library.

The page will feature multiple sections based on the content strategy in nx-ai-landing-page-copy.md:

  1. Hero Section: Eye-catching introduction with a clear value proposition
  2. Video Demo: Showcase Nx AI capabilities in action
  3. Problem Statement: Explain challenges AI assistants face with enterprise codebases
  4. Solution Overview: How Nx provides the missing context
  5. Features Deep Dive: Detailed exploration of key features and capabilities
  6. Technical Implementation: Explanation of how the integration works
  7. Use Cases: Real-world scenarios demonstrating value
  8. Competitive Differentiation: Why Nx + AI is superior
  9. Social Proof: Testimonials and customer examples
  10. Getting Started: Simple steps to implement
  11. Resources: Additional learning materials
  12. Call-to-Action: Final conversion point

The implementation will follow best practices for responsive design, accessibility, and performance optimization. We'll prioritize component reusability and maintain consistency with existing Nx design patterns.

Relevant Files

Overall project information is in ./nx-ai-landing-page-copy.md.

  • nx-dev/ui-ai-landing-page/src/index.ts - Main exports for the AI landing page library
  • nx-dev/ui-ai-landing-page/src/lib/hero.tsx - Hero component with main headline and CTAs
  • nx-dev/ui-ai-landing-page/src/lib/nx-ai-benefits-video/ - Video demo components
  • nx-dev/ui-ai-landing-page/src/lib/problem-statement.tsx - Problem statement section
  • nx-dev/ui-ai-landing-page/src/lib/solution-overview.tsx - Solution overview section
  • nx-dev/ui-ai-landing-page/src/lib/features.tsx - Features container component
  • nx-dev/ui-ai-landing-page/src/lib/workspace-intelligence.tsx - Workspace intelligence feature
  • nx-dev/ui-ai-landing-page/src/lib/ci-integration.tsx - CI integration feature
  • nx-dev/ui-ai-landing-page/src/lib/terminal-integration.tsx - Terminal integration feature
  • nx-dev/ui-ai-landing-page/src/lib/smart-code-generation.tsx - Smart code generation feature
  • nx-dev/ui-ai-landing-page/src/lib/documentation-aware.tsx - Documentation-aware feature
  • nx-dev/ui-ai-landing-page/src/lib/technical-implementation.tsx - Technical implementation section
  • nx-dev/ui-ai-landing-page/src/lib/use-cases.tsx - Use cases section
  • nx-dev/ui-ai-landing-page/src/lib/competitive-differentiation.tsx - Competitive differentiation section
  • nx-dev/ui-ai-landing-page/src/lib/social-proof.tsx - Social proof section
  • nx-dev/ui-ai-landing-page/src/lib/getting-started.tsx - Getting started section
  • nx-dev/ui-ai-landing-page/src/lib/resources.tsx - Resources section
  • nx-dev/ui-ai-landing-page/src/lib/call-to-action.tsx - Call to action section
  • nx-dev/nx-dev/app/ai/page.tsx - Main Next.js page component for the AI landing page