| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281 |
- import styled from "styled-components";
- import { Card, Typography, Grid, Box } from "@mui/material";
- import selectedTheme from "../../../themes";
- import { ReactComponent as Edit } from "../../../assets/images/svg/edit.svg";
- // import { ReactComponent as Pocket } from "../../assets/images/svg/pocket.svg";
- // import { ReactComponent as Globe } from "../../assets/images/svg/globe.svg";
- import { ReactComponent as Mail } from "../../../assets/images/svg/mail.svg";
- // import { ReactComponent as Location } from "../../assets/images/svg/location.svg";
- // import { PRIMARY_PURPLE_COLOR, PRIMARY_YELLOW_COLOR } from '../../constants/stylesConstants';
-
- export const ProfileCardContainer = styled(Box)`
- width: 100%;
- box-sizing: border-box;
- padding: 0 50px;
- margin-top: 34px;
- overflow: hidden;
-
- @media (max-width: 1200px) {
- padding: 0 36px 0 0;
- }
- @media (max-width: 600px) {
- padding: 0;
- }
- `;
- export const EditIcon = styled(Edit)`
- width: 18px;
- height: 18px;
- & path {
- stroke: ${selectedTheme.colors.primaryPurple};
- }
- `;
- export const EditButton = styled(Box)`
- position: absolute;
- right: 1rem;
- top: 1rem;
- color: ${selectedTheme.colors.primaryPurple};
- font-weight: 900;
- background: #f4f4f4;
- border-radius: 360px;
- padding: 0.45rem 0.45rem 0.27rem 0.57rem;
- cursor: pointer;
- `;
-
- export const MessageButton = styled(EditButton)`
- background: ${selectedTheme.colors.primaryPurple};
- width: 40px;
- height: 40px;
- @media (max-width: 600px) {
- width: 32px;
- height: 32px;
- }
- `;
-
- export const ProfileCardWrapper = styled(Card)`
- border: 1px solid ${selectedTheme.colors.borderNormal};
- background: ${(props) =>
- props.isMyProfile ? selectedTheme.colors.primaryPurple : "white"};
- width: 100%;
- min-width: fit-content;
- padding: 1rem;
- position: relative;
- border-radius: 0 0 4px 4px;
- `;
-
- // export const ProfileName = styled(Typography)`
- // color: ${(props) =>
- // props.isMyProfile
- // ? selectedTheme.colors.primaryYellow
- // : selectedTheme.colors.primaryPurple};
- // font-weight: 700;
- // font-size: 24px;
- // font-family: ${selectedTheme.fonts.textFont};
- // margin-bottom: 5px;
- // @media (max-width: 600px) {
- // font-size: 18px;
- // }
- // `;
-
- // export const ProfilePIB = styled(Typography)`
- // color: ${(props) =>
- // props.isMyProfile ? "white" : selectedTheme.colors.primaryDarkText};
- // margin-top: 0.18rem;
- // font-family: ${selectedTheme.fonts.textFont};
- // font-size: 16px;
- // padding-top: 1px;
- // @media (max-width: 600px) {
- // font-size: 14px;
- // }
- // `;
- // export const ProfilePIBContainer = styled(Grid)`
- // display: flex;
- // justify-content: center;
- // align-items: center;
- // position: relative;
- // left: 5px;
- // `;
-
- // export const ProfileMainInfo = styled(Grid)`
- // display: flex;
- // justify-content: start;
- // align-items: start;
- // `;
-
- // export const AvatarImageContainer = styled(Grid)`
- // display: flex;
- // justify-content: start;
- // align-items: center;
- // `;
-
- // export const ProfileMainInfoGrid = styled(Grid)`
- // display: flex;
- // flex-direction: column;
- // align-items: start;
- // margin-left: 16px;
- // `;
-
- // export const ProfileContact = styled(Grid)`
- // padding-top: 2rem;
- // padding-bottom: 2rem;
- // @media (max-width: 600px) {
- // padding-bottom: 1rem;
- // }
- // `;
-
- // export const ContactItem = styled(Typography)`
- // margin-right: 2rem;
- // margin-left: 0.4rem;
- // color: ${(props) =>
- // props.isMyProfile ? "white" : selectedTheme.colors.primaryDarkText};
- // display: unset;
- // font-family: ${selectedTheme.fonts.textFont};
- // letter-spacing: 0.02em;
- // font-size: 16px;
- // position: relative;
- // bottom: 1px;
- // @media (max-width: 600px) {
- // font-size: 14px;
- // bottom: 4px;
- // }
- // `;
-
- // export const StatsItem = styled(Typography)`
- // margin-right: 2rem;
- // display: unset;
- // margin-left: 1rem;
- // font-family: ${selectedTheme.fonts.textFont};
- // font-size: 16px;
- // margin-bottom: 2px;
- // @media (max-width: 600px) {
- // font-size: 12px;
- // }
- // `;
-
- // export const ProfileStats = styled(Grid)`
- // display: flex;
- // justify-content: start;
- // align-items: center;
- // background: ${selectedTheme.colors.primaryDarkTextSecond};
- // width: calc(100% + 2rem);
- // padding-top: 1.3rem;
- // padding-bottom: 1.3rem;
- // margin-bottom: -1rem;
- // margin-left: -1rem;
- // border-radius: 0 0 4px 4px;
- // `;
- // export const AvatarImage = styled.img`
- // min-height: 144px;
- // min-width: 144px;
- // width: 144px;
- // height: 144px;
- // border-radius: 100%;
- // @media (max-width: 600px) {
- // min-height: 90px;
- // min-width: 90px;
- // width: 90px;
- // height: 90px;
- // }
- // `;
-
- export const ProfileCardHeader = styled(Grid)`
- display: flex;
- justify-content: start;
- align-items: center;
- margin-bottom: 11px;
- `;
-
- export const HeaderTitle = styled(Typography)`
- font-size: 16px;
- font-family: ${selectedTheme.fonts.textFont};
- color: ${selectedTheme.colors.primaryText};
- position: relative;
- @media (max-width: 600px) {
- font-size: 12px;
- }
- `;
- // export const PocketIcon = styled(Pocket)`
- // width: 22px;
- // height: 22px;
- // position: relative;
- // left: -5px;
- // top: 2px;
- // & path {
- // stroke: #b4b4b4;
- // }
- // @media (max-width: 600px) {
- // width: 14px;
- // height: 14px;
- // }
- // `;
- // export const MailIcon = styled(Mail)`
- // height: 24px;
- // width: 24px;
- // & path {
- // stroke: ${(props) =>
- // props.isMyProfile
- // ? selectedTheme.colors.iconMineProfileColor
- // : selectedTheme.colors.iconProfileColor};
- // }
- // @media (max-width: 600px) {
- // width: 14px;
- // height: 14px;
- // }
- // `;
- // export const GlobeIcon = styled(Globe)`
- // height: 22px;
- // width: 22px;
- // & path {
- // stroke: ${(props) =>
- // props.isMyProfile
- // ? selectedTheme.colors.iconMineProfileColor
- // : selectedTheme.colors.iconProfileColor};
- // }
- // @media (max-width: 600px) {
- // width: 14px;
- // height: 14px;
- // }
- // `;
- // export const LocationIcon = styled(Location)`
- // height: 22px;
- // width: 22px;
- // & path {
- // stroke: ${(props) =>
- // props.isMyProfile
- // ? selectedTheme.colors.iconMineProfileColor
- // : selectedTheme.colors.iconProfileColor};
- // }
- // @media (max-width: 600px) {
- // width: 14px;
- // height: 14px;
- // }
- // `;
- export const MessageIcon = styled(Mail)`
- width: 19.5px;
- height: 19.5px;
- position: relative;
- left: 1px;
- top: 3px;
- & path {
- stroke: ${selectedTheme.colors.primaryYellow};
- }
- @media (max-width: 600px) {
- width: 16px;
- height: 16px;
- left: -1px;
- top: 1px;
- }
- `;
-
- export const ProfileInfoContainer = styled(Grid)`
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: start;
- `;
-
- // export const ProfileStatsGrid = styled(Grid)`
- // display: flex;
- // flex-direction: column;
- // justify-content: center;
- // align-items: start;
- // `;
|