diff --git a/src/main/webapp/app/home/home.component.html b/src/main/webapp/app/home/home.component.html index c51e87c..592bce9 100644 --- a/src/main/webapp/app/home/home.component.html +++ b/src/main/webapp/app/home/home.component.html @@ -68,8 +68,8 @@
-

Pensar en el texto

-

Pensar en el texto

+

Diverso contenido

+

Podrá encontrar y crear encuestas de diferentes categorías.

@@ -83,8 +83,19 @@

Encuestas

-
-
+
+
+
+
+ +
+
+
+
+
{{ encuesta.nombre }}
diff --git a/src/main/webapp/app/home/home.component.ts b/src/main/webapp/app/home/home.component.ts index e044611..0b8eee9 100644 --- a/src/main/webapp/app/home/home.component.ts +++ b/src/main/webapp/app/home/home.component.ts @@ -17,7 +17,7 @@ import { UsuarioExtraService } from 'app/entities/usuario-extra/service/usuario- import { AccountService } from 'app/core/auth/account.service'; import { Account } from 'app/core/auth/account.model'; -import { faShareAlt, faWindowMaximize, faPollH, faCalendarAlt, faAngleDown, faStar } from '@fortawesome/free-solid-svg-icons'; +import { faPollH, faCalendarAlt, faStar } from '@fortawesome/free-solid-svg-icons'; import * as $ from 'jquery'; @@ -36,11 +36,12 @@ export class HomeComponent implements OnInit, OnDestroy { faStar = faStar; faCalendarAlt = faCalendarAlt; - faWindowMaximize = faWindowMaximize; faPollH = faPollH; notAccount: boolean = true; + public searchEncuestaPublica: string; + constructor( protected encuestaService: EncuestaService, protected modalService: NgbModal, @@ -50,9 +51,12 @@ export class HomeComponent implements OnInit, OnDestroy { protected fb: FormBuilder, protected accountService: AccountService, protected router: Router - ) {} + ) { + this.searchEncuestaPublica = ''; + } ngOnInit(): void { + this.searchEncuestaPublica = ''; this.accountService .getAuthenticationState() .pipe(takeUntil(this.destroy$))