diff --git a/bizmatch/package.json b/bizmatch/package.json index 3d1d311..fa4d491 100644 --- a/bizmatch/package.json +++ b/bizmatch/package.json @@ -42,6 +42,7 @@ "keycloak-angular": "^16.0.1", "keycloak-js": "^25.0.1", "memoize-one": "^6.0.0", + "ng-gallery": "^11.0.0", "ngx-currency": "^18.0.0", "ngx-image-cropper": "^8.0.0", "ngx-mask": "^18.0.0", diff --git a/bizmatch/src/app/app.config.ts b/bizmatch/src/app/app.config.ts index f334fee..6fb18a6 100644 --- a/bizmatch/src/app/app.config.ts +++ b/bizmatch/src/app/app.config.ts @@ -4,6 +4,7 @@ import { provideRouter, withEnabledBlockingInitialNavigation, withInMemoryScroll import { HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi } from '@angular/common/http'; import { provideAnimations } from '@angular/platform-browser/animations'; import { KeycloakBearerInterceptor, KeycloakService } from 'keycloak-angular'; +import { GALLERY_CONFIG, GalleryConfig } from 'ng-gallery'; import { provideQuillConfig } from 'ngx-quill'; import { provideShareButtonsOptions, SharerMethods, withConfig } from 'ngx-sharebuttons'; import { shareIcons } from 'ngx-sharebuttons/icons'; @@ -56,6 +57,13 @@ export const appConfig: ApplicationConfig = { provide: 'TIMEOUT_DURATION', useValue: 5000, // Standard-Timeout von 5 Sekunden }, + { + provide: GALLERY_CONFIG, + useValue: { + autoHeight: true, + imageSize: 'cover', + } as GalleryConfig, + }, provideShareButtonsOptions( shareIcons(), withConfig({ diff --git a/bizmatch/src/app/pages/details/details-business-listing/details-business-listing.component.html b/bizmatch/src/app/pages/details/details-business-listing/details-business-listing.component.html index 660950e..1e1a7e0 100644 --- a/bizmatch/src/app/pages/details/details-business-listing/details-business-listing.component.html +++ b/bizmatch/src/app/pages/details/details-business-listing/details-business-listing.component.html @@ -60,7 +60,8 @@
-

Contact the Author of this Listing

+ +
Contact the Author of this Listing

Please include your contact info below

diff --git a/bizmatch/src/app/pages/details/details-commercial-property-listing/details-commercial-property-listing.component.html b/bizmatch/src/app/pages/details/details-commercial-property-listing/details-commercial-property-listing.component.html index 46ab77b..801f07a 100644 --- a/bizmatch/src/app/pages/details/details-commercial-property-listing/details-commercial-property-listing.component.html +++ b/bizmatch/src/app/pages/details/details-commercial-property-listing/details-commercial-property-listing.component.html @@ -9,31 +9,6 @@ > -
- @if (listing && listing.imageOrder && listing.imageOrder.length > 0) { - - } -

@@ -77,42 +52,20 @@
-
-