16 lines
394 B
TypeScript
16 lines
394 B
TypeScript
import { Component, inject } from '@angular/core';
|
|
import { KeycloakService } from 'keycloak-angular';
|
|
|
|
@Component({
|
|
selector: 'app-landing-page',
|
|
standalone: true,
|
|
imports: [],
|
|
templateUrl: './landing-page.component.html',
|
|
})
|
|
export class LandingPageComponent {
|
|
private keycloakService: KeycloakService = inject(KeycloakService);
|
|
|
|
login() {
|
|
this.keycloakService.login();
|
|
}
|
|
}
|