Add contact email link.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
df3606bd9d
commit
133cb396b8
6 changed files with 24 additions and 6 deletions
|
@ -6,4 +6,5 @@
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
<app-version></app-version>
|
<app-version></app-version>
|
||||||
|
<div class="contact">Wanna say something? <a href="mailto:manuel@fritteli.ch?subject=Contact%20via%20Convertorizr">Tell me!</a></div>
|
||||||
<!--<router-outlet></router-outlet>-->
|
<!--<router-outlet></router-outlet>-->
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
.contact {
|
||||||
|
font-size: small;
|
||||||
|
margin-right: 2em;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
.inputwrapper {
|
.inputwrapper {
|
||||||
font-family: "ABeeZee", sans-serif;
|
font-family: "ABeeZee", sans-serif;
|
||||||
margin: 0 1em 1em 1em;
|
margin: 0 1em 1em 1em;
|
||||||
|
|
|
@ -35,7 +35,7 @@ export class ConverterSelectorComponent implements OnInit {
|
||||||
private updateStepCollapsedState(): void {
|
private updateStepCollapsedState(): void {
|
||||||
if (this.step.selectedConverter !== undefined
|
if (this.step.selectedConverter !== undefined
|
||||||
&& this.step.index > 0
|
&& this.step.index > 0
|
||||||
&& this.step.collapsed === undefined
|
&& !this.step.collapsed
|
||||||
&& !this.step.error) {
|
&& !this.step.error) {
|
||||||
this.step.collapsed = true;
|
this.step.collapsed = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
import {Converter} from './converter/converter';
|
import {Converter} from './converter/converter';
|
||||||
|
|
||||||
export class Step {
|
export class Step {
|
||||||
public content = '';
|
public content: string = '';
|
||||||
public selectedConverter: Converter | undefined;
|
public selectedConverter: Converter | undefined;
|
||||||
public index: number;
|
public index: number;
|
||||||
public error = false;
|
public error: boolean = false;
|
||||||
public collapsed: boolean = undefined;
|
public collapsed: boolean = false;
|
||||||
public message = '';
|
public message: string = '';
|
||||||
|
|
||||||
constructor(index: number) {
|
constructor(index: number) {
|
||||||
this.index = index;
|
this.index = index;
|
||||||
|
|
|
@ -3,13 +3,14 @@ import {Step} from '../step';
|
||||||
import {Converter} from '../converter/converter';
|
import {Converter} from '../converter/converter';
|
||||||
import {InputComponentManagerService} from '../input-component-manager.service';
|
import {InputComponentManagerService} from '../input-component-manager.service';
|
||||||
import {FormsModule} from '@angular/forms';
|
import {FormsModule} from '@angular/forms';
|
||||||
|
import {NgClass} from '@angular/common';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-text-input-field',
|
selector: 'app-text-input-field',
|
||||||
templateUrl: './text-input-field.component.html',
|
templateUrl: './text-input-field.component.html',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
styleUrls: ['./text-input-field.component.scss'],
|
styleUrls: ['./text-input-field.component.scss'],
|
||||||
imports: [FormsModule]
|
imports: [FormsModule, NgClass]
|
||||||
})
|
})
|
||||||
export class TextInputFieldComponent {
|
export class TextInputFieldComponent {
|
||||||
@Input()
|
@Input()
|
||||||
|
|
|
@ -18,6 +18,16 @@
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #fc0;
|
||||||
|
transition: all ease-in-out 200ms;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: #222;
|
||||||
|
background-color: #fc0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #222;
|
background-color: #222;
|
||||||
color: #eee;
|
color: #eee;
|
||||||
|
|
Loading…
Reference in a new issue