This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "../../../../assets/css/abstracts/_mixins.scss"; | |
@import "../../../../assets/css/abstracts/_variables.scss"; | |
:host { | |
position: relative; | |
display: block; | |
.slider-wrapper { | |
overflow: hidden; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from '@angular/core'; | |
import { | |
HttpRequest, | |
HttpResponse, | |
HttpHandler, | |
HttpEvent, | |
HttpInterceptor | |
} from '@angular/common/http'; | |
import { Router } from '@angular/router'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { PipeTransform, Pipe } from '@angular/core'; | |
@Pipe({ name: 'keys' }) | |
export class KeysPipe implements PipeTransform { | |
transform(value, args: string[]): any { | |
let keys = []; | |
// tslint:disable-next-line:forin | |
for (let key in value) { | |
keys.push(key); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################# ROBOTS.TXT ################################### | |
# Updates can be retrieved from: https://github.com/jonasjacek/robots.txt # | |
# This document is licensed with a CC BY-NC-SA 4.0 license. # | |
# Last update: 2019-03-07 # | |
################################################################################ | |
Sitemap: (https://website/sitemap.xml) | |
User-agent: 360Spider | |
User-agent: 360Spider-Image | |
User-agent: 360Spider-Video |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from '@angular/core'; | |
@Injectable() | |
export class POIService { | |
// LEFT, BOTTOM, RIGHT, TOP | |
private country_bounding_boxes = [ | |
{'AF': {'Afghanistan': [60.5284298033, 29.318572496, 75.1580277851, 38.4862816432]}}, | |
{'AO': {'Angola': [11.6400960629, -17.9306364885, 24.0799052263, -4.43802336998]}}, | |
{'AL': {'Albania': [19.3044861183, 39.624997667, 21.0200403175, 42.6882473822]}}, | |
{'AE': {'United Arab Emirates': [51.5795186705, 22.4969475367, 56.3968473651, 26.055464179]}}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TRANSLATE | |
import { TranslateService, LangChangeEvent } from '@ngx-translate/core'; | |
export class Component implements OnInit { | |
constructor(public meta: Meta, public title: Title, public translate: TranslateService) {} | |
ngOnInit(): void { | |
this.translate.onLangChange.subscribe((event: LangChangeEvent) => { | |
this.meta.updateTag( |