How ziroo-cf/bac-hub works
Bac-Hub is a lightweight study-resource portal for Moroccan baccalaureate students. Students choose a subject, browse its curated video and document links, and open a resource on its provider; a live countdown highlights exam and results dates. The catalog is centralized in one data file, while the page handles browsing and link rendering. The root layout provides the shared dark-themed shell and analytics, and a web manifest describes installable-app metadata. The source excerpts show these main connections; PWA installation behavior is documented, but its browser-level wiring is not shown.
Main entry points: page.tsx Subject Browser · layout.tsx Root Layout · data.ts Subject Resources · manifest.ts Install Manifest
Components 8
Resource Browsing
- Subject Browser
src/app/page.tsx - Exam Countdown
src/app/page.tsx
Study Catalog
- Subject Resources
src/app/data.ts
App Shell
- Root Layout
src/app/layout.tsx - Install Manifest
src/app/manifest.ts
Other components
- Student
- Video & Study Sites
- Vercel Analytics
Connections 6
- Student → Subject Browser: browses
README.md - Subject Browser → Subject Resources: reads
src/app/page.tsx - Subject Browser → Exam Countdown: renders
src/app/page.tsx - Subject Browser → Video & Study Sites: opens links
src/app/page.tsx - Root Layout → Vercel Analytics: renders
src/app/layout.tsx - Student → Install Manifest: installs from