diff --git a/components/DefaultLayout.tsx b/components/DefaultLayout.tsx index 659ad94a2f..e2d0c9d398 100644 --- a/components/DefaultLayout.tsx +++ b/components/DefaultLayout.tsx @@ -18,7 +18,8 @@ export const DefaultLayout = (props: Props) => { {error === '404' ? ( {t('oops')} - ) : (!isHomepageVersion && page.fullTitle) || (currentPathWithoutLanguage.includes('enterprise-server') && page.fullTitle) ? ( + ) : (!isHomepageVersion && page.fullTitle) || + (currentPathWithoutLanguage.includes('enterprise-server') && page.fullTitle) ? ( {page.fullTitle} ) : null} diff --git a/components/article/ArticlePage.tsx b/components/article/ArticlePage.tsx index 33b38a7bb9..0634436fa9 100644 --- a/components/article/ArticlePage.tsx +++ b/components/article/ArticlePage.tsx @@ -54,12 +54,7 @@ export const ArticlePage = () => { )} - {intro && ( -
- )} + {intro &&
} {permissions && (
+ fullPath: string + title: string + }> } export type FeaturedLink = { title: string diff --git a/components/landing/GuideCard.tsx b/components/landing/GuideCard.tsx index 6570ec8da1..9360fed0fc 100644 --- a/components/landing/GuideCard.tsx +++ b/components/landing/GuideCard.tsx @@ -13,7 +13,7 @@ export const GuideCard = ({ guide }: Props) => { className="Box color-shadow-medium height-full d-block hover-shadow-large no-underline color-text-primary p-5" href={guide.href} > -

+

{guide.intro}