<file_sep>import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';

@Component({
  selector: 'app-breadcrumb',
  templateUrl: './breadcrumb.component.html',
  styleUrls: ['./breadcrumb.component.scss']
})
export class BreadcrumbComponent implements OnInit {
  constructor(private router: Router) { }

  route: String = "/management"
  routeName: String = this.parseRoute(this.router.url)

  parseRoute(route: String): String {
    switch (route) { 
      case '/management':
        this.route = '/management'
        return '> Painel de Gestão'
        break;

      case '/account':
        this.route = '/account'
        return '> Conta Digital'
        break;
      
      case '/anticipation':
        this.route = '/anticipation'
        return '> Ant. de Recebíveis'
        break;
    }
  }
  ngOnInit() {
  }

}
<file_sep>import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router';

import { DashboardManagementComponent } from '../views/dashboard-management/dashboard-management.component';
import { DigitalAccountComponent } from '../views/digital-account/digital-account.component';
import { AnticipationOfReceivablesComponent } from '../views/anticipation-of-receivables/anticipation-of-receivables.component';

const routes: Routes = [
  {
    path: '',
    redirectTo: 'management',
    pathMatch: 'full'
  },

  {
    path: 'management',
    component: DashboardManagementComponent
  },

  {
    path: 'account',
    component: DigitalAccountComponent
  },

  {
    path: 'anticipation',
    component: AnticipationOfReceivablesComponent
  }
]

@NgModule({
  imports: [
    CommonModule,
    RouterModule.forRoot(routes)
  ],
  exports: [ RouterModule ]
})
export class AppRoutingModule { }
<file_sep>import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-header',
  templateUrl: './header.component.html',
  styleUrls: ['./header.component.scss']
})
export class HeaderComponent implements OnInit {

  constructor() { }

  ngOnInit() {
  }

  openSelect() {
    const select = document.getElementById('select')
    select.click();
  }

  logo = require('src/assets/images/logo.png')
  user = require('src/assets/images/user.png')
  bell = require('src/assets/images/bell.png')
  arrows = require('src/assets/images/down-icon.png')
}
<file_sep>import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';

import { AppComponent } from './app.component';

import { AppRoutingModule } from './router/app-routing.module';

import { SidenavComponent } from './components/sidenav/sidenav.component';
import { DashboardManagementComponent } from './views/dashboard-management/dashboard-management.component'
import { DigitalAccountComponent } from './views/digital-account/digital-account.component';
import { AnticipationOfReceivablesComponent } from './views/anticipation-of-receivables/anticipation-of-receivables.component';
import { HeaderComponent } from './components/header/header.component';
import { BreadcrumbComponent } from './components/breadcrumb/breadcrumb.component';
import { ShortcutsComponent } from './components/shortcuts/shortcuts.component';
import { AlertsComponent } from './components/alerts/alerts.component';

@NgModule({
  declarations: [
    AppComponent,
    SidenavComponent,
    DashboardManagementComponent,
    DigitalAccountComponent,
    AnticipationOfReceivablesComponent,
    HeaderComponent,
    BreadcrumbComponent,
    ShortcutsComponent,
    AlertsComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    AppRoutingModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
<file_sep>import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-anticipation-of-receivables',
  templateUrl: './anticipation-of-receivables.component.html',
  styleUrls: ['./anticipation-of-receivables.component.scss']
})
export class AnticipationOfReceivablesComponent implements OnInit {

  constructor() { }

  ngOnInit() {
  }

}
