# A library with the default MUI fonts and icons.
fonts:
  css:
    theme:
      # TODO: Add <link rel="preconnect" href="https://fonts.gstatic.com"> according to google fonts helper.
      https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;500;700&display=swap: { external: true }
      https://fonts.googleapis.com/icon?family=Material+Icons: { external: true }

# A library with shared node_modules across all ANU LMS bundles.
vendors:
  js:
    js/dist/vendors.min.js: { minified: true, weight: -16 }
  dependencies:
    - core/drupal

# Page with list of courses.
courses:
  js:
    js/dist/courses.min.js: { minified: true, weight: -15 }
  dependencies:
    - anu_lms/fonts
    - anu_lms/vendors

# Page with list of courses.
courses_landing:
  js:
    js/dist/courses_landing.min.js: { minified: true, weight: -15 }
  dependencies:
    - anu_lms/fonts
    - anu_lms/vendors

# Individual lesson page.
lesson:
  js:
    js/dist/lesson.min.js: { minified: true, weight: -15 }
  dependencies:
    - anu_lms/fonts
    - anu_lms/vendors
