How aslammohammad-01/mediakit works
This is a browser-based media-kit site with a public profile and an admin publishing flow. An admin selects content and images, the admin client uploads images and submits the assembled content to a Worker, and visitors load the published content from S3 for display. The public client also supports stats, achievements, contact links, similar pages, image lightboxes, and sharing. Source excerpts show these client-side responsibilities and network calls; the Worker implementation and HTML wiring were not provided.
Main entry points: admin.js Upload and publish · app.js Content and interactions · public/index.html Media kit page · admin/index.html Admin console
Components 10
Public media kit
- Media kit page
public/index.html - Content and interactions
public/app.js - Page styling
public/style.css
Admin publishing
- Admin console
public/admin/index.html - Upload and publish
public/admin/admin.js - Admin styling
public/admin/admin.css
External services
- Publishing Worker
- S3 content and images
Other components
- Visitor
- Publisher
Connections 8
- Visitor → Media kit page: opens
- Content and interactions → S3 content and images: fetches content
public/app.js - Content and interactions → Media kit page: renders and updates
public/app.js - Publisher → Admin console: uses
- Upload and publish → Publishing Worker: requests upload URLs
public/admin/admin.js - Upload and publish → S3 content and images: uploads images
public/admin/admin.js - Upload and publish → Publishing Worker: saves content
public/admin/admin.js - Upload and publish → Admin console: updates previews and status
public/admin/admin.js