diff --git a/src/app/navbar/navbar.css b/src/app/navbar/navbar.css new file mode 100644 index 0000000..4342c64 --- /dev/null +++ b/src/app/navbar/navbar.css @@ -0,0 +1,15 @@ +nav .navbar { + width: 100%; + height: max-content; + + display: flex; + flex-direction: row; + align-items: center; + + padding: 1.5rem; + +} + +span .navbar-title { + display: block; +} \ No newline at end of file diff --git a/src/app/navbar/navbar.html b/src/app/navbar/navbar.html new file mode 100644 index 0000000..1a991d3 --- /dev/null +++ b/src/app/navbar/navbar.html @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/src/app/navbar/navbar.spec.ts b/src/app/navbar/navbar.spec.ts new file mode 100644 index 0000000..6c5e78a --- /dev/null +++ b/src/app/navbar/navbar.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { Navbar } from './navbar'; + +describe('Navbar', () => { + let component: Navbar; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [Navbar] + }) + .compileComponents(); + + fixture = TestBed.createComponent(Navbar); + component = fixture.componentInstance; + await fixture.whenStable(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/navbar/navbar.ts b/src/app/navbar/navbar.ts new file mode 100644 index 0000000..2376dc5 --- /dev/null +++ b/src/app/navbar/navbar.ts @@ -0,0 +1,14 @@ +import { Component, inject } from '@angular/core'; +import { AuthService } from '../services/auth.service'; + +@Component({ + selector: 'app-navbar', + imports: [], + templateUrl: './navbar.html', + styleUrl: './navbar.css', +}) +export class Navbar { + protected authService = inject(AuthService); + + +}