1
|
/**
|
2
|
* Created by stefania on 1/19/17.
|
3
|
*/
|
4
|
import { Component, OnInit } from '@angular/core';
|
5
|
|
6
|
@Component({
|
7
|
selector: 'footer',
|
8
|
templateUrl: './footer.component.html',
|
9
|
styleUrls: ['../../../assets/css/landingpage/theme.css','../../../assets/css/landingpage/custom.css','../../../assets/css/landingpage/custom-provide.css','./footer.component.css']
|
10
|
})
|
11
|
|
12
|
export class FooterComponent implements OnInit {
|
13
|
inBeta: boolean;
|
14
|
|
15
|
constructor() {}
|
16
|
|
17
|
ngOnInit() {
|
18
|
const baseUrl = window.location.origin;
|
19
|
this.inBeta = ( baseUrl.includes('beta') || baseUrl.includes('athenarc') );
|
20
|
}
|
21
|
|
22
|
}
|