MainView component.

This component is responsible for rendering the main view for a student. It performs the following operations:

  1. Renders a title for the main view using the MainViewTitle component.
  2. Renders a grid of cards using the Card component. Each card represents a different feature available to the student:
    • Attendance QR Scanner: Allows the student to scan a QR code to mark attendance.
    • Your Profile: Allows the student to view their own profile.
    • Your Courses: Allows the student to view their own courses.

Each card includes a path to the corresponding feature, a title, and a description.