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