// src/pages/SubscriptionHistory.jsx import React from 'react'; import { ArrowBackIosNew, CalendarToday, AccessTime, CreditCard, Person, Visibility } from '@mui/icons-material'; import { useNavigate } from 'react-router-dom'; import { motion } from 'framer-motion'; import { CrownIcon } from 'lucide-react'; const subscriptions = [ { id: "SUB722HSN", plan: "Gold Plan", profileCount: 150, usedCount: 70, billingCycle: "Monthly", expireDate: "19/11/2025", startDate: "19/10/2025", startTime: "10:00 AM", paymentMethod: "UPI Mode", amount: 1800, isActive: true }, { id: "SUB722HSN", plan: "Gold Plan", profileCount: 150, usedCount: 70, billingCycle: "Monthly", expireDate: "19/11/2025", startDate: "19/10/2025", startTime: "10:00 AM", paymentMethod: "UPI Mode", amount: 1800, isActive: false }, { id: "SUB722HSN", plan: "Gold Plan", profileCount: 150, usedCount: 70, billingCycle: "Monthly", expireDate: "19/11/2025", startDate: "19/10/2025", startTime: "10:00 AM", paymentMethod: "UPI Mode", amount: 1800, isActive: false } ]; export default function SubscriptionHistory() { const navigate = useNavigate(); return (
Subscription ID
{sub.id}
{sub.profileCount}
Profile Count
{sub.usedCount}
Used Count
Total Plan Amount
₹{sub.amount.toLocaleString()}
Your journey to forever is fully powered
Enjoy unlimited matches with your Gold Plan