ENGLISH·COURSE API
    Preparing search index...
    • My learning: the learner's own page — a greeting, the way back into the course they watched last, and every course they are enrolled in.

      Parameters

      Returns Element

      The page belongs to a learner, so it waits for the profile: until storage has answered it renders a shell, and a device without a profile is sent to the onboarding. A learner with a profile but no enrolled course has nothing to resume, so, once their state is read, they are sent to the first-course step (marked from=learning, so it shows no onboarding step).

      Everything else comes from one reading of the catalog (see useCourseShelf): the enrolled course watched most recently leads, with its continue target in a ResumeTile beside that course's progress panel, and Your courses lists every enrolled course with its own next video, three to a row on wide screens.

      The catalog stays in reach in two places: a See all courses button beside the greeting (wide screens only), and a CatalogCard closing Your courses that teases the first course, in catalog order, the learner has not joined.

      <MyLearningView courses={await loadCourseViews()} />