Skip to content

Latest commit

 

History

History
155 lines (108 loc) · 3.92 KB

File metadata and controls

155 lines (108 loc) · 3.92 KB

Business Model Canvas Implementation Summary

What Was Implemented

The Business Model Canvas has been successfully implemented using vanilla JavaScript for optimal performance and simplicity. This implementation provides an interactive, editable canvas that can be embedded directly in Jekyll documentation pages.

Files Created

Core Implementation Files

  1. assets/business-model-canvas.js (2,929 bytes)

    • Main JavaScript functionality
    • Initializes canvas structure with 9 sections
    • Captures user input in real-time
    • Provides JSON export functionality
  2. assets/business-model-canvas.css (568 bytes)

    • Styling for the canvas
    • Responsive grid layout
    • Text area styling
    • Export button styling
  3. _includes/business-model-canvas.html (266 bytes)

    • Jekyll include file
    • Loads JavaScript and CSS files
    • Creates canvas container

Documentation Files

  1. _posts/2026-01-27-business-model-canvas.md (1,466 bytes)

    • Sample documentation page
    • Demonstrates how to use the canvas
  2. _posts/2026-01-27-business-model-canvas-documentation.md (2,928 bytes)

    • Complete documentation for the canvas feature
    • Usage examples and deployment instructions
  3. _posts/2026-01-27-business-model-canvas-implementation.md (5,217 bytes)

    • Implementation guide
    • Technical details and customization options

Configuration Files

  1. package.json (16 lines)

    • Project configuration
    • Scripts for common operations
  2. copy-assets.sh (Bash script)

    • Deployment script for copying assets to _site directory

Modified Files

  1. _layouts/Default.html
    • Updated to include the business model canvas
    • Canvas appears on all pages using the Default layout

How It Works

JavaScript Functionality

  • Initializes canvas structure with all 9 business model canvas sections
  • Creates editable text areas for each section
  • Captures user input in real-time
  • Provides JSON export functionality

CSS Styling

  • Creates a responsive grid layout (2 columns)
  • Styles text areas for easy editing
  • Provides visual feedback for interactions
  • Ensures cross-browser compatibility

Jekyll Integration

  • Loads JavaScript and CSS files automatically
  • Creates canvas container when page loads
  • Works with all Jekyll layouts

Usage

Basic Usage

Add the canvas include to any page:

{% include business-model-canvas.html %}

Complete Page Example

---
layout: Default
title: My Business Model
date: 2026-01-27 21:00:00 -0800
categories: Business
---

# My Business Model

This page includes an interactive business model canvas.

{% include business-model-canvas.html %}

## Analysis

After filling out the canvas, you can export the data as JSON for further analysis.

Exporting Data

  1. Fill in the canvas sections with your business information
  2. Click the "Export JSON" button
  3. The canvas data will be downloaded as business-model-canvas.json

Deployment

Development Mode

# Start Jekyll development server
bundle exec jekyll serve

# Access the canvas at http://localhost:4000

Production Deployment

# Build the Jekyll site
bundle exec jekyll build

# Copy assets to the _site directory
npm run copy-assets

# Deploy the _site directory to your hosting platform

Benefits

  1. Performance: Vanilla JavaScript is lightweight and fast
  2. Simplicity: No build process or dependencies required
  3. Integration: Seamlessly embedded in Jekyll templates
  4. Flexibility: Easy to customize and extend
  5. Compatibility: Works with all modern browsers
  6. Maintainability: Simple code structure for easy updates

Next Steps

  1. Test the canvas in your browser
  2. Customize the styling to match your brand
  3. Add custom export functionality if needed
  4. Create additional documentation pages
  5. Deploy to your hosting platform

License

Copyright AStartup; all rights reserved.