fix imports

This commit is contained in:
Paola 2021-08-04 11:30:00 -06:00
parent 80e952bea5
commit 83c976356c
5 changed files with 9 additions and 14 deletions

View File

@ -44,10 +44,6 @@ import { ShareIconsModule } from 'ngx-sharebuttons/icons';
SharedModule,
HomeModule,
PaginaPrincipalModule,
ShareButtonsModule.withConfig({
debug: true,
}),
ShareIconsModule,
// jhipster-needle-angular-add-module JHipster will add new module here
EntityRoutingModule,
AppRoutingModule,
@ -67,6 +63,8 @@ import { ShareIconsModule } from 'ngx-sharebuttons/icons';
useFactory: missingTranslationHandler,
},
}),
ShareButtonsModule,
ShareIconsModule,
],
providers: [
Title,

View File

@ -13,7 +13,7 @@
[include]="['facebook', 'twitter', 'email']"
[show]="5"
[showText]="true"
[size]="2"
[size]="1"
[url]="baseURL"
[title]="'Encuesta DataSurvey'"
[image]="'../../../content/img_datasurvey/datasurvey-logo-text-white-PNG.png'"

View File

@ -1,8 +1,6 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
@import '~ngx-sharebuttons/themes/material/material-dark-theme';
@import '~ngx-sharebuttons/themes/modern/modern-light-theme';
@import '~ngx-sharebuttons/themes/circles/circles-dark-theme';
@import '~ngx-sharebuttons/themes/default/default-theme';
.compartir {
width: 100% !important;

View File

@ -172,9 +172,11 @@
style="animation-delay: 3s"
></div>
</div>
<div class="entity-share" *ngIf="encuesta.estado == 'ACTIVE'">
<span><fa-icon [icon]="faShareAlt" (click)="compartir()"></fa-icon></span>
</div>
<!-- <div class="entity-share" *ngIf="encuesta.estado == 'ACTIVE'">
<button type="button" id="contextmenu-share" (click)="compartir()">
<fa-icon class="contextmenu__icon" [icon]="faShareAlt"></fa-icon>
</button>
</div>-->
</div>
<div class="entity-body">

View File

@ -3,9 +3,6 @@
@import '~bootstrap/scss/variables';
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
@import '~ngx-sharebuttons/themes/material/material-dark-theme';
@import '~ngx-sharebuttons/themes/modern/modern-light-theme';
@import '~ngx-sharebuttons/themes/circles/circles-dark-theme';
/* ==============================================================
Bootstrap tweaks