package eu.gaudian.translator.view.hints

import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
import eu.gaudian.translator.R

/**
 * Migrated Learning Stages hint using markdown-based format.
 * Content is loaded from localized assets/hints based on device locale.
 */
@Composable
fun getLearningStagesHint(): Hint {
    return Hint(
        titleRes = R.string.learning_stages_title,
        elements = listOf(
            HintElement.LocalizedMarkdown("learning_stages_hint")
        )
    )
}

@Composable
fun LearningStagesHint() {
    getLearningStagesHint().Render()
}

@Preview
@Composable
fun LearningStagesHintPreview() {
    MaterialTheme {
        LearningStagesHint()
    }
}
