Skip to content

Commit 0cc1b76

Browse files
committed
Merge branch 'master' into kanban-board
2 parents 2e530f8 + 647e48e commit 0cc1b76

56 files changed

Lines changed: 681 additions & 228 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

projects/core/src/consts/filters/feed-filter.const.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const feedFilter = [
44
{
55
id: 1,
66
name: "новости проектов",
7-
value: "projects",
7+
value: "project",
88
icon: "projects",
99
},
1010
{

projects/skills/src/app/app.component.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
.app {
55
display: flex;
66
height: 100%;
7+
padding: 20px;
78
background-color: var(--light-gray);
89

910
&__wrapper {

projects/skills/src/app/profile/profile.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { InfoBlockComponent } from "./shared/info-block/info-block.component";
77
import { toSignal } from "@angular/core/rxjs-interop";
88
import { map } from "rxjs";
99
import { BarComponent } from "@ui/components";
10+
import { BarNewComponent } from "@ui/components/bar-new/bar.component";
1011

1112
/**
1213
* Основной компонент профиля пользователя
@@ -20,7 +21,7 @@ import { BarComponent } from "@ui/components";
2021
@Component({
2122
selector: "app-profile",
2223
standalone: true,
23-
imports: [CommonModule, RouterOutlet, InfoBlockComponent, BarComponent],
24+
imports: [CommonModule, RouterOutlet, InfoBlockComponent, BarComponent, BarNewComponent],
2425
templateUrl: "./profile.component.html",
2526
styleUrl: "./profile.component.scss",
2627
})

projects/skills/src/app/profile/shared/info-block/info-block.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ <h1 class="info__title">{{ userData.firstName }} {{ userData.lastName }}</h1>
4141
{{ userData.points }} {{ userData.points | pluralize: ["балл", "балла", "баллов"] }}
4242
</div>
4343
<a href="https://app.procollab.ru/office" class="info__return">
44-
<app-button customTypographyClass="text-body-14" size="big"
45-
>Вернуться на procollab.ru</app-button
44+
<app-button customTypographyClass="text-body-12" size="big"
45+
>вернуться на procollab.ru</app-button
4646
>
4747
</a>
4848
</div>

projects/skills/src/app/shared/task-card/task-card.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h4 class="task__title text-body-bold-18">{{ task.name }}</h4>
1515
</div>
1616
<div class="task__right">
1717
@if (!status?.isDone) {
18-
<app-button class="task__button">
18+
<app-button class="task__button" customTypographyClass="text-body-12" type="icon">
1919
<i appIcon icon="arrow-no-body" appSquare="20"></i>
2020
</app-button>
2121
} @else {

projects/skills/src/app/task/subtask/subtask.component.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
} }
3939

4040
<app-button size="big" (click)="onCloseModal()" [color]="'primary'" style="width: 100%"
41-
>Продолжить</app-button
41+
>продолжить</app-button
4242
>
4343
<img alt="wave" src="assets/images/task/wave_cropped.svg" class="cancel__wave" />
4444
</div>
@@ -75,7 +75,7 @@
7575
} }
7676

7777
<app-button size="big" (click)="onCloseModal()" [color]="'primary'" style="width: 100%"
78-
>Продолжить</app-button
78+
>продолжить</app-button
7979
>
8080
<img alt="wave" src="assets/images/task/wave_cropped.svg" class="cancel__wave" />
8181
</div>
@@ -122,7 +122,7 @@
122122
} }
123123

124124
<app-button size="big" (click)="onCloseModal()" [color]="'primary'" style="width: 100%"
125-
>Продолжить</app-button
125+
>продолжить</app-button
126126
>
127127
<img alt="wave" src="assets/images/task/wave_cropped.svg" class="cancel__wave" />
128128
</div>
@@ -169,7 +169,7 @@
169169
} }
170170

171171
<app-button size="big" (click)="onCloseModal()" [color]="'primary'" style="width: 100%"
172-
>Продолжить</app-button
172+
>продолжить</app-button
173173
>
174174
<img alt="wave" src="assets/images/task/wave_cropped.svg" class="cancel__wave" />
175175
</div>
@@ -216,7 +216,7 @@
216216
} }
217217

218218
<app-button size="big" (click)="onCloseModal()" [color]="'primary'" style="width: 100%"
219-
>Продолжить</app-button
219+
>продолжить</app-button
220220
>
221221
<img alt="wave" src="assets/images/task/wave_cropped.svg" class="cancel__wave" />
222222
</div>
@@ -226,13 +226,15 @@
226226
}
227227

228228
<div class="action">
229+
<app-button size="big" class="action__button" (click)="onNext()">продолжить</app-button>
230+
229231
<div class="action__error action__badge" [class.action__badge--open]="anyError()">
230-
Вышла неточность...
232+
<p class="text-body-12">вышла неточность...</p>
231233
</div>
234+
232235
<div class="action__success action__badge" [class.action__badge--open]="success()">
233-
Всё верно! Так держать
236+
<p class="text-body-12">всё верно! так держать</p>
234237
</div>
235-
<app-button size="big" class="action__button" (click)="onNext()">Продолжить</app-button>
236238
</div>
237239
</div>
238240
}

projects/skills/src/app/task/subtask/subtask.component.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
.action {
1818
position: relative;
19+
margin-top: 20px;
1920

2021
&__button {
2122
position: relative;
@@ -29,13 +30,16 @@
2930
bottom: 0;
3031
left: 0;
3132
display: flex;
33+
display: none;
3234
justify-content: center;
33-
padding: 15px 10px 0;
35+
padding: 12px 12px 35px;
36+
text-align: center;
3437
border-radius: var(--rounded-xl);
3538
transition: all 0.2s;
3639
transform: translateY(0%);
3740

3841
&--open {
42+
display: block;
3943
transform: translateY(-80%);
4044
}
4145
}

projects/skills/src/app/webinars/shared/webinar/webinar.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ <h3 class="text-heading-3">{{ webinar.title }}</h3>
1212
></p>
1313
@if (descriptionExpandable) {
1414
<div
15-
class="read-more"
15+
class="read-more text-body-10"
1616
(click)="onExpandDescription(descEl, 'expanded', readFullDescription)"
1717
>
18-
{{ readFullDescription ? "Скрыть" : "Читать полностью" }}
18+
{{ readFullDescription ? "скрыть" : "подробнее" }}
1919
</div>
2020
}
2121
</div>

projects/skills/src/styles/_colors.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
// GRAY
1919
--white: #fafafa;
20+
--light-white: #fff;
2021
--black: #333;
2122
--dark-grey: #e7e7e7;
2223
--gray: #d3d3d3;
@@ -27,9 +28,9 @@
2728
--grey-for-text: #a59fb9;
2829

2930
// FUNCTIONAL
30-
--green: #88c9a1;
31-
--light-green: #97ecb8;
32-
--red: #d48a9e;
31+
--green: #92e3a9;
32+
--light-green: #e3f8e9;
33+
--red: rgb(242 66 72 / 50%);
34+
--light-red: #ffd2d2;
3335
--red-dark: #{color.adjust(#d48a9e, $blackness: 10%)};
34-
--light-red: #e8a5b7;
3536
}

projects/skills/src/styles/_rounded.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
--rounded-md: 5px;
66
--rounded-lg: 8px;
77
--rounded-xl: 15px;
8+
--rounded-xxl: 45px;
89
}

0 commit comments

Comments
 (0)