@@ -3,6 +3,7 @@ import Article from '@node-core/ui-components/Containers/Article';
33
44import RemoteLoadableBanner from '../AnnouncementBanner' ;
55
6+ import { remoteConfig , versionMajor } from '#theme/config' ;
67import Footer from '#theme/Footer' ;
78import MetaBar from '#theme/Metabar' ;
89import NavBar from '#theme/Navigation' ;
@@ -15,23 +16,14 @@ import SideBar from '#theme/Sidebar';
1516 * main content, meta bar, and footer. Override via `#theme/Layout` in your
1617 * configuration's `imports` to customize the entire page structure.
1718 *
18- * @param {{
19- * metadata: import('../../types').SerializedMetadata,
20- * headings: Array,
21- * readingTime: string,
22- * children: import('preact').ComponentChildren,
23- * announcementBannerProps: object
24- * }} props
19+ * @param {{ metadata: import('../../types').SerializedMetadata, headings: Array, readingTime: string, children: import('preact').ComponentChildren } } props
2520 */
26- export default ( {
27- metadata,
28- headings,
29- readingTime,
30- announcementBannerProps,
31- children,
32- } ) => (
21+ export default ( { metadata, headings, readingTime, children } ) => (
3322 < >
34- < RemoteLoadableBanner { ...announcementBannerProps } />
23+ < RemoteLoadableBanner
24+ remoteConfig = { remoteConfig }
25+ versionMajor = { versionMajor }
26+ />
3527 < NavBar />
3628 < Article >
3729 < SideBar metadata = { metadata } />
0 commit comments