import { Usuario } from 'src/app/shared/models';
import { ActivatedRoute } from '@angular/router';
import { AuthenticationService } from 'src/app/core/_services';
import { Router } from '@angular/router';
import { Component, Input, OnInit } from '@angular/core';
import {NavbarService} from "@services/navbar.service";

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

  @Input() currentUser: Usuario;


  constructor(private authenticationService: AuthenticationService,
              private router:Router) {}


  ngOnInit() {
  }

  home(){
    this.router.navigate(['']);
  }



}
