Compare commits

..

6 Commits

Author SHA1 Message Date
MaxOvs19
1e950e9de0 Merge branch 'main' of https://git.itguild.info/apuc/guild_front into fixed/components 2024-04-02 20:04:21 +03:00
Victor Batischev
a3bcfc7cf7 fix 2024-04-02 18:29:29 +03:00
Victor Batischev
140d4689fe fix project cards 2024-04-02 18:29:03 +03:00
kirill boyko
b19e00d98f Merge branch 'main' of https://git.itguild.info/apuc/guild_front into main 2024-04-02 17:48:38 +03:00
kirill boyko
9a0364e686 com 2024-03-31 20:40:54 +03:00
kirill boyko
f76e448951 commuit 2024-03-19 16:45:30 +03:00
5 changed files with 17 additions and 18 deletions

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 {