setup kontor-angiöar with comics navigation
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<p>artist works!</p>
|
||||
@@ -0,0 +1,23 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { Artist } from './artist';
|
||||
|
||||
describe('Artist', () => {
|
||||
let component: Artist;
|
||||
let fixture: ComponentFixture<Artist>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [Artist]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(Artist);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-artist',
|
||||
imports: [],
|
||||
templateUrl: './artist.html',
|
||||
styleUrl: './artist.css'
|
||||
})
|
||||
export class Artist {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<p>comic-overview works!</p>
|
||||
<div>
|
||||
<ul>
|
||||
<li><a routerLink="/comic/comics">Comics</a></li>
|
||||
<li><a routerLink="/comic/publisher">Publisher</a></li>
|
||||
<li><a routerLink="/comic/artist">Artists</a></li>
|
||||
</ul>
|
||||
<h4>Child Routes Result</h4>
|
||||
<router-outlet></router-outlet>
|
||||
</div>
|
||||
@@ -0,0 +1,23 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { ComicOverview } from './comic-overview';
|
||||
|
||||
describe('ComicOverview', () => {
|
||||
let component: ComicOverview;
|
||||
let fixture: ComponentFixture<ComicOverview>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [ComicOverview]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(ComicOverview);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { RouterLink, RouterOutlet } from '@angular/router';
|
||||
|
||||
@Component({
|
||||
selector: 'app-comic-overview',
|
||||
imports: [RouterLink, RouterOutlet],
|
||||
templateUrl: './comic-overview.html',
|
||||
styleUrl: './comic-overview.css'
|
||||
})
|
||||
export class ComicOverview {
|
||||
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<p>comics works!</p>
|
||||
@@ -0,0 +1,23 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { Comics } from './comics';
|
||||
|
||||
describe('Comics', () => {
|
||||
let component: Comics;
|
||||
let fixture: ComponentFixture<Comics>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [Comics]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(Comics);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { RouterLink, RouterOutlet } from '@angular/router';
|
||||
|
||||
@Component({
|
||||
selector: 'app-comics',
|
||||
imports: [RouterLink, RouterOutlet],
|
||||
templateUrl: './comics.html',
|
||||
styleUrl: './comics.css'
|
||||
})
|
||||
export class Comics {
|
||||
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<p>publisher works!</p>
|
||||
@@ -0,0 +1,23 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { Publisher } from './publisher';
|
||||
|
||||
describe('Publisher', () => {
|
||||
let component: Publisher;
|
||||
let fixture: ComponentFixture<Publisher>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [Publisher]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(Publisher);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-publisher',
|
||||
imports: [],
|
||||
templateUrl: './publisher.html',
|
||||
styleUrl: './publisher.css'
|
||||
})
|
||||
export class Publisher {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user