initial release
This commit is contained in:
26
bizmatch/src/app/components/footer/footer.component.ts
Normal file
26
bizmatch/src/app/components/footer/footer.component.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { ButtonModule } from 'primeng/button';
|
||||
import { CheckboxModule } from 'primeng/checkbox';
|
||||
import { InputTextModule } from 'primeng/inputtext';
|
||||
import {StyleClassModule} from 'primeng/styleclass';
|
||||
import { KeyValue } from '../../models/main.model';
|
||||
import { DropdownModule } from 'primeng/dropdown';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { UserService } from '../../services/user.service';
|
||||
import { SharedModule } from '../../shared/shared/shared.module';
|
||||
|
||||
|
||||
@Component({
|
||||
selector: 'footer',
|
||||
standalone: true,
|
||||
imports: [SharedModule],
|
||||
templateUrl: './footer.component.html',
|
||||
styleUrl: './footer.component.scss'
|
||||
})
|
||||
export class FooterComponent {
|
||||
constructor(public userService:UserService){}
|
||||
login(){
|
||||
this.userService.login(window.location.href);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user