Commit de75c1d018524f1b3ee9aee2168c4dfd46fb9429

Authored by Marcelo Puebla
1 parent 75797f36a6
Exists in master

Creado componente sidebar.

src/app/sidebar/sidebar.component.html
File was created 1 <div class="col-2 col-md-2 bg-dark text-white">
2 <div class="bg-dark py-1 py-sm-2 py-lg-5">
3 <p class="text-center">SIDEBAR</p>
4 </div>
5 </div>
src/app/sidebar/sidebar.component.scss
src/app/sidebar/sidebar.component.spec.ts
File was created 1 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2
3 import { SidebarComponent } from './sidebar.component';
4
5 describe('SidebarComponent', () => {
6 let component: SidebarComponent;
7 let fixture: ComponentFixture<SidebarComponent>;
8
9 beforeEach(async(() => {
10 TestBed.configureTestingModule({
11 declarations: [SidebarComponent]
12 })
13 .compileComponents();
14 }));
15
16 beforeEach(() => {
17 fixture = TestBed.createComponent(SidebarComponent);
18 component = fixture.componentInstance;
19 fixture.detectChanges();
20 });
21
22 it('should create', () => {
23 expect(component).toBeTruthy();
24 });
25 });
26
src/app/sidebar/sidebar.component.ts
File was created 1 import { Component, OnInit } from '@angular/core';
2
3 @Component({
4 selector: 'app-sidebar',
5 templateUrl: './sidebar.component.html',
6 styleUrls: ['./sidebar.component.scss']
7 })
8 export class SidebarComponent implements OnInit {
9
10 constructor() { }
11
12 ngOnInit() {
13 }
14
15 }
16