diff --git a/apps/dafa-web/src/app/app-routing.module.ts b/apps/dafa-web/src/app/app-routing.module.ts
index 22f3c4f..324ee01 100644
--- a/apps/dafa-web/src/app/app-routing.module.ts
+++ b/apps/dafa-web/src/app/app-routing.module.ts
@@ -4,9 +4,34 @@ import { ExtraOptions, RouterModule, Routes } from '@angular/router';
const routes: Routes = [
{
path: '',
- data: { title: 'FA Mina sidor' },
+ data: { title: '' },
loadChildren: () => import('./pages/start/start.module').then(m => m.StartModule),
},
+ {
+ path: 'mina-deltagare',
+ data: { title: 'Mina deltagare' },
+ loadChildren: () => import('./pages/participants/participants.module').then(m => m.ParticipantsModule),
+ },
+ {
+ path: 'avrop',
+ data: { title: 'Avrop' },
+ loadChildren: () => import('./pages/call-off/call-off.module').then(m => m.CallOffModule),
+ },
+ {
+ path: 'meddelanden',
+ data: { title: 'Meddelanden' },
+ loadChildren: () => import('./pages/messages/messages.module').then(m => m.MessagesModule),
+ },
+ {
+ path: 'statistik',
+ data: { title: 'Statistik' },
+ loadChildren: () => import('./pages/statistics/statistics.module').then(m => m.StatisticsModule),
+ },
+ {
+ path: 'installningar',
+ data: { title: 'Inställningar' },
+ loadChildren: () => import('./pages/settings/settings.module').then(m => m.SettingsModule),
+ },
{
path: '**',
data: { title: 'Sidan hittas inte' },
diff --git a/apps/dafa-web/src/app/app.component.html b/apps/dafa-web/src/app/app.component.html
index 4c0dc28..3dcc168 100644
--- a/apps/dafa-web/src/app/app.component.html
+++ b/apps/dafa-web/src/app/app.component.html
@@ -8,7 +8,9 @@
-
+
+
+
diff --git a/apps/dafa-web/src/app/app.module.ts b/apps/dafa-web/src/app/app.module.ts
index 91f063c..595c09b 100644
--- a/apps/dafa-web/src/app/app.module.ts
+++ b/apps/dafa-web/src/app/app.module.ts
@@ -1,3 +1,4 @@
+import { DigiNgTypographyBaseModule } from '@af/digi-ng/_typography/typography-base';
import { HttpClientModule } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
@@ -9,7 +10,15 @@ import { SkipToContentModule } from './components/skip-to-content/skip-to-conten
@NgModule({
declarations: [AppComponent],
- imports: [BrowserModule, HttpClientModule, AppRoutingModule, SkipToContentModule, NavigationModule, SidebarModule],
+ imports: [
+ BrowserModule,
+ HttpClientModule,
+ AppRoutingModule,
+ SkipToContentModule,
+ NavigationModule,
+ SidebarModule,
+ DigiNgTypographyBaseModule,
+ ],
providers: [],
bootstrap: [AppComponent],
})
diff --git a/apps/dafa-web/src/app/pages/call-off/call-off.component.html b/apps/dafa-web/src/app/pages/call-off/call-off.component.html
new file mode 100644
index 0000000..b438022
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/call-off/call-off.component.html
@@ -0,0 +1 @@
+
diff --git a/apps/dafa-web/src/app/pages/call-off/call-off.component.scss b/apps/dafa-web/src/app/pages/call-off/call-off.component.scss
new file mode 100644
index 0000000..e69de29
diff --git a/apps/dafa-web/src/app/pages/call-off/call-off.component.spec.ts b/apps/dafa-web/src/app/pages/call-off/call-off.component.spec.ts
new file mode 100644
index 0000000..1d163e8
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/call-off/call-off.component.spec.ts
@@ -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;
+
+ 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();
+ });
+});
diff --git a/apps/dafa-web/src/app/pages/call-off/call-off.component.ts b/apps/dafa-web/src/app/pages/call-off/call-off.component.ts
new file mode 100644
index 0000000..5dfebfd
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/call-off/call-off.component.ts
@@ -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 {}
diff --git a/apps/dafa-web/src/app/pages/call-off/call-off.module.ts b/apps/dafa-web/src/app/pages/call-off/call-off.module.ts
new file mode 100644
index 0000000..0948d2d
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/call-off/call-off.module.ts
@@ -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 {}
diff --git a/apps/dafa-web/src/app/pages/messages/messages.component.html b/apps/dafa-web/src/app/pages/messages/messages.component.html
new file mode 100644
index 0000000..3b4f79e
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/messages/messages.component.html
@@ -0,0 +1 @@
+
diff --git a/apps/dafa-web/src/app/pages/messages/messages.component.scss b/apps/dafa-web/src/app/pages/messages/messages.component.scss
new file mode 100644
index 0000000..e69de29
diff --git a/apps/dafa-web/src/app/pages/messages/messages.component.spec.ts b/apps/dafa-web/src/app/pages/messages/messages.component.spec.ts
new file mode 100644
index 0000000..b7d99e7
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/messages/messages.component.spec.ts
@@ -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 { MessagesComponent } from './messages.component';
+
+describe('MessagesComponent', () => {
+ let component: MessagesComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(
+ waitForAsync(() => {
+ TestBed.configureTestingModule({
+ declarations: [MessagesComponent],
+ imports: [RouterTestingModule, DigiNgTypographyBaseModule, HorizontalCenterModule],
+ }).compileComponents();
+ })
+ );
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(MessagesComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/apps/dafa-web/src/app/pages/messages/messages.component.ts b/apps/dafa-web/src/app/pages/messages/messages.component.ts
new file mode 100644
index 0000000..47c57b9
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/messages/messages.component.ts
@@ -0,0 +1,9 @@
+import { ChangeDetectionStrategy, Component } from '@angular/core';
+
+@Component({
+ selector: 'dafa-messages',
+ templateUrl: './messages.component.html',
+ styleUrls: ['./messages.component.scss'],
+ changeDetection: ChangeDetectionStrategy.OnPush,
+})
+export class MessagesComponent {}
diff --git a/apps/dafa-web/src/app/pages/messages/messages.module.ts b/apps/dafa-web/src/app/pages/messages/messages.module.ts
new file mode 100644
index 0000000..c54dc89
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/messages/messages.module.ts
@@ -0,0 +1,10 @@
+import { CommonModule } from '@angular/common';
+import { NgModule } from '@angular/core';
+import { RouterModule } from '@angular/router';
+import { MessagesComponent } from './messages.component';
+
+@NgModule({
+ declarations: [MessagesComponent],
+ imports: [CommonModule, RouterModule.forChild([{ path: '', component: MessagesComponent }])],
+})
+export class MessagesModule {}
diff --git a/apps/dafa-web/src/app/pages/participants/participants.component.html b/apps/dafa-web/src/app/pages/participants/participants.component.html
new file mode 100644
index 0000000..f354dc2
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/participants/participants.component.html
@@ -0,0 +1 @@
+
diff --git a/apps/dafa-web/src/app/pages/participants/participants.component.scss b/apps/dafa-web/src/app/pages/participants/participants.component.scss
new file mode 100644
index 0000000..e69de29
diff --git a/apps/dafa-web/src/app/pages/participants/participants.component.spec.ts b/apps/dafa-web/src/app/pages/participants/participants.component.spec.ts
new file mode 100644
index 0000000..954ec55
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/participants/participants.component.spec.ts
@@ -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 { ParticipantsComponent } from './participants.component';
+
+describe('ParticipantsComponent', () => {
+ let component: ParticipantsComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(
+ waitForAsync(() => {
+ TestBed.configureTestingModule({
+ declarations: [ParticipantsComponent],
+ imports: [RouterTestingModule, DigiNgTypographyBaseModule, HorizontalCenterModule],
+ }).compileComponents();
+ })
+ );
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(ParticipantsComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/apps/dafa-web/src/app/pages/participants/participants.component.ts b/apps/dafa-web/src/app/pages/participants/participants.component.ts
new file mode 100644
index 0000000..87aa326
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/participants/participants.component.ts
@@ -0,0 +1,9 @@
+import { ChangeDetectionStrategy, Component } from '@angular/core';
+
+@Component({
+ selector: 'dafa-participants',
+ templateUrl: './participants.component.html',
+ styleUrls: ['./participants.component.scss'],
+ changeDetection: ChangeDetectionStrategy.OnPush,
+})
+export class ParticipantsComponent {}
diff --git a/apps/dafa-web/src/app/pages/participants/participants.module.ts b/apps/dafa-web/src/app/pages/participants/participants.module.ts
new file mode 100644
index 0000000..eaf4c43
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/participants/participants.module.ts
@@ -0,0 +1,10 @@
+import { CommonModule } from '@angular/common';
+import { NgModule } from '@angular/core';
+import { RouterModule } from '@angular/router';
+import { ParticipantsComponent } from './participants.component';
+
+@NgModule({
+ declarations: [ParticipantsComponent],
+ imports: [CommonModule, RouterModule.forChild([{ path: '', component: ParticipantsComponent }])],
+})
+export class ParticipantsModule {}
diff --git a/apps/dafa-web/src/app/pages/settings/settings.component.html b/apps/dafa-web/src/app/pages/settings/settings.component.html
new file mode 100644
index 0000000..2859354
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/settings/settings.component.html
@@ -0,0 +1 @@
+
diff --git a/apps/dafa-web/src/app/pages/settings/settings.component.scss b/apps/dafa-web/src/app/pages/settings/settings.component.scss
new file mode 100644
index 0000000..e69de29
diff --git a/apps/dafa-web/src/app/pages/settings/settings.component.spec.ts b/apps/dafa-web/src/app/pages/settings/settings.component.spec.ts
new file mode 100644
index 0000000..0ae7c47
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/settings/settings.component.spec.ts
@@ -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 { SettingsComponent } from './settings.component';
+
+describe('SettingsComponent', () => {
+ let component: SettingsComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(
+ waitForAsync(() => {
+ TestBed.configureTestingModule({
+ declarations: [SettingsComponent],
+ imports: [RouterTestingModule, DigiNgTypographyBaseModule, HorizontalCenterModule],
+ }).compileComponents();
+ })
+ );
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(SettingsComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/apps/dafa-web/src/app/pages/settings/settings.component.ts b/apps/dafa-web/src/app/pages/settings/settings.component.ts
new file mode 100644
index 0000000..b9efd59
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/settings/settings.component.ts
@@ -0,0 +1,9 @@
+import { ChangeDetectionStrategy, Component } from '@angular/core';
+
+@Component({
+ selector: 'dafa-settings',
+ templateUrl: './settings.component.html',
+ styleUrls: ['./settings.component.scss'],
+ changeDetection: ChangeDetectionStrategy.OnPush,
+})
+export class SettingsComponent {}
diff --git a/apps/dafa-web/src/app/pages/settings/settings.module.ts b/apps/dafa-web/src/app/pages/settings/settings.module.ts
new file mode 100644
index 0000000..2399f2d
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/settings/settings.module.ts
@@ -0,0 +1,10 @@
+import { CommonModule } from '@angular/common';
+import { NgModule } from '@angular/core';
+import { RouterModule } from '@angular/router';
+import { SettingsComponent } from './settings.component';
+
+@NgModule({
+ declarations: [SettingsComponent],
+ imports: [CommonModule, RouterModule.forChild([{ path: '', component: SettingsComponent }])],
+})
+export class SettingsModule {}
diff --git a/apps/dafa-web/src/app/pages/start/start.component.html b/apps/dafa-web/src/app/pages/start/start.component.html
index 40b1c25..499e002 100644
--- a/apps/dafa-web/src/app/pages/start/start.component.html
+++ b/apps/dafa-web/src/app/pages/start/start.component.html
@@ -1,3 +1 @@
-
-
-
+
diff --git a/apps/dafa-web/src/app/pages/start/start.module.ts b/apps/dafa-web/src/app/pages/start/start.module.ts
index 2275f2e..24030c7 100644
--- a/apps/dafa-web/src/app/pages/start/start.module.ts
+++ b/apps/dafa-web/src/app/pages/start/start.module.ts
@@ -1,4 +1,3 @@
-import { DigiNgTypographyBaseModule } from '@af/digi-ng/_typography/typography-base';
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
@@ -6,6 +5,6 @@ import { StartComponent } from './start.component';
@NgModule({
declarations: [StartComponent],
- imports: [CommonModule, RouterModule.forChild([{ path: '', component: StartComponent }]), DigiNgTypographyBaseModule],
+ imports: [CommonModule, RouterModule.forChild([{ path: '', component: StartComponent }])],
})
export class StartModule {}
diff --git a/apps/dafa-web/src/app/pages/statistics/statistics.component.html b/apps/dafa-web/src/app/pages/statistics/statistics.component.html
new file mode 100644
index 0000000..361d237
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/statistics/statistics.component.html
@@ -0,0 +1 @@
+
diff --git a/apps/dafa-web/src/app/pages/statistics/statistics.component.scss b/apps/dafa-web/src/app/pages/statistics/statistics.component.scss
new file mode 100644
index 0000000..e69de29
diff --git a/apps/dafa-web/src/app/pages/statistics/statistics.component.spec.ts b/apps/dafa-web/src/app/pages/statistics/statistics.component.spec.ts
new file mode 100644
index 0000000..de57812
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/statistics/statistics.component.spec.ts
@@ -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 { StatisticsComponent } from './statistics.component';
+
+describe('StatisticsComponent', () => {
+ let component: StatisticsComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(
+ waitForAsync(() => {
+ TestBed.configureTestingModule({
+ declarations: [StatisticsComponent],
+ imports: [RouterTestingModule, DigiNgTypographyBaseModule, HorizontalCenterModule],
+ }).compileComponents();
+ })
+ );
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(StatisticsComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/apps/dafa-web/src/app/pages/statistics/statistics.component.ts b/apps/dafa-web/src/app/pages/statistics/statistics.component.ts
new file mode 100644
index 0000000..6fd1372
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/statistics/statistics.component.ts
@@ -0,0 +1,9 @@
+import { ChangeDetectionStrategy, Component } from '@angular/core';
+
+@Component({
+ selector: 'dafa-statistics',
+ templateUrl: './statistics.component.html',
+ styleUrls: ['./statistics.component.scss'],
+ changeDetection: ChangeDetectionStrategy.OnPush,
+})
+export class StatisticsComponent {}
diff --git a/apps/dafa-web/src/app/pages/statistics/statistics.module.ts b/apps/dafa-web/src/app/pages/statistics/statistics.module.ts
new file mode 100644
index 0000000..78a2992
--- /dev/null
+++ b/apps/dafa-web/src/app/pages/statistics/statistics.module.ts
@@ -0,0 +1,10 @@
+import { CommonModule } from '@angular/common';
+import { NgModule } from '@angular/core';
+import { RouterModule } from '@angular/router';
+import { StatisticsComponent } from './statistics.component';
+
+@NgModule({
+ declarations: [StatisticsComponent],
+ imports: [CommonModule, RouterModule.forChild([{ path: '', component: StatisticsComponent }])],
+})
+export class StatisticsModule {}