Umbau zu tailwind + mobile friendly: LandingPage & Footer
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { KeycloakService } from 'keycloak-angular';
|
||||
import { initFlowbite } from 'flowbite';
|
||||
import { SidebarModule } from 'primeng/sidebar';
|
||||
import { SharedModule } from '../../shared/shared/shared.module';
|
||||
@Component({
|
||||
selector: 'footer',
|
||||
selector: 'app-footer',
|
||||
standalone: true,
|
||||
imports: [SharedModule, SidebarModule],
|
||||
templateUrl: './footer.component.html',
|
||||
@@ -12,13 +12,17 @@ import { SharedModule } from '../../shared/shared/shared.module';
|
||||
export class FooterComponent {
|
||||
privacyVisible = false;
|
||||
termsVisible = false;
|
||||
constructor(public keycloakService: KeycloakService) {}
|
||||
login() {
|
||||
this.keycloakService.login({
|
||||
redirectUri: window.location.href,
|
||||
});
|
||||
}
|
||||
register() {
|
||||
this.keycloakService.register({ redirectUri: `${window.location.origin}/account` });
|
||||
currentYear: number = new Date().getFullYear();
|
||||
ngOnInit() {
|
||||
initFlowbite();
|
||||
}
|
||||
// constructor(public keycloakService: KeycloakService) {}
|
||||
// login() {
|
||||
// this.keycloakService.login({
|
||||
// redirectUri: window.location.href,
|
||||
// });
|
||||
// }
|
||||
// register() {
|
||||
// this.keycloakService.register({ redirectUri: `${window.location.origin}/account` });
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user