fixed/components #31

Merged
MaxOvs19 merged 11 commits from fixed/components into main 2024-04-15 21:11:58 +03:00
5 changed files with 17 additions and 18 deletions
Showing only changes of commit 1e950e9de0 - Show all commits

4
package-lock.json generated
View File

@ -1,5 +1,9 @@
{ {
<<<<<<< HEAD
"name": "itguild.info",
=======
"name": "outstaffing-react", "name": "outstaffing-react",
>>>>>>> 42b597d58589cfa47890a35c06fd651fc654742a
"version": "0.1.0", "version": "0.1.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,

View File

@ -286,15 +286,15 @@ export const ProfileCalendarComponent = React.memo(
? `${getCorrectDate(startDate)} - ${getCorrectDate(endDate)}` ? `${getCorrectDate(startDate)} - ${getCorrectDate(endDate)}`
: `${getCorrectDate(endDate)} - ${getCorrectDate(startDate)}` : `${getCorrectDate(endDate)} - ${getCorrectDate(startDate)}`
: activePeriod : activePeriod
? "Выберите диапазон на календаре" ? "Выберите диапазон на календаре"
: "Выбрать диапазон"} : "Выбрать диапазон"}
</span> </span>
<span> <span>
{totalRangeHours {totalRangeHours
? `${totalRangeHours} ${hourOfNum(totalRangeHours)}` ? `${totalRangeHours} ${hourOfNum(totalRangeHours)}`
: endDate : endDate
? "0 часов" ? "0 часов"
: ""} : ""}
</span> </span>
{endDate && ( {endDate && (
<BaseButton <BaseButton

View File

@ -108,17 +108,9 @@ export const ProjectTicket = ({ project, index }) => {
</div> </div>
</Link> </Link>
{/* <Link <Link to={`/profile/statistics/${project.id}`} className="project-stats">
to={`/profile/statistics/${project.id}`}
className="project__statistics"
>
Посмотреть статистику Посмотреть статистику
</Link> */} </Link>
<span className="project-stats" onClick={() => {}}>
Просмотреть <br />
статистику проекта
</span>
<span <span
className="menu-settings" className="menu-settings"

View File

@ -3,7 +3,7 @@
flex-direction: column; flex-direction: column;
position: relative; position: relative;
width: 22%; width: 22%;
height: 170px; height: 140px;
background: #f1f1f1; background: #f1f1f1;
border-radius: 12px; border-radius: 12px;
@ -90,7 +90,7 @@
color: #678eda; color: #678eda;
position: absolute; position: absolute;
left: 18px; left: 18px;
bottom: 10px; bottom: 16px;
} }
.menu-settings { .menu-settings {

View File

@ -130,7 +130,6 @@
row-gap: 30px; row-gap: 30px;
display: none; display: none;
align-items: center; align-items: center;
justify-content: center;
@media (max-width: 785px) { @media (max-width: 785px) {
row-gap: 25px; row-gap: 25px;
@ -163,7 +162,7 @@
.create-project-btn { .create-project-btn {
width: 22%; width: 22%;
height: 170px; height: 140px;
border-radius: 12px; border-radius: 12px;
background: #ecf8e5; background: #ecf8e5;
color: #000000; color: #000000;
@ -191,6 +190,10 @@
img { img {
margin: 0 20px 0 0; margin: 0 20px 0 0;
} }
p {
text-align: left;
}
} }
&:hover { &:hover {