diff --git a/public/logo.svg b/public/logo.svg new file mode 100644 index 0000000..4a87af6 --- /dev/null +++ b/public/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/app/app.component.css b/src/app/app.component.css index e69de29..b787d44 100644 --- a/src/app/app.component.css +++ b/src/app/app.component.css @@ -0,0 +1,6 @@ + +:host { + display: block; + height: 100vh; + width: 100vw; +} diff --git a/src/app/app.component.html b/src/app/app.component.html index 36093e1..60c0590 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,336 +1 @@ - - - - - - - - - - - -
-
-
- -

Hello, {{ title }}

-

Congratulations! Your app is running. 🎉

-
- -
-
- @for (item of [ - { title: 'Explore the Docs', link: 'https://angular.dev' }, - { title: 'Learn with Tutorials', link: 'https://angular.dev/tutorials' }, - { title: 'CLI Docs', link: 'https://angular.dev/tools/cli' }, - { title: 'Angular Language Service', link: 'https://angular.dev/tools/language-service' }, - { title: 'Angular DevTools', link: 'https://angular.dev/tools/devtools' }, - ]; track item.title) { - - {{ item.title }} - - - - - } -
- -
-
-
- - - - - - - - - - - + diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 04ea690..e7e6eed 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -1,10 +1,11 @@ import { Component } from '@angular/core'; import { RouterOutlet } from '@angular/router'; +import { NavigationBarComponent } from './components/navigation-bar/navigation-bar.component'; @Component({ selector: 'app-root', standalone: true, - imports: [RouterOutlet], + imports: [RouterOutlet, NavigationBarComponent], templateUrl: './app.component.html', styleUrl: './app.component.css' }) diff --git a/src/app/components/navigation-bar/navigation-bar.component.css b/src/app/components/navigation-bar/navigation-bar.component.css new file mode 100644 index 0000000..166a2d8 --- /dev/null +++ b/src/app/components/navigation-bar/navigation-bar.component.css @@ -0,0 +1,4 @@ +:host { +display: block; + height: 100%; +} diff --git a/src/app/components/navigation-bar/navigation-bar.component.html b/src/app/components/navigation-bar/navigation-bar.component.html new file mode 100644 index 0000000..c1e0cbe --- /dev/null +++ b/src/app/components/navigation-bar/navigation-bar.component.html @@ -0,0 +1,24 @@ +
+ + + Hi-Tec GmbH + +
+ +
diff --git a/src/app/components/navigation-bar/navigation-bar.component.spec.ts b/src/app/components/navigation-bar/navigation-bar.component.spec.ts new file mode 100644 index 0000000..50ab2c0 --- /dev/null +++ b/src/app/components/navigation-bar/navigation-bar.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { NavigationBarComponent } from './navigation-bar.component'; + +describe('NavigationBarComponent', () => { + let component: NavigationBarComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [NavigationBarComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(NavigationBarComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/components/navigation-bar/navigation-bar.component.ts b/src/app/components/navigation-bar/navigation-bar.component.ts new file mode 100644 index 0000000..ed53374 --- /dev/null +++ b/src/app/components/navigation-bar/navigation-bar.component.ts @@ -0,0 +1,12 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-navigation-bar', + standalone: true, + imports: [], + templateUrl: './navigation-bar.component.html', + styleUrl: './navigation-bar.component.css' +}) +export class NavigationBarComponent { + +} diff --git a/src/styles.css b/src/styles.css index 90d4ee0..6ee37e1 100644 --- a/src/styles.css +++ b/src/styles.css @@ -1 +1,10 @@ /* You can add global styles to this file, and also import other style files */ +.container{ + min-height:100vh; +} + +html, body { + min-height: 100%; + height: auto; + margin: 0; +}