
<div class="limiter">
  <div class="line">
    <h1>Панель управления</h1>
  </div>

  <!-- <div class="tabs default">
    <button type="button" *ngFor="let tab of tabs" [class.active]="tab.active" routerLink="/administrate/{{tab.name}}">{{tab.title}}</button>
  </div> -->
  <div class="limiter" [ngSwitch]="tab.name">
    <administrate-company *ngSwitchCase="'company'" [companyId]="'main'"></administrate-company>
    <administrate-committee *ngSwitchCase="'committee'"></administrate-committee>
    <administrate-site-pages *ngSwitchCase="'site-pages'"></administrate-site-pages>
    <p *ngSwitchDefault>Страница не найдена</p>
  </div>
</div>
