Integrate ScrollService into multiple components.
This commit is contained in:
parent
85c73c22c8
commit
d006a47cf3
|
|
@ -1,4 +1,5 @@
|
||||||
import {Component} from '@angular/core';
|
import {Component} from '@angular/core';
|
||||||
|
import {ScrollService} from '../scroll/scroll.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-about',
|
selector: 'app-about',
|
||||||
|
|
@ -7,5 +8,6 @@ import {Component} from '@angular/core';
|
||||||
styleUrl: './about.component.scss'
|
styleUrl: './about.component.scss'
|
||||||
})
|
})
|
||||||
export class AboutComponent {
|
export class AboutComponent {
|
||||||
scrollService: any;
|
constructor(public scrollService: ScrollService) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import {Component} from '@angular/core';
|
import {Component} from '@angular/core';
|
||||||
|
import {ScrollService} from '../scroll/scroll.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-privacy',
|
selector: 'app-privacy',
|
||||||
|
|
@ -7,6 +8,7 @@ import {Component} from '@angular/core';
|
||||||
styleUrl: './privacy.component.scss'
|
styleUrl: './privacy.component.scss'
|
||||||
})
|
})
|
||||||
export class PrivacyComponent {
|
export class PrivacyComponent {
|
||||||
scrollService: any;
|
constructor(public scrollService: ScrollService) {
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import {Component} from '@angular/core';
|
import {Component} from '@angular/core';
|
||||||
|
import {ScrollService} from '../scroll/scroll.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
standalone: false,
|
standalone: false,
|
||||||
|
|
@ -7,5 +8,6 @@ import {Component} from '@angular/core';
|
||||||
styleUrl: './rules.component.scss'
|
styleUrl: './rules.component.scss'
|
||||||
})
|
})
|
||||||
export class RulesComponent {
|
export class RulesComponent {
|
||||||
scrollService: any;
|
constructor(public scrollService: ScrollService) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import {Component} from '@angular/core';
|
import {Component} from '@angular/core';
|
||||||
|
import {ScrollService} from '../scroll/scroll.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-socials',
|
selector: 'app-socials',
|
||||||
|
|
@ -7,5 +8,6 @@ import {Component} from '@angular/core';
|
||||||
styleUrl: './socials.component.scss'
|
styleUrl: './socials.component.scss'
|
||||||
})
|
})
|
||||||
export class SocialsComponent {
|
export class SocialsComponent {
|
||||||
scrollService: any;
|
constructor(public scrollService: ScrollService) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import {Component} from '@angular/core';
|
import {Component} from '@angular/core';
|
||||||
|
import {ScrollService} from '../scroll/scroll.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-team',
|
selector: 'app-team',
|
||||||
|
|
@ -7,5 +8,6 @@ import {Component} from '@angular/core';
|
||||||
styleUrl: './team.component.scss'
|
styleUrl: './team.component.scss'
|
||||||
})
|
})
|
||||||
export class TeamComponent {
|
export class TeamComponent {
|
||||||
scrollService: any;
|
constructor(public scrollService: ScrollService) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import {Component} from '@angular/core';
|
import {Component} from '@angular/core';
|
||||||
|
import {ScrollService} from '../scroll/scroll.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-terms',
|
selector: 'app-terms',
|
||||||
|
|
@ -7,6 +8,7 @@ import {Component} from '@angular/core';
|
||||||
styleUrl: './terms.component.scss'
|
styleUrl: './terms.component.scss'
|
||||||
})
|
})
|
||||||
export class TermsComponent {
|
export class TermsComponent {
|
||||||
scrollService: any;
|
constructor(public scrollService: ScrollService) {
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user