How sabari432/-education-website-using-reactjs works
Purpose and Runtime
This is a static education/online-course marketing site implemented as a React single-page application. It runs in the browser from public/index.html, bootstrapped by src/index.js, with the root composition in src/App.js. The repository contains no backend, API layer, authentication, or persistence boundary.
Application Shell and Navigation
src/App.js is the top-level control point and likely owns page selection/routing plus shared layout. Header and footer components establish site-wide navigation and persistent chrome:
• src/components/common/header/Header.jsx
• src/components/common/header/Head.jsx
• src/components/common/footer/Footer.jsx
Shared visual primitives include reusable page-back/banner and heading elements:
• src/components/common/back/Back.jsx
• src/components/common/heading/Heading.jsx
Home Landing-Page Composition
The home route is assembled from focused promotional sections rather than a monolithic page. src/components/home/Home.jsx coordinates the home content, including the hero, introductory/about, featured course/pricing, blog, and testimonial stages:
• src/components/home/hero/Hero.jsx
• src/components/home/HAbout.jsx
• src/components/home/Hprice.jsx
• src/components/home/Hblog.jsx
• src/components/home/testimonal/Testimonal.jsx
Content-Collection Pages
Dedicated sections render reusable cards for the major catalog-like content types. These form a consistent “container page → card renderer” architecture:
• Courses: src/components/allcourses/CourseHome.jsx, src/components/allcourses/CoursesCard.jsx, src/components/allcourses/OnlineCourses.jsx
• Blog: src/components/blog/Blog.jsx, src/components/blog/BlogCard.jsx
• Team: src/components/team/Team.jsx, src/components/team/TeamCard.jsx
• About: src/components/about/About.jsx, src/components/about/AboutCard.jsx
Commercial and Contact Flows
Pricing is represented as a standalone page with plan cards and FAQ content, while contact is a separate presentation/form boundary. There is no evidence of submission integration or payment processing in the tree:
• src/components/pricing/Pricing.jsx
• src/components/pricing/PriceCard.jsx
• src/components/pricing/Faq.jsx
• src/components/contact/Contact.jsx
Data and Asset Boundary
Page content is likely locally sourced from src/dummydata.js; card components consume that static data rather than remote services. Images are bundled as public static assets and referenced from the browser-accessible public directory:
• src/dummydata.js
• public/images/courses
• public/images/blog
• public/images/team
Styling and Build Infrastructure
Styling is component-area scoped through CSS files alongside JSX, with global application styling in src/App.css. The Node/npm dependency and build boundary is defined by package.json and package-lock.json; deployment is compatible with static hosting, as suggested by the README’s Netlify screenshot.
• src/App.css
• src/components/common/header/header.css
• package.json
Main entry points: App.js App shell · dummydata.js Local content data · Hero.jsx Home promo sections · CoursesCard.jsx Course cards
Components 18
Browser Runtime
- HTML entry
public/index.html - React bootstrap
src/index.js - App shell · Owns route selection and shared layout.
src/App.js - Header and footer
src/components/common/header/Header.jsx - Heading and banner
src/components/common/back/Back.jsx
Page Composition
- Home page
src/components/home/Home.jsx - Home promo sections
src/components/home/hero/Hero.jsx - Courses pages · Course home and online-course views render reusable cards.
src/components/allcourses/CourseHome.jsx - Course cards
src/components/allcourses/CoursesCard.jsx - Blog page
src/components/blog/Blog.jsx - Blog cards
src/components/blog/BlogCard.jsx - Team and about · Each page uses a dedicated card renderer.
src/components/team/Team.jsx - Pricing page · Composes plan cards and FAQ content without payment integration.
src/components/pricing/Pricing.jsx - Contact page · Presentation-only; no submission integration is present.
src/components/contact/Contact.jsx
Static Content
- Local content data · Supplies page and card content without remote APIs.
src/dummydata.js
Build and Assets
- Public images · Course, blog, and team imagery served from public assets.
public/images/courses - Component CSS · Global and colocated styles define the site presentation.
src/App.css - npm build boundary · Defines dependencies and static-site build tooling.
package.json
Connections 23
- HTML entry → React bootstrap: loads
- React bootstrap → App shell: mounts
- App shell → Header and footer: renders shared chrome
- App shell → Heading and banner: uses
- App shell → Home page: selects route
- App shell → Courses pages: selects route
- App shell → Blog page: selects route
- App shell → Team and about: selects route
- App shell → Pricing page: selects route
- App shell → Contact page: selects route
- Home page → Home promo sections: composes
- Courses pages → Course cards: renders
- Blog page → Blog cards: renders
- Home promo sections → Local content data: reads
- Course cards → Local content data: reads
- Blog cards → Local content data: reads
- Team and about → Local content data: reads
- Pricing page → Local content data: reads
- Home promo sections → Public images: references
- Course cards → Public images: references
- Blog cards → Public images: references
- App shell → Component CSS: applies
- npm build boundary → HTML entry: builds for static hosting