How hamza-muhammadd/leve-up works
This is a small browser-based, multi-site CMS: it selects a site, loads its content from Supabase, and provides an engine that can apply content-driven changes to a page. The excerpt documents site selection and loading, plus page-customization capabilities such as changing branding, links, sections, payments, and extra content. The tree and excerpt do not show how the admin and public pages invoke the engine, so those connections are left unverified.
Main entry points: cms.js CMS engine · index.html Public site page · admin.html Admin page
Components 9
Browser pages
- Public site page
index.html - Admin page
admin.html
CMS runtime
- CMS engine
cms.js - Site resolution
cms.js - Content loading
cms.js - Page customization
cms.js
Remote data
- Supabase database
Other components
- Site visitor
- Site editor
Connections 8
- Site visitor → Public site page: visits
- Site editor → Admin page: uses
- Admin page → CMS engine: uses
- Public site page → CMS engine: uses
cms.js - CMS engine → Site resolution: selects site
cms.js - CMS engine → Content loading: loads content
cms.js - Content loading → Supabase database: requests rows
cms.js - CMS engine → Page customization: customizes page
cms.js