Skip to content

ai-mapping/ai-mapping-website

Repository files navigation

AI-Mapping Frontend Framework

AI-Mapping Framework

What is AI-Mapping?

AI-Mapping is a revolutionary frontend framework that leverages artificial intelligence to transform how marketing websites and landing pages are built. By combining the power of AI with modern web development practices, AI-Mapping enables teams to create dynamic, content-focused websites with unprecedented speed and flexibility.

Core Concept: Content-First Development

The fundamental idea behind AI-Mapping is simple but powerful: let content shape the interface, not the other way around. Traditional web development often forces content to fit predefined templates, leading to compromises in messaging and user experience. AI-Mapping reverses this approach:

  1. Write content naturally - Focus on your message without worrying about technical constraints
  2. Add simple style annotations - Provide minimal guidance about presentation when needed
  3. Let AI adapt the UI to your content - Components transform to best present your specific content

Who Is AI-Mapping For?

For Marketing Teams

  • Content creators who want to focus on messaging without technical limitations
  • Marketers who need to launch campaigns quickly without sacrificing quality
  • Non-technical stakeholders who want more control over final output

For Development Teams

  • Frontend developers looking to reduce repetitive component creation
  • Design system maintainers who want consistent implementation across projects
  • Development managers seeking to improve productivity and speed to market

For Agencies

  • Web design agencies building multiple marketing sites and campaigns
  • Teams managing multiple clients who need consistent quality but unique design
  • Small shops looking to scale their output with limited resources

Key Features and Benefits

πŸš€ Speed and Efficiency

  • 5x faster development cycles - Eliminate repetitive component creation
  • Dynamic component adaptation - Components auto-adjust to content needs
  • Streamlined review process - Focus feedback on key areas, not implementation details

🎨 Design Flexibility with Consistency

  • Design system adherence - AI respects your established design guidelines
  • Component consistency - Maintain visual coherence across your entire site
  • Edge case handling - Automatically adapt to content variations without developer intervention

πŸ”„ Seamless Content Updates

  • Live preview - See content changes reflected in components instantly
  • Content migration - Easily move content between design systems
  • Independent content editing - Non-technical team members can update content without developer assistance

πŸ“± Responsive by Default

  • Device-aware layouts - Components adapt intelligently to different screen sizes
  • Performance optimization - Lazy loading and code splitting built into the framework
  • Accessibility compliance - Components follow WCAG guidelines automatically

Technical Foundation

AI-Mapping is built on a robust technical stack:

  • Next.js - React framework with server-side rendering capabilities
  • TypeScript - Type safety and improved developer experience
  • Tailwind CSS - Utility-first styling for rapid UI development
  • Jest & React Testing Library - Comprehensive testing framework
  • AI Component Mapping - Open source algorithm for matching content to components

Getting Started

First, run the development server:

pnpm dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, our primary font.

Understanding the Project Structure

Component Architecture

AI-Mapping uses a modular component system designed for maximum flexibility and reuse:

src/
β”œβ”€β”€ components/           # UI Components
β”‚   β”œβ”€β”€ blocks/           # Content-focused section components
β”‚   β”œβ”€β”€ layout/           # Structural page elements
β”‚   β”œβ”€β”€ ui/               # Base UI elements and icons
β”œβ”€β”€ content/              # Content definitions and data
β”‚   β”œβ”€β”€ homepage/         # Homepage section content
β”œβ”€β”€ config/               # Site-wide configuration
└── ...

Key Architectural Principles

  1. Content/Presentation Separation

    • Content files (markdown, data structures) are separate from presentation
    • Components focus on "how to display" while content files handle "what to display"
    • This separation allows for easy content updates without touching component code
  2. Component Mapping System

    • The AI-Mapping system connects content to appropriate components
    • Components declare their capabilities and content requirements
    • The mapping system intelligently matches content to components based on these requirements
  3. Progressive Enhancement

    • Base components function with minimal content
    • Additional content triggers enhanced features automatically
    • Content authors can "opt-in" to advanced features with simple annotations

Building New Projects with AI-Mapping

  1. Start with content structure

    • Define your core content sections first
    • Structure data in a way that focuses on relationships and hierarchy
    • Don't worry about presentation details initially
  2. Apply the component mapping

    • Use AI-Mapping to generate initial component mapping
    • Review and adjust as needed
    • Extend existing components rather than creating new ones when possible
  3. Customize design tokens

    • Update the theme configuration to match your brand
    • Adjust typography, colors, spacing scales
    • AI-Mapping will apply these tokens consistently across components

Development Workflow

Available Scripts

  • pnpm dev - Start development server
  • pnpm build - Build for production
  • pnpm lint - Run ESLint
  • pnpm typecheck - Run TypeScript type checking
  • pnpm test - Run Jest tests
  • pnpm test:watch - Run tests in watch mode
  • pnpm test:update - Update test snapshots
  • pnpm test:coverage - Generate test coverage report
  • pnpm validate - Run all checks (typecheck, lint, test, build)

CI/CD Pipeline

This project uses GitHub Actions for CI/CD:

  1. CI Process: On every pull request and push to main:

    • Tests are run with Jest
    • TypeScript validation is performed
    • ESLint checks code style
    • A test build verifies everything compiles correctly
  2. Deployment: Vercel deployments are triggered only after CI passes:

    • Preview deployments for pull requests
    • Production deployment when merging to main

Case Studies & Success Stories

Enterprise Technology Company

A leading enterprise software company reduced their marketing site development time from 12 weeks to just 3 weeks using AI-Mapping, while maintaining strict brand consistency across 47 different landing pages.

Digital Marketing Agency

A mid-sized agency was able to take on 40% more client work with the same team size after implementing AI-Mapping for their landing page projects, while reporting higher client satisfaction with initial design presentations.

E-commerce Brand

An online retailer used AI-Mapping to test 12 different product description page variations in a single sprint, leading to a 23% increase in conversion rate through rapid iteration and testing.

Getting Involved

  • Star and watch the repository for updates
  • Submit issues for feature requests and bug reports
  • Contribute to the project following our contribution guidelines
  • Join our community of developers and designers

License

AI-Mapping is open-source software licensed under the MIT license.


Created with ❀︎ to AI and Claude Code by Oleg Proskurin
2025

About

AI-Mapping website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages