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

View File

@ -13,7 +13,7 @@
[include]="['facebook', 'twitter', 'email']" [include]="['facebook', 'twitter', 'email']"
[show]="5" [show]="5"
[showText]="true" [showText]="true"
[size]="2" [size]="1"
[url]="baseURL" [url]="baseURL"
[title]="'Encuesta DataSurvey'" [title]="'Encuesta DataSurvey'"
[image]="'../../../content/img_datasurvey/datasurvey-logo-text-white-PNG.png'" [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 url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
@import '~ngx-sharebuttons/themes/material/material-dark-theme'; @import '~ngx-sharebuttons/themes/default/default-theme';
@import '~ngx-sharebuttons/themes/modern/modern-light-theme';
@import '~ngx-sharebuttons/themes/circles/circles-dark-theme';
.compartir { .compartir {
width: 100% !important; width: 100% !important;

View File

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

View File

@ -3,9 +3,6 @@
@import '~bootstrap/scss/variables'; @import '~bootstrap/scss/variables';
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap'); @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 Bootstrap tweaks