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 Vocabulary Progress hint using markdown-based format.
 * Content is loaded from localized assets/hints based on device locale.
 */
@Composable
fun getVocabularyProgressHint(): Hint {
    return Hint(
        titleRes = R.string.hint_vocabulary_progress_hint_title,
        elements = listOf(
            HintElement.LocalizedMarkdown("vocabulary_progress_hint")
        )
    )
}

@Composable
fun VocabularyProgressHint() {
    getVocabularyProgressHint().Render()
}

@Preview
@Composable
fun VocabularyProgressHintPreview() {
    MaterialTheme {
        VocabularyProgressHint()
    }
}
