diff --git a/demo-site/README.md b/demo-site/README.md new file mode 100644 index 0000000..56850a2 --- /dev/null +++ b/demo-site/README.md @@ -0,0 +1,115 @@ +# Insertr Demo Site + +This is a prototype demonstration of the Insertr edit-in-place CMS system. + +## What is Insertr? + +Insertr allows developers to make any website content editable by simply adding a CSS class. Clients can then log in and edit content directly on their website without needing to learn a complex admin interface. + +## Three User Types + +### 1. The Customer (End User) +- Sees a clean, professional website +- No editing interface visible +- Fast loading with minimal overhead + +### 2. The Client (Content Manager) +- Logs in to see the same website with subtle edit buttons +- Clicks edit buttons to modify content inline +- Can edit both simple text and rich markdown content +- Changes are saved immediately + +### 3. The Developer (You) +- Simple integration: just add `class="insertr"` and `data-content-id="unique-id"` +- No complex setup or framework dependencies +- Works with any existing website + +## Demo Instructions + +1. **Open `index.html` in your browser** - You'll see the customer view +2. **Click "Login as Client"** - This simulates authentication +3. **Click "Edit Mode: Off" to turn on editing** - Now you'll see edit buttons (āļø) appear +4. **Click any edit button** to modify content +5. **Try both simple text and rich content** (marked with š) +6. **Navigate to `about.html`** to see how it works across pages + +## Technical Details + +### For Developers + +To make content editable, just add the insertr class and data attribute: + +```html + +
We help businesses succeed...
+We're a team of experienced consultants dedicated to helping small businesses thrive in today's competitive marketplace.
+Founded in 2020, Acme Consulting emerged from a simple observation: small businesses needed access to the same high-quality strategic advice that large corporations receive, but in a format that was accessible, affordable, and actionable.
+ +Our founders, with combined experience of over 30 years in business strategy, operations, and technology, recognized that the traditional consulting model wasn't serving the needs of growing businesses. We set out to change that.
+ +Today, we've helped over 200 businesses streamline their operations, clarify their strategy, and achieve sustainable growth. Our approach combines proven methodologies with a deep understanding of the unique challenges facing small to medium-sized businesses.
+We're a diverse group of strategists, operators, and technology experts united by our passion for helping businesses succeed.
+Founder & CEO
+Former McKinsey consultant with 15 years of experience in strategy and operations. MBA from Stanford.
+Head of Operations
+20 years in manufacturing and supply chain optimization. Expert in lean methodologies and process improvement.
+Digital Strategy Lead
+Former tech startup founder turned consultant. Specializes in digital transformation and technology adoption.
+Every recommendation we make is designed with your specific business context and goals in mind.
+We believe in strategies that you can actually implement with your current resources and capabilities.
+We're not just consultants; we're partners in your business success for the long haul.
+We help small businesses grow through strategic planning, process optimization, and digital transformation. Our team brings 15+ years of experience to drive your success.
+ Get Started Today +Comprehensive solutions tailored to your business needs
+Develop clear roadmaps and actionable strategies that align with your business goals and drive sustainable growth.
+Streamline processes, reduce costs, and improve efficiency through proven methodologies and best practices.
+Modernize your technology stack and digital presence to compete effectively in today's marketplace.
+++"Acme Consulting transformed our operations completely. We saw a 40% increase in efficiency within 6 months of implementing their recommendations."
+ Sarah Johnson, CEO of TechStart Inc. +
Contact us today for a free consultation and discover how we can help you achieve your goals.
+ Schedule Consultation +') + .replace(/^(?!<[h|l|p])(.+)$/gim, '
$1
') + .replace(/(