feat: add lang switcher to main header
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
<app-main-header [title]="languageManager.strings.contactAgenda"/>
|
<app-main-header [title]="languageManager.strings.contactAgenda">
|
||||||
|
<app-lang-switch-btn slot="action-button-right" style="z-index: 2;"/>
|
||||||
|
</app-main-header>
|
||||||
<app-card bgColor="var(--secondary)">
|
<app-card bgColor="var(--secondary)">
|
||||||
<app-contact-form
|
<app-contact-form
|
||||||
(contact)="save($event)"
|
(contact)="save($event)"
|
||||||
|
|||||||
@@ -9,10 +9,11 @@ import { UpperfirstPipe } from '../../pipes/upperfirst-pipe';
|
|||||||
import { MainHeader } from '../../components/main-header/main-header';
|
import { MainHeader } from '../../components/main-header/main-header';
|
||||||
import { FormGroupContact } from '../../utils/form-group-contact';
|
import { FormGroupContact } from '../../utils/form-group-contact';
|
||||||
import { LanguageManager } from '../../services/language-manager';
|
import { LanguageManager } from '../../services/language-manager';
|
||||||
|
import { LangSwitchBtn } from '../../components/lang-switch-btn/lang-switch-btn';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-main',
|
selector: 'app-main',
|
||||||
imports: [Card, ContactForm, ContactList, FormHeader, MainHeader, UpperfirstPipe],
|
imports: [Card, ContactForm, ContactList, FormHeader, MainHeader, UpperfirstPipe, LangSwitchBtn],
|
||||||
templateUrl: './main.html',
|
templateUrl: './main.html',
|
||||||
styleUrl: './main.scss',
|
styleUrl: './main.scss',
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user