Integrate ScrollService into multiple components.

This commit is contained in:
Teriuihi 2025-04-06 17:27:22 +02:00
parent 85c73c22c8
commit d006a47cf3
6 changed files with 18 additions and 6 deletions

View File

@ -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) {
}
}

View File

@ -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) {
}
}

View File

@ -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) {
}
}

View File

@ -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) {
}
}

View File

@ -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) {
}
}

View File

@ -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) {
}
}