diff --git a/src/assets/tier/basique.png b/src/assets/tier/basique.png new file mode 100644 index 0000000..6843c9f Binary files /dev/null and b/src/assets/tier/basique.png differ diff --git a/src/assets/tier/premium.png b/src/assets/tier/premium.png new file mode 100644 index 0000000..2d01e33 Binary files /dev/null and b/src/assets/tier/premium.png differ diff --git a/src/assets/tier/standard.png b/src/assets/tier/standard.png new file mode 100644 index 0000000..42b1530 Binary files /dev/null and b/src/assets/tier/standard.png differ diff --git a/src/pages/Payement/Pricing/Pricing.jsx b/src/pages/Payement/Pricing/Pricing.jsx index 7f025c3..cae1703 100644 --- a/src/pages/Payement/Pricing/Pricing.jsx +++ b/src/pages/Payement/Pricing/Pricing.jsx @@ -3,13 +3,50 @@ import Navbar from '../../../components/navbar/Navbar'; import { useNavigate } from 'react-router-dom'; import PropTypes from 'prop-types'; +import basique from '../../../assets/tier/basique.png'; +import standard from '../../../assets/tier/standard.png'; +import premium from '../../../assets/tier/premium.png'; + const Pricing = ({ user }) => { const navigate = useNavigate(); const groups = [ - { title: 'Gratuit', price: '0 €', features: ['Accès limité', 'Support par e-mail'] }, - { title: 'Standard', price: '2 €', features: ['Accès complet', 'Support prioritaire'] }, - { title: 'Premium', price: '9 €', features: ['Accès illimité', 'Support 24/7'] }, + { + title: 'Basique', + price: '0 €', + features: [ + { name: 'Accès au serveurs vanilla', isAvailable: true }, + { name: 'Personalisation complète de vos serveurs', isAvailable: true }, + { name: 'Support par e-mail', isAvailable: true }, + { name: 'Accès au serveurs Mini-jeux', isAvailable: false }, + { name: 'Accès au serveurs de modpacks', isAvailable: false } + ], + image: basique + }, + { + title: 'Standard', + price: '2 €', + features: [ + { name: 'Accès au serveurs vanilla', isAvailable: true }, + { name: 'Personalisation complète de vos serveurs', isAvailable: true }, + { name: 'Support par e-mail', isAvailable: true }, + { name: 'Accès au serveurs Mini-jeux', isAvailable: true }, + { name: 'Accès au serveurs de modpacks', isAvailable: false } + ], + image: standard + }, + { + title: 'Premium', + price: '9 €', + features: [ + { name: 'Accès au serveurs vanilla', isAvailable: true }, + { name: 'Personalisation complète de vos serveurs', isAvailable: true }, + { name: 'Support par e-mail', isAvailable: true }, + { name: 'Accès au serveurs Mini-jeux', isAvailable: true }, + { name: 'Accès au serveurs de modpacks', isAvailable: true } + ], + image: premium + }, ]; const handleSubscribe = (pkg) => { @@ -28,16 +65,21 @@ const Pricing = ({ user }) => {
{pkg.price}
-