Skip to content

Commit eb9079e

Browse files
committed
change naming in modal of program & change new project card design
1 parent 0f91c2a commit eb9079e

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

projects/social_platform/src/app/office/feed/shared/new-project/new-project.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<div class="card">
44
<h3 class="card__title title">
5-
<span>Добро пожаловать</span>
5+
<span>Добро пожаловать на платформу!</span>
66
<a class="card__link" [routerLink]="['/office/projects/', feedItem.id]">{{ feedItem.name }}</a>
77
</h3>
88
<app-avatar
@@ -11,15 +11,15 @@ <h3 class="card__title title">
1111
[url]="feedItem.imageAddress"
1212
[hasBorder]="true"
1313
></app-avatar>
14-
<p class="card__text">
14+
<!-- <p class="card__text">
1515
Команда {{ feedItem.name }} искренне поддерживает Вас в творческом начинании! Мы готовы оказать
1616
всю необходимую помощь для успешного воплощения вашего проекта
1717
</p>
18-
<p class="card__description text-body-14">{{ feedItem.shortDescription }}</p>
18+
<p class="card__description text-body-14">{{ feedItem.shortDescription }}</p> -->
1919
<app-button
2020
class="card__button"
2121
customTypographyClass="text-body-12"
2222
(click)="router.navigateByUrl('/office/projects/' + feedItem.id)"
23-
>Перейти в проект</app-button
23+
>Посмотреть проект</app-button
2424
>
2525
</div>

projects/social_platform/src/app/office/feed/shared/new-project/new-project.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
}
3131

3232
&__avatar {
33-
margin: 5px 0;
33+
margin: 15px 0;
3434
}
3535

3636
&__text {

projects/social_platform/src/app/office/program/detail/main/main.component.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,9 @@ <h3 class="links__title text-bold-body-16">Материалы</h3>
173173
<div class="cancel" style="width: 500px; padding: 40px 0px 40px">
174174
<div class="cancel__top">
175175
<i appIcon icon="cross" class="cancel__cross" (click)="closeModal()"></i>
176-
<p class="cancel__title text-bold-body-16">Ошибка в доступе к программе!</p>
176+
<p class="cancel__title text-bold-body-16">
177+
Вы не являетесь экспертом или организатором программы!
178+
</p>
177179
</div>
178180

179181
@if (showProgramModalErrorMessage()) {

0 commit comments

Comments
 (0)