re-adding subtitle to Shell

This commit is contained in:
Peer Richelsen
2023-01-31 23:31:04 +01:00
committed by GitHub
parent 7a6e7c2f1d
commit cebb10bfe4
+5
View File
@@ -810,6 +810,11 @@ export function ShellMain(props: LayoutProps) {
{!isLocaleReady ? <SkeletonText invisible /> : props.heading}
</h1>
)}
{props.subtitle && (
<p className="hidden text-sm text-gray-500 sm:block">
{!isLocaleReady ? <SkeletonText invisible /> : props.subtitle}
</p>
)}
</div>
{props.CTA && (
<div