adding presentation background

This commit is contained in:
2022-08-14 22:11:54 +02:00
parent a02e740c0f
commit e9846b29e5
41 changed files with 212 additions and 104 deletions

View File

@@ -1,5 +1,5 @@
<div *ngIf="iSong && iSong && show">
<div @fade *ngIf="show.published" class="title published">{{ iSong.title }}</div>
<div @fade *ngIf="show.published" class="title published">{{ iSong.key }} - {{ iSong.title }}</div>
<div @fade *ngIf="!show.published" class="song">
<span class="title">{{ iSong.title }}</span>
@@ -31,7 +31,7 @@
<app-song-text
(chordModeChanged)="onChordModeChanged($event)"
*ngIf="!edit && (showText || show.published)"
*ngIf="!edit && (showText )"
[chordMode]="iSong.chordMode"
[showSwitch]="!show.published"
[text]="iSong.text"

View File

@@ -1,14 +1,11 @@
import {Component, Input, OnInit} from '@angular/core';
import {faTrash} from '@fortawesome/free-solid-svg-icons/faTrash';
import {ShowSongService} from '../../services/show-song.service';
import {ShowSong} from '../../services/show-song';
import {getScale} from '../../../songs/services/key.helper';
import {FormControl} from '@angular/forms';
import {ChordMode} from '../../../../widget-modules/components/song-text/song-text.component';
import {Show} from '../../services/show';
import {faPenToSquare} from '@fortawesome/free-solid-svg-icons/faPenToSquare';
import {faSave} from '@fortawesome/free-solid-svg-icons/faSave';
import {faEraser} from '@fortawesome/free-solid-svg-icons/faEraser';
import {faEraser, faPenToSquare, faSave, faTrash} from '@fortawesome/free-solid-svg-icons';
import {fade} from '../../../../animations';
@Component({