registration

This commit is contained in:
Mikola
2023-11-05 20:42:03 +03:00
parent 321b84a80e
commit 59fde487ea
6 changed files with 29 additions and 15 deletions

View File

@ -22,8 +22,9 @@ import { Navigation } from "@components/Navigation/Navigation";
import { ProfileBreadcrumbs } from "@components/ProfileBreadcrumbs/ProfileBreadcrumbs";
import { ProfileHeader } from "@components/ProfileHeader/ProfileHeader";
import { ProfileCalendarComponent } from "./ProfileCalendarComponent";
import avatarMok from "assets/images/avatarMok.png";
import { ProfileCalendarComponent } from "./ProfileCalendarComponent";
import "./profileCalendar.scss";
export const ProfileCalendar = () => {
@ -95,14 +96,15 @@ export const ProfileCalendar = () => {
<div className="summary__info">
<div className="summary__person">
<img
src={
profileInfo?.photo ? urlForLocal(profileInfo.photo) : avatarMok
}
src={
profileInfo?.photo ? urlForLocal(profileInfo.photo) : avatarMok
}
className="summary__avatar"
alt="avatar"
/>
<p className="summary__name">
{profileInfo?.fio ? profileInfo?.fio : profileInfo?.username}, {profileInfo.specification} разработчик
{profileInfo?.fio ? profileInfo?.fio : profileInfo?.username},{" "}
{profileInfo.specification} разработчик
</p>
</div>
<Link to="/report">