/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import React, {type ReactNode} from 'react';
import Translate from '@docusaurus/Translate';
import Head from '@docusaurus/Head';
export function UnlistedBannerTitle(): ReactNode {
return (
Unlisted page
);
}
export function UnlistedBannerMessage(): ReactNode {
return (
This page is unlisted. Search engines will not index it, and only users
having a direct link can access it.
);
}
// TODO Docusaurus v4 breaking change (since it's v3 public theme-common API :/)
// Move this to theme/ContentVisibility/Unlisted
export function UnlistedMetadata(): ReactNode {
return (
);
}
export function DraftBannerTitle(): ReactNode {
return (
Draft page
);
}
export function DraftBannerMessage(): ReactNode {
return (
This page is a draft. It will only be visible in dev and be excluded from
the production build.
);
}