|
| 1 | +import React from "react"; |
| 2 | + |
| 3 | +const ProfileCard = () => { |
| 4 | + return ( |
| 5 | + <div> |
| 6 | + <div className="md:px-16"> |
| 7 | + <div className="p-8 bg-white shadow mt-24 dark:bg-black dark:bg-opacity-5"> |
| 8 | + {" "} |
| 9 | + <div className="grid grid-cols-1 md:grid-cols-3"> |
| 10 | + {" "} |
| 11 | + <div className="grid grid-cols-3 text-center order-last md:order-first mt-5 md:mt-0"> |
| 12 | + {" "} |
| 13 | + <div> |
| 14 | + {" "} |
| 15 | + <p className="font-bold text-gray-700 dark:text-white text-xl">22</p>{" "} |
| 16 | + <p className="text-gray-400">Friends</p>{" "} |
| 17 | + </div>{" "} |
| 18 | + <div> |
| 19 | + {" "} |
| 20 | + <p className="font-bold text-gray-700 dark:text-white text-xl">10</p>{" "} |
| 21 | + <p className="text-gray-400">Rank</p>{" "} |
| 22 | + </div>{" "} |
| 23 | + <div> |
| 24 | + {" "} |
| 25 | + <p className="font-bold text-gray-700 dark:text-white text-xl">89</p>{" "} |
| 26 | + <p className="text-gray-400">Solved</p>{" "} |
| 27 | + </div>{" "} |
| 28 | + </div>{" "} |
| 29 | + <div className="relative"> |
| 30 | + {" "} |
| 31 | + <div className="w-48 h-48 bg-indigo-100 mx-auto rounded-full shadow-2xl absolute inset-x-0 top-0 -mt-24 flex items-center justify-center text-indigo-500"> |
| 32 | + <svg |
| 33 | + xmlns="http://www.w3.org/2000/svg" |
| 34 | + className="h-24 w-24" |
| 35 | + viewBox="0 0 20 20" |
| 36 | + fill="currentColor" |
| 37 | + > |
| 38 | + {" "} |
| 39 | + <path |
| 40 | + fillRule="evenodd" |
| 41 | + d="M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z" |
| 42 | + clipRule="evenodd" |
| 43 | + /> |
| 44 | + </svg>{" "} |
| 45 | + </div>{" "} |
| 46 | + </div>{" "} |
| 47 | + <div className="space-x-8 flex justify-between mt-32 md:mt-0 md:justify-center"> |
| 48 | + <button className="text-white py-2 px-4 uppercase rounded bg-blue-500 hover:bg-blue-600 shadow hover:shadow-lg font-medium transition transform hover:-translate-y-0.5"> |
| 49 | + {" "} |
| 50 | + Connect |
| 51 | + </button>{" "} |
| 52 | + <button className="text-white py-2 px-4 uppercase rounded bg-gray-700 hover:bg-gray-800 shadow hover:shadow-lg font-medium transition transform hover:-translate-y-0.5"> |
| 53 | + {" "} |
| 54 | + Message |
| 55 | + </button>{" "} |
| 56 | + </div> |
| 57 | + </div>{" "} |
| 58 | + <div className="md:mt-20 mt-5 text-center border-b pb-12"> |
| 59 | + {" "} |
| 60 | + <h1 className="text-4xl font-medium text-gray-700 dark:text-white"> |
| 61 | + Saket Aryan{" "} |
| 62 | + </h1>{" "} |
| 63 | + <p className="font-light text-gray-600 mt-3 dark:text-white">CSE - Z, 2025</p>{" "} |
| 64 | + <p className="mt-8 text-gray-500"> |
| 65 | + Solution Manager - Creative Tim Officer |
| 66 | + </p>{" "} |
| 67 | + <p className="mt-2 text-gray-500">University of Computer Science</p> |
| 68 | + </div>{" "} |
| 69 | + <div className="mt-12 flex flex-col justify-center"> |
| 70 | + {" "} |
| 71 | + <p className="text-gray-600 text-center font-light lg:px-16"> |
| 72 | + This is a custom piece about me and I would love to tell you more.... |
| 73 | + </p>{" "} |
| 74 | + </div> |
| 75 | + </div> |
| 76 | + </div> |
| 77 | + </div> |
| 78 | + ); |
| 79 | +}; |
| 80 | + |
| 81 | +export default ProfileCard; |
0 commit comments