added home (landing page)

This commit is contained in:
Chneemann 2024-08-01 14:59:26 +02:00
parent 3ba66f282a
commit c9dd48ac46
5 changed files with 38 additions and 2 deletions

View file

@ -1,4 +1,4 @@
import { Routes } from '@angular/router';
import { AuthComponent } from './components/auth/auth.component';
import { HomeComponent } from './components/home/home.component';
export const routes: Routes = [{ path: '', component: AuthComponent }];
export const routes: Routes = [{ path: '', component: HomeComponent }];

View file

@ -0,0 +1 @@
<p>home works!</p>

View file

@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { HomeComponent } from './home.component';
describe('HomeComponent', () => {
let component: HomeComponent;
let fixture: ComponentFixture<HomeComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [HomeComponent]
})
.compileComponents();
fixture = TestBed.createComponent(HomeComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View file

@ -0,0 +1,12 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-home',
standalone: true,
imports: [],
templateUrl: './home.component.html',
styleUrl: './home.component.scss'
})
export class HomeComponent {
}