package app.closer.ui.home

import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
import app.closer.core.navigation.AppRoute
import app.closer.ui.components.FinishedEmptyStateAction
import app.closer.ui.components.FinishedEmptyStateScreen
import app.closer.ui.theme.CloserPalette

@Composable
fun PartnerHomeScreen(
    onNavigate: (String) -> Unit = {}
) {
    FinishedEmptyStateScreen(
        eyebrow = "Partner space",
        title = "Connect your shared home",
        body = "Invite your partner to unlock shared prompts, paired games, and a relationship rhythm built for both of you.",
        glyphCategoryId = "people",
        primaryAction = FinishedEmptyStateAction("Invite partner", AppRoute.CREATE_INVITE),
        secondaryAction = FinishedEmptyStateAction("Back home", AppRoute.HOME),
        accent = CloserPalette.PurpleDeep,
        details = listOf(
            "Pair once, then share prompts without repeating setup.",
            "Keep shared activity distinct from private reflections.",
            "Return to the couple space when both of you are ready."
        ),
        onNavigate = onNavigate
    )
}

@Preview
@Composable
fun PartnerHomeScreenPreview() {
    PartnerHomeScreen()
}
