diff --git a/packages/gitbook/src/components/PageBody/PageBody.tsx b/packages/gitbook/src/components/PageBody/PageBody.tsx index 41678a775..9e3dca3cb 100644 --- a/packages/gitbook/src/components/PageBody/PageBody.tsx +++ b/packages/gitbook/src/components/PageBody/PageBody.tsx @@ -7,6 +7,7 @@ import { hasFullWidthBlock, hasMoreThan, hasTopLevelBlock, isNodeEmpty } from '@ import type { AncestorRevisionPage } from '@/lib/pages'; import { tcls } from '@/lib/tailwind'; import { DocumentView, DocumentViewSkeleton } from '../DocumentView'; +import { InlineActionButton } from '../DocumentView/InlineActionButton'; import { TrackPageViewEvent } from '../Insights'; import { PageFeedbackForm } from '../PageFeedback'; import { CurrentPageProvider } from '../hooks/useCurrentPage'; @@ -81,6 +82,21 @@ export function PageBody(props: { pageHasToc ? 'page-has-toc' : 'page-no-toc' )} > +
+ Special button: + +
{page.cover && page.layout.cover && page.layout.coverSize === 'hero' ? (