FDA

Project 2 - Marketing Homepage

Marketing Homepage - Pages & Features

This page summarizes the main routes and features of the Marketing Homepage.

Public pages

RouteDescription
/Home: hero, features, courses preview, testimonials, etc.
/about-usAbout FDA, team, overview
/coursesList of courses (from API or static data)
/courses/[slug]Course detail: description, instructor, add to cart, etc.
/categoriesList of course categories
/categories/[slug]Courses in a category
/combo-coursesList of combo/bundle courses
/combo-courses/[slug]Combo course detail
/create-comboCustom combo builder: select courses, see price, add to cart
/instructorsInstructor list
/instructors/[id]Instructor profile and their courses
/testimonialsStudent testimonials (and video testimonials if present)
/google-reviewsGoogle reviews section
/faqFAQ page
/verify-certificationPublic form to verify a certificate
/privacy-policyPrivacy policy
/refund-cancelation-policyRefund and cancellation policy

Auth (lightweight)

RouteDescription
/loginPhone + PIN login (can align with Admin Panel)
/registerRegistration (phone, PIN, etc.)
/pinPIN entry step if used in flow
/forgot-pinForgot PIN / reset

Auth may share the same backend as the Admin Panel (same JWT, phone+PIN) or a dedicated auth API; configuration is via env or API base URL.

Commerce

RouteDescription
/cartCart contents; update quantity, remove, proceed to checkout
/checkoutCheckout: customer details, payment (e.g. Razorpay or redirect to Admin Panel checkout)

Cart state is typically in CartContext; persistence can be localStorage or session. Checkout may call the Admin Panel’s payment APIs or a shared backend.

Components (high level)

  • Header / Footer: Navigation, logo, links, contact.
  • CourseCard, CourseDetail: Course list and detail UI.
  • ComboCourseCard, CustomComboBuilder: Combo listing and build-your-own combo.
  • Categories, CategoryCard: Category list and category course listing.
  • CartIcon, AddToCartButton: Cart UI and add-to-cart actions.
  • Testimonials, GoogleReviews, Faqs: Content sections.
  • PinInput, PhoneNumberInput: Auth inputs.

Data sources

  • Courses: src/data/courses.ts (static) or src/data/courses-api.ts (Admin Panel API).
  • Categories: src/data/categories.ts or src/data/categories-api.ts.
  • Blogs: src/data/blogs.ts (static or API).
  • Instructors: src/data/instructors.ts.
  • Testimonials: src/data/testimonials.ts.
  • Combo pricing: src/utils/comboPricing.ts.

Responsive and UX

  • Layout is responsive (Tailwind); key components work on mobile and desktop.
  • Motion is used for animations where applicable.
  • WhatsApp icon or similar may link to support.

For environment and deployment, see Environment & Config. For API setup, see API Integration.

Previous
API integration