welcome screen
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
<nav [class.hidden]="(windowScroll$|async)>60" class="head">
|
||||
<div class="links">
|
||||
<app-brand></app-brand>
|
||||
<app-brand routerLink="/brand"></app-brand>
|
||||
<app-link *appRole="['user','presenter', 'leader']" [icon]="faSongs" link="/songs" text="Lieder"></app-link>
|
||||
<app-link *appRole="['leader']" [icon]="faShows" link="/shows" text="Veranstaltungen"></app-link>
|
||||
<app-link *appRole="['presenter']" [icon]="faPresentation" link="/presentation" text="Präsentation"></app-link>
|
||||
<app-link [icon]="faUser" link="/user" text="Benutzer"></app-link>
|
||||
</div>
|
||||
<div class="actions">
|
||||
<div *appRole="['user','presenter', 'leader']" class="actions">
|
||||
<app-filter></app-filter>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
@@ -37,4 +37,5 @@ nav {
|
||||
|
||||
.links {
|
||||
display: flex;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<button mat-button>
|
||||
<span *ngIf="icon"><fa-icon [icon]="icon"></fa-icon><span class="content"> </span></span>
|
||||
<span class="content">
|
||||
<span class="button-content">
|
||||
<ng-content></ng-content>
|
||||
</span>
|
||||
</button>
|
||||
|
||||
@@ -5,7 +5,7 @@ button {
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
.button-content {
|
||||
@media screen and (max-width: 860px) {
|
||||
display: none ;
|
||||
}
|
||||
|
||||
49
src/app/widget-modules/components/logo/logo.component.html
Normal file
49
src/app/widget-modules/components/logo/logo.component.html
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 24 KiB |
@@ -0,0 +1,5 @@
|
||||
svg {
|
||||
width: 512px;
|
||||
height: 512px;
|
||||
margin: 40px;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
import {async, ComponentFixture, TestBed} from '@angular/core/testing';
|
||||
|
||||
import {LogoComponent} from './logo.component';
|
||||
|
||||
describe('LogoComponent', () => {
|
||||
let component: LogoComponent;
|
||||
let fixture: ComponentFixture<LogoComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [LogoComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(LogoComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
16
src/app/widget-modules/components/logo/logo.component.ts
Normal file
16
src/app/widget-modules/components/logo/logo.component.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-logo',
|
||||
templateUrl: './logo.component.html',
|
||||
styleUrls: ['./logo.component.less']
|
||||
})
|
||||
export class LogoComponent implements OnInit {
|
||||
|
||||
constructor() {
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
}
|
||||
16
src/app/widget-modules/components/logo/logo.module.ts
Normal file
16
src/app/widget-modules/components/logo/logo.module.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import {NgModule} from '@angular/core';
|
||||
import {CommonModule} from '@angular/common';
|
||||
import {LogoComponent} from './logo.component';
|
||||
|
||||
|
||||
@NgModule({
|
||||
declarations: [LogoComponent],
|
||||
exports: [
|
||||
LogoComponent
|
||||
],
|
||||
imports: [
|
||||
CommonModule
|
||||
]
|
||||
})
|
||||
export class LogoModule {
|
||||
}
|
||||
Reference in New Issue
Block a user