Compare commits
No commits in common. "b256b9f66bd7c3328e2aa8c8f72073c1f007bb53" and "d4e231f67bfdecfd1d45fb44f4a43353068deba5" have entirely different histories.
b256b9f66b
...
d4e231f67b
|
|
@ -1,4 +1,4 @@
|
|||
import {Component} from '@angular/core';
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
import {ScrollService} from '../scroll/scroll.service';
|
||||
|
||||
@Component({
|
||||
|
|
@ -7,7 +7,11 @@ import {ScrollService} from '../scroll/scroll.service';
|
|||
templateUrl: './about.component.html',
|
||||
styleUrl: './about.component.scss'
|
||||
})
|
||||
export class AboutComponent {
|
||||
export class AboutComponent implements OnInit {
|
||||
constructor(public scrollService: ScrollService) {
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
this.scrollService.scrollToTop();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,9 +45,7 @@ const routes: Routes = [
|
|||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
RouterModule.forRoot(routes, {
|
||||
scrollPositionRestoration: 'enabled',
|
||||
}),
|
||||
RouterModule.forRoot(routes),
|
||||
NgOptimizedImage,
|
||||
CopyIpComponent,
|
||||
],
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import {Component} from '@angular/core';
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
import {ScrollService} from '../scroll/scroll.service';
|
||||
|
||||
@Component({
|
||||
|
|
@ -7,8 +7,12 @@ import {ScrollService} from '../scroll/scroll.service';
|
|||
templateUrl: './privacy.component.html',
|
||||
styleUrl: './privacy.component.scss'
|
||||
})
|
||||
export class PrivacyComponent {
|
||||
export class PrivacyComponent implements OnInit {
|
||||
constructor(public scrollService: ScrollService) {
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
this.scrollService.scrollToTop();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import {Component} from '@angular/core';
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
import {ScrollService} from '../scroll/scroll.service';
|
||||
|
||||
@Component({
|
||||
|
|
@ -7,7 +7,11 @@ import {ScrollService} from '../scroll/scroll.service';
|
|||
templateUrl: './team.component.html',
|
||||
styleUrl: './team.component.scss'
|
||||
})
|
||||
export class TeamComponent {
|
||||
export class TeamComponent implements OnInit {
|
||||
constructor(public scrollService: ScrollService) {
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
this.scrollService.scrollToTop();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import {Component} from '@angular/core';
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
import {ScrollService} from '../scroll/scroll.service';
|
||||
|
||||
@Component({
|
||||
|
|
@ -7,8 +7,12 @@ import {ScrollService} from '../scroll/scroll.service';
|
|||
templateUrl: './terms.component.html',
|
||||
styleUrl: './terms.component.scss'
|
||||
})
|
||||
export class TermsComponent {
|
||||
export class TermsComponent implements OnInit {
|
||||
constructor(public scrollService: ScrollService) {
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
this.scrollService.scrollToTop();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user