Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About #224

Open
wants to merge 18 commits into
base: develop
Choose a base branch
from
Open

About #224

wants to merge 18 commits into from

Conversation

NatashaMelnik
Copy link
Contributor

No description provided.

{path: 'festivals', component: FestivalsComponent},
{path: 'visit', component: VisitComponent},
{path: 'festivals/:slug', component: AboutMoreComponent},
// {path: ':personId', component: PersonComponent}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete unused code or comment it.

@@ -53,9 +69,11 @@ const appRoutes: Routes = [
{path: 'administration/:slug', component: PersoneShowmoreComponent},
{path: 'creative/:slug', component: PersoneShowmoreComponent},
{path: 'artistic/:slug', component: PersoneShowmoreComponent},
{path: ':personId', component: PersonComponent}
// {path: ':personId', component: PersonComponent}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete unused code or comment it.


ngOnInit(): void {
if (this.PersonType) {
if (this.PersonType === 'epoch') {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this.PersonType && this.PersonType === 'epoch'

@@ -1,23 +1,76 @@
<div class="container">
<div class="myContainer">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why myContainer?

<ul class="myPoint" NguCarouselPoint>
<li
*ngFor="let j of myCarousel.pointNumbers;
let i = index"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

paddings!

<a class="item" routerLink="/persons/administration" routerLinkActive="active" i18n="@@administration">Administration</a>
<a class="item" id="creaive-header" #creaiveHeader [class]="selectedCreat" routerLink="/persons/creative" routerLinkActive="active" i18n="@@сreativeСomposition">Creative composition</a>
<a class="item" id="creaive-artistic" #artisticHeader [class]="selectedArt" routerLink="/persons/artistic" routerLinkActive="active" i18n="@@artisticComposition">Artistic composition</a>
<a class="item" id="creaive-administration" #administrationHeader [class]="selectedAdm" routerLink="/persons/administration" routerLinkActive="active" i18n="@@administration">Administration</a>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Write name in full version...

@@ -1,4 +1,5 @@
@import "~assets/styles/_variables";
@import "~assets/styles/aboutStyles";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file names - not camel case

padding-top: 16px;
background-color: $background-on-hover;
font-weight: $font-weight-semi-bold;
@include selectedI;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I? Why I?

}

.selected{
@include selectedI;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What?


@Component({
selector: 'app-persons-header',
templateUrl: './persons-header.component.html',
styleUrls: ['./persons-header.component.scss']
})
export class PersonsHeaderComponent implements OnInit {
@Input() PersonType;
selectedClass = 'selected';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where are types;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants