Remove footer from bisq docs
This commit is contained in:
		
							parent
							
								
									0cb21b7f89
								
							
						
					
					
						commit
						17883ca085
					
				@ -86,6 +86,6 @@
 | 
			
		||||
  <router-outlet></router-outlet>
 | 
			
		||||
</main>
 | 
			
		||||
 | 
			
		||||
<app-global-footer></app-global-footer>
 | 
			
		||||
<app-global-footer *ngIf="footerVisible"></app-global-footer>
 | 
			
		||||
 | 
			
		||||
<br>
 | 
			
		||||
 | 
			
		||||
@ -17,7 +17,7 @@ export class BisqMasterPageComponent implements OnInit {
 | 
			
		||||
  isMobile = window.innerWidth <= 767.98;
 | 
			
		||||
  urlLanguage: string;
 | 
			
		||||
  networkPaths: { [network: string]: string };
 | 
			
		||||
  footerVisible = false;
 | 
			
		||||
  footerVisible = true;
 | 
			
		||||
 | 
			
		||||
  constructor(
 | 
			
		||||
    private stateService: StateService,
 | 
			
		||||
@ -32,7 +32,9 @@ export class BisqMasterPageComponent implements OnInit {
 | 
			
		||||
    this.urlLanguage = this.languageService.getLanguageForUrl();
 | 
			
		||||
    this.navigationService.subnetPaths.subscribe((paths) => {
 | 
			
		||||
      this.networkPaths = paths;
 | 
			
		||||
      if( paths.bisq === "" ) {
 | 
			
		||||
      if (paths.mainnet.indexOf('docs') > -1) {
 | 
			
		||||
        this.footerVisible = false;
 | 
			
		||||
      } else {
 | 
			
		||||
        this.footerVisible = true;
 | 
			
		||||
      }
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user