From 5bc1500dc0e1396d751d817e8be3ae39e242014a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C5=82gorzata=20Bie=C5=84?= Date: Wed, 13 Nov 2024 13:48:12 +0100 Subject: [PATCH] feat: move from custom pages to core pages --- assets/service-catalog-bundle.js | 2 +- .../service-catalog-list-item/ServiceCatalogListItem.tsx | 2 +- templates/header.hbs | 2 +- .../{custom_pages/service_catalog.hbs => service_list_page.hbs} | 0 .../{custom_pages/service_catalog_item.hbs => service_page.hbs} | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename templates/{custom_pages/service_catalog.hbs => service_list_page.hbs} (100%) rename templates/{custom_pages/service_catalog_item.hbs => service_page.hbs} (100%) diff --git a/assets/service-catalog-bundle.js b/assets/service-catalog-bundle.js index 835d5815f..4f617312e 100644 --- a/assets/service-catalog-bundle.js +++ b/assets/service-catalog-bundle.js @@ -55,7 +55,7 @@ const IconContainer = styled.div ` align-content: center; `; const ServiceCatalogListItem = ({ serviceItem, }) => { - return (jsxRuntimeExports.jsxs(ItemContainer, { href: "/hc/en-us/p/service_catalog_item", children: [jsxRuntimeExports.jsx(IconContainer, { children: jsxRuntimeExports.jsx(SvgShapesFill, {}) }), jsxRuntimeExports.jsxs(TextContainer$1, { children: [jsxRuntimeExports.jsx(ItemTitle$1, { children: serviceItem.name }), jsxRuntimeExports.jsx(ItemDescription, { children: serviceItem.description })] })] })); + return (jsxRuntimeExports.jsxs(ItemContainer, { href: "/hc/en-us/services/123456", children: [jsxRuntimeExports.jsx(IconContainer, { children: jsxRuntimeExports.jsx(SvgShapesFill, {}) }), jsxRuntimeExports.jsxs(TextContainer$1, { children: [jsxRuntimeExports.jsx(ItemTitle$1, { children: serviceItem.name }), jsxRuntimeExports.jsx(ItemDescription, { children: serviceItem.description })] })] })); }; const SkeletonItem = styled.div ` diff --git a/src/modules/service-catalog/components/service-catalog-list-item/ServiceCatalogListItem.tsx b/src/modules/service-catalog/components/service-catalog-list-item/ServiceCatalogListItem.tsx index 0e2cc6fb5..3df2de05c 100644 --- a/src/modules/service-catalog/components/service-catalog-list-item/ServiceCatalogListItem.tsx +++ b/src/modules/service-catalog/components/service-catalog-list-item/ServiceCatalogListItem.tsx @@ -67,7 +67,7 @@ const ServiceCatalogListItem = ({ serviceItem: ServiceCatalogItem; }) => { return ( - + diff --git a/templates/header.hbs b/templates/header.hbs index d9f9a4d30..ef6da53de 100644 --- a/templates/header.hbs +++ b/templates/header.hbs @@ -14,7 +14,7 @@