import React, { useState } from "react"; import { motion } from "framer-motion"; import LazyImage from "../common/LazyImage"; import ProfileIcon from "../../assets/images/profileicon.png"; import HoroscodeIcon from "../../assets/images/horoscopericon.png"; import FamilyIcon from "../../assets/images/homeicon.png"; import Box from "@mui/material/Box"; import { useNavigate } from "react-router-dom"; import AstroChatUI from "./AstroChatUI"; import MembershipCard from "./MembershipCard"; const ProfileCompletion = () => { const [completeness, setCompleteness] = useState(30); const navigate = useNavigate(); const cards = [ { id: 1, icon: ProfileIcon, title: "Add Photo(s)", bgColor: "bg-green-50", iconColor: "text-green-600", borderColor: "border-green-200", url:"/profile-edit" }, { id: 2, icon: HoroscodeIcon, title: "Add Horoscope", bgColor: "bg-purple-50", iconColor: "text-purple-600", borderColor: "border-purple-200", url:"/horoscoper-generate" }, { id: 3, icon: FamilyIcon, title: "Family Details", bgColor: "bg-red-50", iconColor: "text-red-600", borderColor: "border-red-200", url:"/profile-edit" }, ]; const container = { hidden: { opacity: 0 }, show: { opacity: 1, transition: { staggerChildren: 0.1, }, }, }; const item = { hidden: { opacity: 0, y: 20 }, show: { opacity: 1, y: 0 }, }; return ( <>
Complete your profile to increase visibility and get better matches