From 18908f676a9d697141fd71616054c144a70c94aa Mon Sep 17 00:00:00 2001 From: bobbykolev Date: Mon, 23 Dec 2024 14:27:07 +0200 Subject: [PATCH 1/2] Improve the layout banner of Documentation page; --- src/domain/documentation/DocumentationPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/domain/documentation/DocumentationPage.tsx b/src/domain/documentation/DocumentationPage.tsx index 2c77f595f9..294c37c736 100644 --- a/src/domain/documentation/DocumentationPage.tsx +++ b/src/domain/documentation/DocumentationPage.tsx @@ -3,7 +3,6 @@ import TopLevelLayout from '@/main/ui/layout/TopLevelLayout'; import TopLevelPageBreadcrumbs from '@/main/topLevelPages/topLevelPageBreadcrumbs/TopLevelPageBreadcrumbs'; import PageContent from '@/core/ui/content/PageContent'; import PageContentBlock from '@/core/ui/content/PageContentBlock'; -import SpacePageBanner from '../journey/space/layout/SpacePageBanner'; import { useLocation } from 'react-router-dom'; import Gutters from '@/core/ui/grid/Gutters'; import { useConfig } from '../platform/config/useConfig'; @@ -11,6 +10,7 @@ import { TopLevelRoutePath } from '@/main/routing/TopLevelRoutePath'; import { useTranslation } from 'react-i18next'; import scrollToTop from '@/core/ui/utils/scrollToTop'; import useNavigate from '@/core/routing/useNavigate'; +import TopLevelPageBanner from '@/main/ui/layout/topLevelPageLayout/TopLevelPageBanner'; const DEFAULT_HEIGHT = '100vh'; const enum SupportedMessageTypes { @@ -76,7 +76,7 @@ const DocumentationPage = () => { return ( } + header={} breadcrumbs={} > From 021ea693d173e14ea59374a0232d72343cf3c7cc Mon Sep 17 00:00:00 2001 From: bobbykolev Date: Mon, 23 Dec 2024 14:51:31 +0200 Subject: [PATCH 2/2] Subtitle for the Docs page --- src/core/i18n/en/translation.en.json | 3 ++- src/domain/documentation/DocumentationPage.tsx | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/core/i18n/en/translation.en.json b/src/core/i18n/en/translation.en.json index febdfcd784..67cd1dc1d8 100644 --- a/src/core/i18n/en/translation.en.json +++ b/src/core/i18n/en/translation.en.json @@ -2823,7 +2823,8 @@ "back": "See all discussions" }, "documentation": { - "title": "Documentation" + "title": "Documentation", + "subtitle": "Platform Manual & Support" } }, "operations": { diff --git a/src/domain/documentation/DocumentationPage.tsx b/src/domain/documentation/DocumentationPage.tsx index 294c37c736..9e5fb6cab5 100644 --- a/src/domain/documentation/DocumentationPage.tsx +++ b/src/domain/documentation/DocumentationPage.tsx @@ -76,7 +76,9 @@ const DocumentationPage = () => { return ( } + header={ + + } breadcrumbs={} >