From 148621f358366baa9adf4556575a6dee97aee9a9 Mon Sep 17 00:00:00 2001 From: smuddyx Date: Sat, 25 Apr 2020 23:33:37 +0200 Subject: [PATCH] branding --- misc/logo_white.svg | 19 ++++++++++++++ .../presentation/monitor/monitor.component.ts | 2 +- .../application-frame.module.ts | 4 ++- .../navigation/brand/brand.component.html | 19 ++++++++++++++ .../navigation/brand/brand.component.less | 4 +++ .../navigation/brand/brand.component.spec.ts | 25 +++++++++++++++++++ .../navigation/brand/brand.component.ts | 16 ++++++++++++ .../navigation/navigation.component.html | 1 + 8 files changed, 88 insertions(+), 2 deletions(-) create mode 100644 misc/logo_white.svg create mode 100644 src/app/widget-modules/components/application-frame/navigation/brand/brand.component.html create mode 100644 src/app/widget-modules/components/application-frame/navigation/brand/brand.component.less create mode 100644 src/app/widget-modules/components/application-frame/navigation/brand/brand.component.spec.ts create mode 100644 src/app/widget-modules/components/application-frame/navigation/brand/brand.component.ts diff --git a/misc/logo_white.svg b/misc/logo_white.svg new file mode 100644 index 0000000..cc8346f --- /dev/null +++ b/misc/logo_white.svg @@ -0,0 +1,19 @@ + + + + + + diff --git a/src/app/modules/presentation/monitor/monitor.component.ts b/src/app/modules/presentation/monitor/monitor.component.ts index 6f7de2a..c23a3e3 100644 --- a/src/app/modules/presentation/monitor/monitor.component.ts +++ b/src/app/modules/presentation/monitor/monitor.component.ts @@ -19,7 +19,7 @@ export class MonitorComponent implements OnInit { public zoom: number; public index: number; private sections: Section[]; - private config$: Observable; + public config$: Observable; constructor( private showService: ShowService, diff --git a/src/app/widget-modules/components/application-frame/application-frame.module.ts b/src/app/widget-modules/components/application-frame/application-frame.module.ts index f529229..3301a7a 100644 --- a/src/app/widget-modules/components/application-frame/application-frame.module.ts +++ b/src/app/widget-modules/components/application-frame/application-frame.module.ts @@ -7,12 +7,14 @@ import {FontAwesomeModule} from '@fortawesome/angular-fontawesome'; import {LinkComponent} from './navigation/link/link.component'; import {FormsModule} from '@angular/forms'; import {RoleModule} from '../../../services/user/role.module'; +import {BrandComponent} from './navigation/brand/brand.component'; @NgModule({ declarations: [ NavigationComponent, FilterComponent, - LinkComponent + LinkComponent, + BrandComponent ], imports: [ CommonModule, diff --git a/src/app/widget-modules/components/application-frame/navigation/brand/brand.component.html b/src/app/widget-modules/components/application-frame/navigation/brand/brand.component.html new file mode 100644 index 0000000..da9a16e --- /dev/null +++ b/src/app/widget-modules/components/application-frame/navigation/brand/brand.component.html @@ -0,0 +1,19 @@ +
+ + + + + +
diff --git a/src/app/widget-modules/components/application-frame/navigation/brand/brand.component.less b/src/app/widget-modules/components/application-frame/navigation/brand/brand.component.less new file mode 100644 index 0000000..023df4d --- /dev/null +++ b/src/app/widget-modules/components/application-frame/navigation/brand/brand.component.less @@ -0,0 +1,4 @@ +.brand { + opacity: 0.8; + margin: 10px 14px -10px; +} diff --git a/src/app/widget-modules/components/application-frame/navigation/brand/brand.component.spec.ts b/src/app/widget-modules/components/application-frame/navigation/brand/brand.component.spec.ts new file mode 100644 index 0000000..85d363b --- /dev/null +++ b/src/app/widget-modules/components/application-frame/navigation/brand/brand.component.spec.ts @@ -0,0 +1,25 @@ +import {async, ComponentFixture, TestBed} from '@angular/core/testing'; + +import {BrandComponent} from './brand.component'; + +describe('BrandComponent', () => { + let component: BrandComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [BrandComponent] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(BrandComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/widget-modules/components/application-frame/navigation/brand/brand.component.ts b/src/app/widget-modules/components/application-frame/navigation/brand/brand.component.ts new file mode 100644 index 0000000..c7f3e34 --- /dev/null +++ b/src/app/widget-modules/components/application-frame/navigation/brand/brand.component.ts @@ -0,0 +1,16 @@ +import {Component, OnInit} from '@angular/core'; + +@Component({ + selector: 'app-brand', + templateUrl: './brand.component.html', + styleUrls: ['./brand.component.less'] +}) +export class BrandComponent implements OnInit { + + constructor() { + } + + ngOnInit(): void { + } + +} diff --git a/src/app/widget-modules/components/application-frame/navigation/navigation.component.html b/src/app/widget-modules/components/application-frame/navigation/navigation.component.html index e07ee73..26c177f 100644 --- a/src/app/widget-modules/components/application-frame/navigation/navigation.component.html +++ b/src/app/widget-modules/components/application-frame/navigation/navigation.component.html @@ -1,5 +1,6 @@