import { Component } from '@angular/core';
import { Router } from '@angular/router'

@Component({
	selector: 'app-footer',
	templateUrl: './footer.component.html',
	styleUrls: ['./footer.component.sass']
})
export class FooterComponent {
	
	constructor(private router: Router) { }
	
	relativePos() {
		if (this.router.url === '/snippet/view')
			return true;
		else
			return false;
	}
	
}

import { Component } from '@angular/core';
import { Router } from '@angular/router'

@Component({
	selector: 'app-footer',
	templateUrl: './footer.component.html',
	styleUrls: ['./footer.component.sass']
})
export class FooterComponent {

	constructor(private router: Router) { }

	relativePos() {
		if (this.router.url === '/snippet/view' || this.router.url === '/sign-up')
			return true;
		else
			return false;
	}

}

Add another link to relativePos
Add another link to relativePos

