/* * TODO * I think we need to store our header, footer, * sedibars and etc. separetly, each in it's own * component. * * And of course we need to make this layout part * reusable. * */ import { Component } from '@angular/core'; import { NgaSidebarService } from '@nga/theme/components/sidebar/sidebar.service'; @Component({ selector: 'one-coll-layout', styleUrls: ['./one-coll.layout.scss'], template: `
`, }) export class OneCollLayoutComponent { constructor(private sidebarService: NgaSidebarService) { } toggleSidebar() { this.sidebarService.toggle(true); } }