Pages are now grouped per group they appear in on in the header (where possible) Utilities used by multiple pages in the project are grouped in folders such as services/pipes/etc
28 lines
665 B
TypeScript
28 lines
665 B
TypeScript
import {Component} from '@angular/core';
|
|
import {ScrollService} from '@services/scroll.service';
|
|
import {CommonModule} from '@angular/common';
|
|
import {HeaderComponent} from '@header/header.component';
|
|
import {RouterLink} from '@angular/router';
|
|
|
|
@Component({
|
|
standalone: true,
|
|
imports: [
|
|
CommonModule,
|
|
HeaderComponent,
|
|
RouterLink
|
|
],
|
|
selector: 'app-rules',
|
|
templateUrl: './rules.component.html',
|
|
styleUrl: './rules.component.scss'
|
|
})
|
|
export class RulesComponent {
|
|
showExceptions: boolean = false;
|
|
|
|
constructor(public scrollService: ScrollService) {
|
|
}
|
|
|
|
public toggleExceptions() {
|
|
this.showExceptions = !this.showExceptions;
|
|
}
|
|
}
|