From b232c95a6ee6a39766b515ff81622c2902160161 Mon Sep 17 00:00:00 2001 From: Denis Strigo Date: Thu, 18 Jun 2020 12:57:56 +0300 Subject: [PATCH] docs(bundle): update bundle section, show collection list (#5716) * docs(bundle): update bundle section, show collection list * docs(bundle): fix lint Co-authored-by: d.strigo --- docs/app/@core/data/service/bundles.service.ts | 8 ++++---- .../backend-bundles-section.component.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/app/@core/data/service/bundles.service.ts b/docs/app/@core/data/service/bundles.service.ts index 987f8c5a..9eb3eb73 100644 --- a/docs/app/@core/data/service/bundles.service.ts +++ b/docs/app/@core/data/service/bundles.service.ts @@ -26,8 +26,8 @@ export const BUNDLE_LICENSE = { }; export const STORE_PRODUCTS_URL = { - base: 'https://store.akveo.com/collections/frontpage/products.json', - material: 'https://store.akveo.com/collections/material-bundles/products.json', + base: 'https://store.akveo.com/collections/collection-for-ngx-admin-landing/products.json', + material: 'https://store.akveo.com/collections/collection-for-ngx-admin-landing/products.json', }; export class Feature { @@ -39,7 +39,7 @@ export class Feature { @Injectable() export class BundlesService { - private readonly STORE: string = 'https://store.akveo.com/products'; + private readonly STORE_COLLECTION: string = 'https://store.akveo.com/collections'; private features: Feature[] = [ { @@ -92,7 +92,7 @@ export class BundlesService { return { id: item.id, imageUrl: this.getDefaultImage(item.images), - storeUrl: `${this.STORE}/${item.handle}`, + storeUrl: `${this.STORE_COLLECTION}/${item.handle}`, tags: item.tags, title: item.title, description: (item.body_html as string).trim().replace(/<(?:.|\n)*?>/gm, ' ').replace(/ +/gm, ' '), diff --git a/docs/app/pages/home/backend-bundles-section/backend-bundles-section.component.html b/docs/app/pages/home/backend-bundles-section/backend-bundles-section.component.html index 4aad38a8..4ae8067b 100644 --- a/docs/app/pages/home/backend-bundles-section/backend-bundles-section.component.html +++ b/docs/app/pages/home/backend-bundles-section/backend-bundles-section.component.html @@ -37,7 +37,7 @@ ${{ (product.variants | license:selectedLicenseType).compare_at_price }} - ${{ (product.variants | license:selectedLicenseType).price }} + From ${{ (product.variants | license:selectedLicenseType).price }}