package eu.gaudian.translator.view.hints

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

/**
 * Migrated ImportVocabularyHint using markdown-based format.
 * Content is loaded from localized assets/hints based on device locale.
 */
@Composable
fun getImportVocabularyHint(): Hint {
    return Hint(
        titleRes = R.string.hint_how_to_generate_vocabulary_with_ai,
        elements = listOf(
            HintElement.LocalizedMarkdown("import_hint")
        )
    )
}

@Preview
@Composable
fun ImportVocabularyHint() {
    getImportVocabularyHint().Render()
}

/**
 * Migrated VocabularyReviewHint using markdown-based format.
 * Content is loaded from localized assets/hints based on device locale.
 */
@Composable
fun getVocabularyReviewHint(): Hint {
    return Hint(
        titleRes = R.string.review_intro,
        elements = listOf(
            HintElement.LocalizedMarkdown("review_hint")
        )
    )
}


@Composable
fun VocabularyReviewHint() {
    getVocabularyReviewHint()
}
