frontend skeleton

This commit is contained in:
tw-blue
2025-11-29 17:47:36 +01:00
parent be154c91dc
commit a9fb52fd4d
30 changed files with 433 additions and 377 deletions
@@ -0,0 +1 @@
<p>home works!</p>
@@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { Home } from './home';
describe('Home', () => {
let component: Home;
let fixture: ComponentFixture<Home>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [Home]
})
.compileComponents();
fixture = TestBed.createComponent(Home);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-home',
imports: [],
templateUrl: './home.html',
styleUrl: './home.scss',
})
export class Home {
}
@@ -0,0 +1 @@
<p>Weiterleitung zur Login-Seite erfolgt in Kürze...</p>
@@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { Login } from './login';
describe('Login', () => {
let component: Login;
let fixture: ComponentFixture<Login>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [Login]
})
.compileComponents();
fixture = TestBed.createComponent(Login);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -0,0 +1,15 @@
import { Component, inject } from '@angular/core';
import { Authentication } from '../../services/authentication';
@Component({
selector: 'app-login',
imports: [],
templateUrl: './login.html',
styleUrl: './login.scss',
})
export class Login {
private readonly authentication = inject(Authentication);
public constructor() {
this.authentication.login();
}
}
@@ -0,0 +1 @@
<p>missing-page works!</p>
@@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { MissingPage } from './missing-page';
describe('MissingPage', () => {
let component: MissingPage;
let fixture: ComponentFixture<MissingPage>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [MissingPage]
})
.compileComponents();
fixture = TestBed.createComponent(MissingPage);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-missing-page',
imports: [],
templateUrl: './missing-page.html',
styleUrl: './missing-page.scss',
})
export class MissingPage {
}
@@ -0,0 +1 @@
<p>test works!</p>
@@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { Test } from './test';
describe('Test', () => {
let component: Test;
let fixture: ComponentFixture<Test>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [Test]
})
.compileComponents();
fixture = TestBed.createComponent(Test);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-test',
imports: [],
templateUrl: './test.html',
styleUrl: './test.scss',
})
export class Test {
}