Compare commits

...

2 Commits

7 changed files with 27 additions and 8 deletions

View File

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

View File

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

View File

@ -193,8 +193,9 @@
chunkloaders are prohibited.</p> chunkloaders are prohibited.</p>
<p style="margin-bottom: 0;">We have a system in place to restrict the number of mobs that can be in a <p style="margin-bottom: 0;">We have a system in place to restrict the number of mobs that can be in a
certain area. Please do not try to circumvent this system. Additionally, mob grinder holding chambers must certain area. Please do not try to circumvent this system. Additionally, mob grinder holding chambers must
be either 1x1 or 1x2 blocks in size. <a style="cursor: pointer;" id="ruleButton">Show exceptions...</a></p> be either 1x1 or 1x2 blocks in size. <a style="cursor: pointer;" (click)="toggleExceptions()">Show
<ul id="exceptions" class="full-page-list hide"> exceptions...</a></p>
<ul id="exceptions" class="full-page-list" [ngClass]="{'hide': !showExceptions}">
<li>Magma kill chamber may be up to 3x3</li> <li>Magma kill chamber may be up to 3x3</li>
<li>Hoglin kill chamber may be up to 2x2</li> <li>Hoglin kill chamber may be up to 2x2</li>
<li>Enderman kill chamber may be up to 3x3</li> <li>Enderman kill chamber may be up to 3x3</li>

View File

@ -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,12 @@ import {Component} from '@angular/core';
styleUrl: './rules.component.scss' styleUrl: './rules.component.scss'
}) })
export class RulesComponent { export class RulesComponent {
scrollService: any; showExceptions: boolean = false;
constructor(public scrollService: ScrollService) {
}
public toggleExceptions() {
this.showExceptions = !this.showExceptions;
}
} }

View File

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

View File

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

View File

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