//
//  CradleHoldLandingVC.swift
//  BreastFeedingDemo
//
//  Created by Jie Zhang on 2022/10/6.
//

import UIKit

class CradleHoldLandingVC: BaseLandingVC {
    @IBOutlet weak var titleL: UILabel!

    @IBOutlet weak var subtitleL: UILabel!
    @IBOutlet weak var text1L: UILabel!
    @IBOutlet weak var text2L: UILabel!
    @IBOutlet weak var text3L: UILabel!
    @IBOutlet weak var text4L: UILabel!

    @IBOutlet weak var tipsL: UILabel!
    @IBOutlet weak var startBtn: UIButton!
    override func viewDidLoad() {
        super.viewDidLoad()
        setupUI()
    }

    @IBAction func back(_ sender: Any) {
        navigationController?.popViewController(animated: true)
    }

    fileprivate func setupUI() {
        titleL.text = getString().sittingGestureIntroduce.title
        subtitleL.text = getString().sittingGestureIntroduce.subTitle
        text1L.text = getString().sittingGestureIntroduce.suggestedText1
        text2L.text = getString().sittingGestureIntroduce.suggestedText2
        text3L.text = getString().sittingGestureIntroduce.suggestedText3
        text4L.text = getString().sittingGestureIntroduce.suggestedText4

        startBtn.setTitle(getString().homeButtonText, for: .normal)
    }
}