Skip to content

Commit 66bb77f

Browse files
committed
fix design in onboarding & skills trajectory
1 parent 120e2ca commit 66bb77f

11 files changed

Lines changed: 62 additions & 57 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ export class AppComponent implements OnInit {
3737
title = "skills";
3838
navItems = [
3939
// { name: "Навыки", icon: "lib", link: "skills" },
40+
{ name: "Старт в карьеру", icon: "trackcar", link: "trackCar" },
41+
{ name: "Траектории", icon: "receipt", link: "subscription" },
4042
{ name: "Рейтинг", icon: "growth", link: "rating" },
41-
{ name: "Подписка", icon: "receipt", link: "subscription" },
4243
// { name: "Траектория бизнеса", icon: "trackbuss", link: "trackBuss" },
43-
{ name: "Траектория карьеры", icon: "trackcar", link: "trackCar" },
4444
// { name: "Вебинары", icon: "webinars", link: "webinars" },
4545
];
4646

projects/skills/src/app/profile/shared/personal-skill-card/personal-skill-card.component.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
&__name {
2424
color: var(--black);
25-
text-decoration: underline;
2625

2726
@include typography.heading-4;
2827

projects/skills/src/app/profile/shared/skills-block/skills-block.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.skills {
55
&__main {
66
position: relative;
7-
min-height: 235px;
7+
min-height: 345px;
88
padding: 20px;
99
margin-bottom: 18px;
1010
background-color: var(--white);

projects/skills/src/app/trajectories/track-career/detail/info/info.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
flex-direction: column;
165165
align-items: center;
166166
justify-content: space-between;
167-
padding: 10px;
167+
padding: 10px 25px;
168168
background-color: var(--white);
169169
border: 1px solid var(--grey-button);
170170
border-radius: 15px;

projects/skills/src/app/trajectories/track-career/shared/trajectory/trajectory.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ <h4 class="confirm__title text-heading-4">У вас уже есть активн
218218
customTypographyClass="text-body-12"
219219
[color]="'grey'"
220220
style="width: 100%"
221-
(click)="activatedModalOpen.set(false)"
222-
>Назад</app-button
221+
(click)="onCloseModalActiveTrajectory()"
222+
>Перейти</app-button
223223
>
224224
</div>
225225
</div>

projects/skills/src/app/trajectories/track-career/shared/trajectory/trajectory.component.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,11 @@ export class TrajectoryComponent implements AfterViewInit, OnInit {
137137
});
138138
}
139139

140+
onCloseModalActiveTrajectory() {
141+
this.activatedModalOpen.set(false);
142+
this.router.navigate(["/trackCar/my"]);
143+
}
144+
140145
onExpandDescription(elem: HTMLElement, expandedClass: string, isExpanded: boolean): void {
141146
expandElement(elem, expandedClass, isExpanded);
142147
this.readFullDescription = !isExpanded;

projects/social_platform/src/app/auth/register/register.component.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ <h3 class="auth__title auth__title--register">
1010
</ng-container>
1111
} @else if (step === "info") {
1212
<ng-container>
13-
PROCOLLAB - это не только платформа, но и сообщество самых заряженных школьников и студентов
13+
PROCOLLAB — твой путь к первой работе, давай начнем создавать твое первое резюме прямо
14+
сейчас
1415
</ng-container>
1516
}
1617
</h3>
@@ -19,7 +20,7 @@ <h3 class="auth__title auth__title--register">
1920
<ng-container> Для регистрации введите данные </ng-container>
2021
} @else if (step === "info") {
2122
<ng-container>
22-
Начни заполнять данные, которые в дальнейшем станут основой твоего резюме
23+
<!-- Начни заполнять данные, которые в дальнейшем станут основой твоего резюме -->
2324
</ng-container>
2425
}
2526
</p>
@@ -253,7 +254,7 @@ <h3 class="auth__title auth__title--register">
253254
<app-button type="submit" class="auth__button" customTypographyClass="auth__button-typography">
254255
Далее
255256
</app-button>
256-
} @else if ("info") {
257+
} @else if (step === "info") {
257258
<app-button [loader]="registerIsSubmitting" type="submit" class="auth__button">
258259
Создать аккаунт
259260
</app-button>

projects/social_platform/src/app/office/onboarding/stage-one/stage-one.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<div class="page">
44
<div class="auth__greeting">
5-
<h3 class="auth__title">Заполни данные о своей специальности</h3>
5+
<h3 class="auth__title">Кем хочешь работать?</h3>
66
<!-- <p class="auth__info">
77
Для того, чтобы участники понимали с кем общаются и платформа могла рекомендовать тебя на
88
самые подходящие вакансии

projects/social_platform/src/app/office/onboarding/stage-two/stage-two.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<div class="page">
44
<div class="auth__greeting">
5-
<h3 class="auth__title">Заполни данные о своих навыках</h3>
5+
<h3 class="auth__title">Расскажи, что умеешь</h3>
66
<!-- <p class="auth__info">
77
Для того, чтобы участники понимали с кем общаются и платформа могла рекомендовать тебя на
88
самые подходящие вакансии

projects/social_platform/src/app/office/onboarding/stage-zero/stage-zero.component.html

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,8 @@
33
@if (profile) {
44
<div class="page">
55
<div class="auth__greeting">
6-
<h3 class="auth__title">
7-
Добро пожаловать, {{ profile.firstName }} {{ profile.lastName }}! ✌️
8-
</h3>
9-
<p class="auth__info">
10-
Заполни уточняющие данные о себе, которые помогут сформировать сильное резюме и будут отражать
11-
твой опыт.
12-
</p>
6+
<h3 class="auth__title">Привет, {{ profile.firstName }} {{ profile.lastName }}! ✌️</h3>
7+
<p class="auth__info">Расскажи о себе, чтобы твое резюме было сильным и отражало твой опыт.</p>
138
</div>
149
<form [formGroup]="stageForm" class="page__form" (submit)="onSubmit()">
1510
<div class="page__first-row">
@@ -35,7 +30,7 @@ <h3 class="auth__title">
3530
id="city"
3631
[error]="city | controlError"
3732
type="text"
38-
placeholder="Откуда ты"
33+
placeholder="Где живешь?"
3934
formControlName="city"
4035
></app-input>
4136
@if (city | controlError: "required") {
@@ -50,6 +45,25 @@ <h3 class="auth__title">
5045
<div class="page__first-row">
5146
<p class="text-bold-body-14">Образование</p>
5247

48+
@if (stageForm.get("educationLevel"); as educationLevel) {
49+
<fieldset>
50+
<label for="educationLevel" class="field-label">Уровень образования</label>
51+
<app-select
52+
[selectedId]="selectedEducationLevelId()"
53+
formControlName="educationLevel"
54+
placeholder="Высшее образование-магистратура"
55+
[options]="educationLevelList"
56+
>
57+
<i appIcon icon="arrow-no-body" appSquare="32"></i>
58+
</app-select>
59+
@if (educationLevel | controlError: "required") {
60+
<div class="text-body-14 error">
61+
{{ errorMessage.VALIDATION_REQUIRED }}
62+
</div>
63+
}
64+
</fieldset>
65+
}
66+
5367
<div class="page__years">
5468
@if (stageForm.get("entryYear"); as entryYear) {
5569
<fieldset class="years__left">
@@ -94,7 +108,7 @@ <h3 class="auth__title">
94108
id="organizationName"
95109
[error]="organizationName | controlError"
96110
type="text"
97-
placeholder="вуз / коллежд / школа"
111+
placeholder="вуз / колледж / школа"
98112
formControlName="organizationName"
99113
></app-input>
100114
@if (organizationName | controlError: "required") {
@@ -103,23 +117,6 @@ <h3 class="auth__title">
103117
</div>
104118
}
105119
</fieldset>
106-
} @if (stageForm.get("educationLevel"); as educationLevel) {
107-
<fieldset>
108-
<label for="educationLevel" class="field-label">Уровень образования</label>
109-
<app-select
110-
[selectedId]="selectedEducationLevelId()"
111-
formControlName="educationLevel"
112-
placeholder="Высшее образование-магистратура"
113-
[options]="educationLevelList"
114-
>
115-
<i appIcon icon="arrow-no-body" appSquare="32"></i>
116-
</app-select>
117-
@if (educationLevel | controlError: "required") {
118-
<div class="text-body-14 error">
119-
{{ errorMessage.VALIDATION_REQUIRED }}
120-
</div>
121-
}
122-
</fieldset>
123120
} @if (stageForm.get("educationStatus"); as educationStatus) {
124121
<fieldset>
125122
<label for="educationStatus" class="field-label">Должность</label>
@@ -139,7 +136,7 @@ <h3 class="auth__title">
139136
</fieldset>
140137
} @if (stageForm.get("description"); as description) {
141138
<fieldset class="page__field">
142-
<label for="description" class="field-label">Краткое описание</label>
139+
<label for="description" class="field-label">Профиль обучения</label>
143140
<app-input
144141
id="description"
145142
[error]="description | controlError"
@@ -203,6 +200,25 @@ <h3 class="auth__title">
203200

204201
<div class="page__first-row">
205202
<p class="text-bold-body-14">Место работы</p>
203+
204+
@if (stageForm.get("organizationNameWork"); as organizationNameWork) {
205+
<fieldset>
206+
<label for="organizationNameWork" class="field-label">Название</label>
207+
<app-input
208+
id="organizationNameWork"
209+
[error]="organizationNameWork | controlError"
210+
type="text"
211+
placeholder="Проколлаб"
212+
formControlName="organizationNameWork"
213+
></app-input>
214+
@if (organizationNameWork | controlError: "required") {
215+
<div class="text-body-14 error">
216+
{{ errorMessage.VALIDATION_REQUIRED }}
217+
</div>
218+
}
219+
</fieldset>
220+
}
221+
206222
<div class="page__years">
207223
@if (stageForm.get("entryYearWork"); as entryYearWork) {
208224
<fieldset class="years__left">
@@ -243,23 +259,7 @@ <h3 class="auth__title">
243259
}
244260
</div>
245261

246-
@if (stageForm.get("organizationNameWork"); as organizationNameWork) {
247-
<fieldset>
248-
<label for="organizationNameWork" class="field-label">Название</label>
249-
<app-input
250-
id="organizationNameWork"
251-
[error]="organizationNameWork | controlError"
252-
type="text"
253-
placeholder="Проколлаб"
254-
formControlName="organizationNameWork"
255-
></app-input>
256-
@if (organizationNameWork | controlError: "required") {
257-
<div class="text-body-14 error">
258-
{{ errorMessage.VALIDATION_REQUIRED }}
259-
</div>
260-
}
261-
</fieldset>
262-
} @if (stageForm.get("jobPosition"); as jobPosition) {
262+
@if (stageForm.get("jobPosition"); as jobPosition) {
263263
<fieldset>
264264
<label for="jobPosition" class="field-label">Должность</label>
265265
<app-input

0 commit comments

Comments
 (0)