Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const UnavailableContent: React.FunctionComponent<UnavailableContentProps> = ({
const classes = useStyles();
return (
<EmptyState variant={EmptyStateVariant.lg} className={clsx(classes.emptyStateUnavailable)}>
<EmptyStateHeader title="This page is temporarily unavailable" icon={<EmptyStateIcon icon={ExclamationCircleIcon} />} />
<EmptyStateHeader titleText="This page is temporarily unavailable" icon={<EmptyStateIcon icon={ExclamationCircleIcon} />} headingLevel="h5" />
<EmptyStateBody>
Try refreshing the page. If the problem persists, contact your organization administrator or visit our{' '}
<Button component='a' className={clsx(classes.emptyStateLinkButton)} variant='link' href={statusPageUrl} target="_blank" rel="noopener noreferrer">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ exports[`Unavailable component should render with a link 1`] = `
>
<div
class="pf-v5-c-empty-state__header"
title="This page is temporarily unavailable"
>
<div
class="pf-v5-c-empty-state__icon"
Expand All @@ -32,6 +31,15 @@ exports[`Unavailable component should render with a link 1`] = `
/>
</svg>
</div>
<div
class="pf-v5-c-empty-state__title"
>
<h5
class="pf-v5-c-empty-state__title-text"
>
This page is temporarily unavailable
</h5>
</div>
</div>
<div
class="pf-v5-c-empty-state__body"
Expand Down Expand Up @@ -66,7 +74,6 @@ exports[`Unavailable component should render with a link 1`] = `
>
<div
class="pf-v5-c-empty-state__header"
title="This page is temporarily unavailable"
>
<div
class="pf-v5-c-empty-state__icon"
Expand All @@ -85,6 +92,15 @@ exports[`Unavailable component should render with a link 1`] = `
/>
</svg>
</div>
<div
class="pf-v5-c-empty-state__title"
>
<h5
class="pf-v5-c-empty-state__title-text"
>
This page is temporarily unavailable
</h5>
</div>
</div>
<div
class="pf-v5-c-empty-state__body"
Expand Down Expand Up @@ -176,7 +192,6 @@ exports[`Unavailable component should render with no link 1`] = `
>
<div
class="pf-v5-c-empty-state__header"
title="This page is temporarily unavailable"
>
<div
class="pf-v5-c-empty-state__icon"
Expand All @@ -195,6 +210,15 @@ exports[`Unavailable component should render with no link 1`] = `
/>
</svg>
</div>
<div
class="pf-v5-c-empty-state__title"
>
<h5
class="pf-v5-c-empty-state__title-text"
>
This page is temporarily unavailable
</h5>
</div>
</div>
<div
class="pf-v5-c-empty-state__body"
Expand Down Expand Up @@ -229,7 +253,6 @@ exports[`Unavailable component should render with no link 1`] = `
>
<div
class="pf-v5-c-empty-state__header"
title="This page is temporarily unavailable"
>
<div
class="pf-v5-c-empty-state__icon"
Expand All @@ -248,6 +271,15 @@ exports[`Unavailable component should render with no link 1`] = `
/>
</svg>
</div>
<div
class="pf-v5-c-empty-state__title"
>
<h5
class="pf-v5-c-empty-state__title-text"
>
This page is temporarily unavailable
</h5>
</div>
</div>
<div
class="pf-v5-c-empty-state__body"
Expand Down