diff --git a/src/Pages/User/profile1.css b/src/Pages/User/profile1.css new file mode 100644 index 00000000..5f605c54 --- /dev/null +++ b/src/Pages/User/profile1.css @@ -0,0 +1,124 @@ +.profile { + background-color: #f5f5f5; /* Replace with the actual soft background color */ +} + +.profile .images { + width: 100%; + height: 300px; + position: relative; +} + +.profile .images .cover { + width: 100%; + height: 100%; + object-fit: cover; +} + +.profile .images .profilePic { + width: 200px; + height: 200px; + border-radius: 50%; + object-fit: cover; + position: absolute; + left: 0; + right: 0; + margin: auto; + top: 200px; +} + +.profile .profileContainer { + padding: 20px 70px; + display: flex; + width: 100%; + justify-content: center; +} + +@media (max-width: 768px) { + .profile .profileContainer { + padding: 10px; + } + + .profile .profileContainer .uInfo { + flex-direction: column; + height: 30vh; + padding: 20px; + margin-top: 100px; + } +} + +@media (max-width: 1024px) { + .profile .profileContainer { + padding: 20px; + } + + .profile .profileContainer .uInfo .left { + flex-wrap: wrap; + } +} + +.profile .profileContainer .uInfo { + height: 300px; + box-shadow: 0px 0px 25px -10px rgba(0, 0, 0, 0.38); + border-radius: 20px; + background-color: #ffffff; /* Replace with the actual background color */ + color: #333333; /* Replace with the actual text color */ + padding: 50px; + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: 20px; + max-width: 80rem; + font-size: x-large; + width: inherit; +} + +.profile .profileContainer .uInfo .left { + flex: 1; + display: flex; + gap: 10px; +} + +.profile .profileContainer .uInfo .left a { + color: #777777; /* Replace with the actual soft text color */ +} + +.profile .profileContainer .uInfo .center { + flex: 1; + display: flex; + flex-direction: column; + align-items: center; + gap: 10px; +} + +.profile .profileContainer .uInfo .center span { + font-size: 30px; + font-weight: 500; +} + +.profile .profileContainer .uInfo .center .info { + width: 100%; + display: flex; + align-items: center; + justify-content: space-around; + text-wrap: nowrap; + gap: inherit; +} + +.profile .profileContainer .uInfo .center .info .item { + display: flex; + align-items: center; + gap: 5px; + color: #777777; /* Replace with the actual soft text color */ +} + +.profile .profileContainer .uInfo .center .info .item span { + font-size: 12px; +} + +.profile .profileContainer .uInfo .right { + flex: 1; + display: flex; + align-items: center; + justify-content: flex-end; + gap: 10px; +} diff --git a/src/Pages/User/profile1.jsx b/src/Pages/User/profile1.jsx new file mode 100644 index 00000000..e5908af8 --- /dev/null +++ b/src/Pages/User/profile1.jsx @@ -0,0 +1,106 @@ +import React, { useState, useContext } from "react"; +import Update from "./update"; +import "./profile1.css"; +import { GlobalState } from "../../GlobalState"; +import { + FaFacebook, + FaInstagram, + FaTwitter, + FaLinkedin, + FaPinterest, + FaGlobe, +} from "react-icons/fa"; +import { IoMdMore, IoIosMail } from "react-icons/io"; +import { IoLocationOutline } from "react-icons/io5"; +import { Button } from "../../Components/Button/Button"; +import Projects from "./projects"; +import Skills from "./skills"; + +const Profile = () => { + const state = useContext(GlobalState); + const [user] = state.userAPI.user; + const [openUpdate, setOpenUpdate] = useState(false); + + return ( +
+ ); +}; + +export default Profile;