feat: Complete platform enhancement with multi-tenant architecture

Major additions:
- Territory manager system with application workflow
- Custom pricing and page builder with Craft.js
- Enhanced Stripe Connect onboarding
- CodeReadr QR scanning integration
- Kiosk mode for venue sales
- Super admin dashboard and analytics
- MCP integration for AI-powered operations

Infrastructure improvements:
- Centralized API client and routing system
- Enhanced authentication with organization context
- Comprehensive theme management system
- Advanced event management with custom tabs
- Performance monitoring and accessibility features

Database schema updates:
- Territory management tables
- Custom pages and pricing structures
- Kiosk PIN system
- Enhanced organization profiles
- CodeReadr integration tables

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-07-12 18:21:40 -06:00
parent a02d64a86c
commit 26a87d0d00
232 changed files with 33175 additions and 5365 deletions

View File

@@ -307,6 +307,34 @@ const search = url.searchParams.get('search');
</div>
</Layout>
<script>
// Force dark mode for this page - no theme toggle allowed
document.documentElement.setAttribute('data-theme', 'dark');
document.documentElement.classList.add('dark');
document.documentElement.classList.remove('light');
// Override any global theme logic for this page
(window as any).__FORCE_DARK_MODE__ = true;
// Prevent theme changes on this page
if (window.localStorage) {
const originalTheme = localStorage.getItem('theme');
if (originalTheme && originalTheme !== 'dark') {
sessionStorage.setItem('originalTheme', originalTheme);
}
localStorage.setItem('theme', 'dark');
}
// Block any theme toggle attempts
window.addEventListener('themeChanged', (e) => {
e.preventDefault();
e.stopPropagation();
document.documentElement.setAttribute('data-theme', 'dark');
document.documentElement.classList.add('dark');
document.documentElement.classList.remove('light');
}, true);
</script>
<script>
import { createRoot } from 'react-dom/client';
import Calendar from '../components/Calendar.tsx';