constants: Move URLs to constants
Fixes #1923 This moves all URLs from code to constants.
This commit is contained in:
parent
bb91840eef
commit
e9d28498e1
26 changed files with 146 additions and 68 deletions
|
|
@ -3,9 +3,10 @@ import React from 'react';
|
|||
import { Button } from '@patternfly/react-core';
|
||||
import { ExternalLinkAltIcon } from '@patternfly/react-icons';
|
||||
|
||||
import { DOCUMENTATION_URL } from '../../constants';
|
||||
|
||||
const DocumentationButton = () => {
|
||||
const documentationURL =
|
||||
'https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/creating_customized_images_by_using_insights_image_builder/index';
|
||||
const documentationURL = DOCUMENTATION_URL;
|
||||
|
||||
return (
|
||||
<Button
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue