import { ConfigManager } from '../../../../manager/UserConfigManager'
import { TitleBar } from '../../../../view/TitleBar'

@Entry
@ComponentV2
struct CoursePage {
  build() {
    Column() {
      TitleBar({title: '提取教程'}).width('100%')
      Scroll() {
        Image(ConfigManager.getTakeMaterialCourse()).width('100%').height('auto')
      }
      .layoutWeight(1)
      .scrollBar(BarState.Off)
    }
    .backgroundColor($r('app.color.window_background'))
  }
}