import { getBackgroundImage, getStaticImage } from '@/lib/utils' import { Image } from '@/components' import { useNavigate, useParams } from 'react-router-dom' import { useRongdeshengStore } from '@/store/rongdeshengStore' const RongdeshengHome = () => { const navigate = useNavigate() const { moduleName } = useParams<{ moduleName: string }>() // starName 固定为 rongdesheng const starName = 'rongdesheng' const lastVisitedPlace = useRongdeshengStore((s) => s.lastVisitedPlace) if (!moduleName) return null return (
navigate(`/entrance/${moduleName}`)} />
{/* 对话 */} navigate(`/${moduleName}/${starName}/${lastVisitedPlace || 'place1'}`)} /> {/* 体悟(占位) */} navigate(`/${moduleName}/${starName}/reflection`)} /> {/* 内化(占位) */} navigate(`/${moduleName}/${starName}/internalization`)} />
) } export default RongdeshengHome