feat(progression): page /progression + section Dashboard Premium — patterns, exercices long terme, indice de préparation (Sprint 3.6c)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a752029c19
commit
a60c298605
18 changed files with 1005 additions and 7 deletions
|
|
@ -15,6 +15,7 @@ import { useAuth } from '@/features/auth/hooks/useAuth'
|
|||
import { usePlan } from '../hooks/usePlan'
|
||||
import { PaywallBanner } from '../components/PaywallBanner'
|
||||
import { PLAN_QUERY_KEY } from '../hooks/usePlan'
|
||||
import { MonProfilPreparation } from '../components/MonProfilPreparation'
|
||||
|
||||
const PLAN_LABELS: Record<Plan, string> = {
|
||||
free: 'Plan Découverte',
|
||||
|
|
@ -120,6 +121,9 @@ export function DashboardPage() {
|
|||
<h2 className="text-base font-semibold text-ink-1">Dernières simulations</h2>
|
||||
<p className="mt-2 text-sm text-ink-4">Aucune simulation pour l'instant.</p>
|
||||
</section>
|
||||
|
||||
{/* Mon profil de préparation — Premium uniquement (gate via hasAccess) */}
|
||||
<MonProfilPreparation plan={data.plan} />
|
||||
</div>
|
||||
)}
|
||||
</main>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue