Standardize coding style and formatting across the project
Updated codebase to follow consistent styling for spacing, braces, and indentation. Changes improve readability and align with standardized conventions throughout SCSS, TypeScript, and HTML files.
This commit is contained in:
@@ -9,7 +9,7 @@ import {Router} from '@angular/router';
|
||||
templateUrl: './app.component.html',
|
||||
styleUrl: './app.component.scss',
|
||||
})
|
||||
export class AppComponent implements OnInit{
|
||||
export class AppComponent implements OnInit {
|
||||
title = 'Survival Minecraft Server on ' + ALTITUDE_VERSION + '! | Altitude Community';
|
||||
title_og = 'Community-centered ' + ALTITUDE_VERSION + ' Survival Minecraft Server';
|
||||
description = 'Start your adventure today! We are a ' +
|
||||
@@ -28,11 +28,11 @@ export class AppComponent implements OnInit{
|
||||
|
||||
ngOnInit(): void {
|
||||
this.titleService.setTitle(this.title)
|
||||
this.metaService.updateTag({ name: 'description', content: this.description});
|
||||
this.metaService.updateTag({ name: 'twitter:description', content: this.description_og})
|
||||
this.metaService.updateTag({ name: 'og:title', content: this.title_og})
|
||||
this.metaService.updateTag({ name: 'og:description', content: this.description_og})
|
||||
this.metaService.updateTag({ name: 'keywords', content: this.keywords})
|
||||
this.metaService.updateTag({name: 'description', content: this.description});
|
||||
this.metaService.updateTag({name: 'twitter:description', content: this.description_og})
|
||||
this.metaService.updateTag({name: 'og:title', content: this.title_og})
|
||||
this.metaService.updateTag({name: 'og:description', content: this.description_og})
|
||||
this.metaService.updateTag({name: 'keywords', content: this.keywords})
|
||||
}
|
||||
|
||||
public isHomePage(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user