diff --git a/config-ui/src/components/page-header/index.tsx b/config-ui/src/components/page-header/index.tsx index c4de583d0f7..3320f2e3f32 100644 --- a/config-ui/src/components/page-header/index.tsx +++ b/config-ui/src/components/page-header/index.tsx @@ -27,10 +27,11 @@ interface Props { path: string; }>; extra?: React.ReactNode; + description?: string; children: React.ReactNode; } -export const PageHeader = ({ breadcrumbs, extra, children }: Props) => { +export const PageHeader = ({ breadcrumbs, extra, description, children }: Props) => { return ( @@ -46,6 +47,7 @@ export const PageHeader = ({ breadcrumbs, extra, children }: Props) => { {extra} + {description} {children} ); diff --git a/config-ui/src/components/page-header/styled.ts b/config-ui/src/components/page-header/styled.ts index 8dbd5bbb41f..3dd132e690a 100644 --- a/config-ui/src/components/page-header/styled.ts +++ b/config-ui/src/components/page-header/styled.ts @@ -24,6 +24,10 @@ export const Title = styled.div` display: flex; align-items: center; justify-content: space-between; +`; + +export const Description = styled.p` + margin-top: 12px; margin-bottom: 36px; `; diff --git a/config-ui/src/routes/blueprint/home/index.tsx b/config-ui/src/routes/blueprint/home/index.tsx index 44f1c0b3eff..4a4853c4bc3 100644 --- a/config-ui/src/routes/blueprint/home/index.tsx +++ b/config-ui/src/routes/blueprint/home/index.tsx @@ -94,11 +94,14 @@ export const BlueprintHomePage = () => { { name: 'Advanced', path: PATHS.BLUEPRINTS() }, { name: 'Blueprints', path: PATHS.BLUEPRINTS() }, ]} + extra={ + + } + description="This is a complete list of all Blueprints you have created, whether they belong to Projects or not." > -

- This is a complete list of all Blueprints you have created, whether they belong to Projects or not. -

setType(value)}> All @@ -108,9 +111,6 @@ export const BlueprintHomePage = () => { ))} -