-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathindex.js
More file actions
27 lines (23 loc) · 961 Bytes
/
index.js
File metadata and controls
27 lines (23 loc) · 961 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import React from 'react';
import componentRegistry from 'foremanReact/components/componentRegistry';
import { addGlobalFill } from 'foremanReact/components/common/Fill/GlobalFill';
import { translate as __ } from 'foremanReact/common/I18n';
import { Helmet } from 'react-helmet';
import SatelliteUpgradeHelperCard from './components/fills/UpgradePage/SatelliteUpgradeHelperCard';
// register components for erb mounting
componentRegistry.register({ name: 'Helmet', type: Helmet });
addGlobalFill(
'upgrade-page-upgrade-docs',
'Satellite upgrade helper card',
<SatelliteUpgradeHelperCard key="satellite-upgrade-helper-card" />,
1000,
);
addGlobalFill(
'upgrade-page-footer',
'Satellite upgrade page footer',
{
helpDesc: __('If you require assistance or encounter issues, reach out to Red Hat Support or explore the resources available in the Customer Portal for troubleshooting.'),
helpLinkText: __('Contact support'),
},
1000,
);