small fixes
This commit is contained in:
@ -11,7 +11,7 @@ import { Navigation } from "@components/Navigation/Navigation";
|
||||
import { ProfileBreadcrumbs } from "@components/ProfileBreadcrumbs/ProfileBreadcrumbs";
|
||||
import { ProfileHeader } from "@components/ProfileHeader/ProfileHeader";
|
||||
|
||||
import paymentIcon from "assets/icons/paymentIcon.png";
|
||||
// import paymentIcon from "assets/icons/paymentIcon.png";
|
||||
import settingIcon from "assets/icons/settingIcon.png";
|
||||
import summaryIcon from "assets/icons/summaryIcon.png";
|
||||
import timerIcon from "assets/icons/timerIcon.png";
|
||||
@ -100,17 +100,10 @@ export const Profile = () => {
|
||||
<div className="container">
|
||||
<ProfileBreadcrumbs links={[{ name: "Главная", link: "/profile" }]} />
|
||||
<h2 className="profile__title">
|
||||
{user === "developer" ? (
|
||||
<span>
|
||||
<p>Добрый день, </p>
|
||||
{profileInfo?.fio || profileInfo?.username}
|
||||
</span>
|
||||
) : (
|
||||
<span>
|
||||
<p>Добрый день, </p>
|
||||
{profileInfo?.fio || profileInfo?.username}
|
||||
</span>
|
||||
)}
|
||||
<span>
|
||||
<p>Добрый день, </p>
|
||||
{profileInfo?.fio || profileInfo?.username}
|
||||
</span>
|
||||
</h2>
|
||||
<div className="summary__info">
|
||||
<div className="summary__person">
|
||||
@ -122,14 +115,11 @@ export const Profile = () => {
|
||||
alt="avatar"
|
||||
/>
|
||||
<p className="summary__name">
|
||||
{user === "developer" ? (
|
||||
<span>
|
||||
{profileInfo?.fio || profileInfo?.username},{" "}
|
||||
{profileInfo?.specification} разработчик
|
||||
</span>
|
||||
) : (
|
||||
<span>{profileInfo?.fio || profileInfo?.username}</span>
|
||||
)}
|
||||
<span>
|
||||
{profileInfo?.fio || profileInfo?.username},
|
||||
{user === "developer" &&
|
||||
` ${profileInfo?.specification} разработчик`}
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user