Header Hierarchy Jump on Catalog Import Page

Signed-off-by: Matt Ng <matt.ng@adhocteam.us>
This commit is contained in:
Matt Ng
2022-05-19 18:06:42 -04:00
parent f1707219b2
commit 05be420971
2 changed files with 8 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-import': minor
---
Updated catalog import page text so they go in the correct hierarchy order
@@ -54,6 +54,7 @@ export const ImportInfoCard = (props: ImportInfoCardProps) => {
return (
<InfoCard
title="Register an existing component"
titleTypographyProps={{ component: 'h3' }}
deepLink={{
title: 'Learn more about the Software Catalog',
link: 'https://backstage.io/docs/features/software-catalog/software-catalog-overview',
@@ -62,7 +63,7 @@ export const ImportInfoCard = (props: ImportInfoCardProps) => {
<Typography variant="body2" paragraph>
Enter the URL to your source code repository to add it to {appTitle}.
</Typography>
<Typography variant="h6">Link to an existing entity file</Typography>
<Typography variant="h4">Link to an existing entity file</Typography>
<Typography variant="subtitle2" color="textSecondary" paragraph>
Example: <code>{exampleLocationUrl}</code>
</Typography>
@@ -72,7 +73,7 @@ export const ImportInfoCard = (props: ImportInfoCardProps) => {
</Typography>
{hasGithubIntegration && (
<>
<Typography variant="h6">
<Typography variant="h4">
Link to a repository{' '}
<Chip label="GitHub only" variant="outlined" size="small" />
</Typography>