From 4c50f26050bc61573e31ed9c684916403748ad69 Mon Sep 17 00:00:00 2001 From: cyber-dream Date: Mon, 31 Oct 2022 21:50:50 +0300 Subject: [PATCH] create loading screen component --- .../loading-screen.component.html | 1 + .../loading-screen.component.scss | 0 .../loading-screen.component.spec.ts | 23 +++++++++++++++++++ .../loading-screen.component.ts | 14 +++++++++++ 4 files changed, 38 insertions(+) create mode 100644 src/app/components/loading-screen/loading-screen.component.html create mode 100644 src/app/components/loading-screen/loading-screen.component.scss create mode 100644 src/app/components/loading-screen/loading-screen.component.spec.ts create mode 100644 src/app/components/loading-screen/loading-screen.component.ts diff --git a/src/app/components/loading-screen/loading-screen.component.html b/src/app/components/loading-screen/loading-screen.component.html new file mode 100644 index 0000000..a400711 --- /dev/null +++ b/src/app/components/loading-screen/loading-screen.component.html @@ -0,0 +1 @@ +

loading-screen works!

diff --git a/src/app/components/loading-screen/loading-screen.component.scss b/src/app/components/loading-screen/loading-screen.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/components/loading-screen/loading-screen.component.spec.ts b/src/app/components/loading-screen/loading-screen.component.spec.ts new file mode 100644 index 0000000..3ea00df --- /dev/null +++ b/src/app/components/loading-screen/loading-screen.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { LoadingScreenComponent } from './loading-screen.component'; + +describe('LoadingScreenComponent', () => { + let component: LoadingScreenComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ LoadingScreenComponent ] + }) + .compileComponents(); + + fixture = TestBed.createComponent(LoadingScreenComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/components/loading-screen/loading-screen.component.ts b/src/app/components/loading-screen/loading-screen.component.ts new file mode 100644 index 0000000..98e6f2f --- /dev/null +++ b/src/app/components/loading-screen/loading-screen.component.ts @@ -0,0 +1,14 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + templateUrl: './loading-screen.component.html', + styleUrls: ['./loading-screen.component.scss'] +}) +export class LoadingScreenComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +}