feat(dashboard): PaywallBanner + DashboardPage conditionnel (Sprint 1 étape 5)
This commit is contained in:
parent
d0f77e04f9
commit
bf778a5a4d
3 changed files with 157 additions and 12 deletions
25
src/features/dashboard/components/PaywallBanner.tsx
Normal file
25
src/features/dashboard/components/PaywallBanner.tsx
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/**
|
||||
* Bannière inline affichée sur le dashboard pour les utilisateurs Free.
|
||||
* Présente les features débloquées par Standard et oriente vers /pricing.
|
||||
* Pas de modale — intégrée dans le flux de la page (cf. PARCOURS_UTILISATEURS §2).
|
||||
*/
|
||||
|
||||
import { Link } from 'react-router-dom'
|
||||
import { Button } from '@/shared/components/ui/button'
|
||||
|
||||
export function PaywallBanner() {
|
||||
return (
|
||||
<div className="rounded-lg border border-expria-100 bg-expria-50 p-4 dark:border-expria/20">
|
||||
<p className="text-sm font-semibold text-ink-1">Passez à Standard pour débloquer :</p>
|
||||
<ul className="mt-2 space-y-1 text-sm text-ink-3" role="list">
|
||||
<li>Simulations illimitées</li>
|
||||
<li>Rapport détaillé par critère</li>
|
||||
<li>Historique de vos productions</li>
|
||||
<li>Suivi de progression</li>
|
||||
</ul>
|
||||
<Button asChild size="sm" className="mt-4 w-full">
|
||||
<Link to="/pricing">Passer à Standard</Link>
|
||||
</Button>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue