Added multiple pages

This commit is contained in:
Erik Tiekstra
2021-03-23 10:03:13 +01:00
committed by Erik Tiekstra
parent ec6c7eb4a9
commit 226f291bd3
30 changed files with 286 additions and 8 deletions
@@ -0,0 +1 @@
<section class="call-off">Avrop funkar!</section>
@@ -0,0 +1,29 @@
import { DigiNgTypographyBaseModule } from '@af/digi-ng/_typography/typography-base';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { HorizontalCenterModule } from '@dafa-shared/components/horizontal-center/horizontal-center.module';
import { CallOffComponent } from './call-off.component';
describe('CallOffComponent', () => {
let component: CallOffComponent;
let fixture: ComponentFixture<CallOffComponent>;
beforeEach(
waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [CallOffComponent],
imports: [RouterTestingModule, DigiNgTypographyBaseModule, HorizontalCenterModule],
}).compileComponents();
})
);
beforeEach(() => {
fixture = TestBed.createComponent(CallOffComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -0,0 +1,9 @@
import { ChangeDetectionStrategy, Component } from '@angular/core';
@Component({
selector: 'dafa-call-off',
templateUrl: './call-off.component.html',
styleUrls: ['./call-off.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class CallOffComponent {}
@@ -0,0 +1,10 @@
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { CallOffComponent } from './call-off.component';
@NgModule({
declarations: [CallOffComponent],
imports: [CommonModule, RouterModule.forChild([{ path: '', component: CallOffComponent }])],
})
export class CallOffModule {}