Skip to content

Commit

Permalink
Merge pull request #7371 from alkem-io/docs-banner-update
Browse files Browse the repository at this point in the history
Improve the layout banner of Documentation page;
  • Loading branch information
reactoholic authored Dec 23, 2024
2 parents b776f74 + 021ea69 commit 1b81e67
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/core/i18n/en/translation.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2823,7 +2823,8 @@
"back": "See all discussions"
},
"documentation": {
"title": "Documentation"
"title": "Documentation",
"subtitle": "Platform Manual & Support"
}
},
"operations": {
Expand Down
6 changes: 4 additions & 2 deletions src/domain/documentation/DocumentationPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ 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';
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 {
Expand Down Expand Up @@ -76,7 +76,9 @@ const DocumentationPage = () => {

return (
<TopLevelLayout
header={<SpacePageBanner title={t('pages.documentation.title')} journeyTypeName="admin" />}
header={
<TopLevelPageBanner title={t('pages.documentation.title')} subtitle={t('pages.documentation.subtitle')} />
}
breadcrumbs={<TopLevelPageBreadcrumbs />}
>
<PageContent>
Expand Down

0 comments on commit 1b81e67

Please sign in to comment.