-
Notifications
You must be signed in to change notification settings - Fork 1
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
base: develop
Are you sure you want to change the base?
About #224
Conversation
src/app/app-routing.module.ts
Outdated
{path: 'festivals', component: FestivalsComponent}, | ||
{path: 'visit', component: VisitComponent}, | ||
{path: 'festivals/:slug', component: AboutMoreComponent}, | ||
// {path: ':personId', component: PersonComponent} |
There was a problem hiding this comment.
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.
src/app/app-routing.module.ts
Outdated
@@ -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} |
There was a problem hiding this comment.
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') { |
There was a problem hiding this comment.
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"> |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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"; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where are types;
No description provided.