LandingPage: Include link to current commit on GitHub
This commit is contained in:
parent
f9f591476e
commit
9c65a705a3
5 changed files with 30 additions and 28 deletions
|
|
@ -1,10 +1,12 @@
|
|||
/* global COMMITHASH */
|
||||
|
||||
import React, { Component } from 'react';
|
||||
import { withRouter } from 'react-router-dom';
|
||||
|
||||
import { PageHeader, PageHeaderTitle } from '@redhat-cloud-services/frontend-components';
|
||||
|
||||
import { Button, Popover, TextContent, Text } from '@patternfly/react-core';
|
||||
import { ExternalLinkAltIcon, HelpIcon } from '@patternfly/react-icons';
|
||||
import { ExternalLinkAltIcon, GithubIcon, HelpIcon } from '@patternfly/react-icons';
|
||||
|
||||
import ImagesTable from '../ImagesTable/ImagesTable';
|
||||
import './LandingPage.scss';
|
||||
|
|
@ -38,6 +40,17 @@ https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/up
|
|||
">
|
||||
Documentation
|
||||
</Button>
|
||||
<br />
|
||||
<Button
|
||||
component="a"
|
||||
target="_blank"
|
||||
variant="link"
|
||||
icon={ <GithubIcon /> }
|
||||
iconPosition="right"
|
||||
isInline
|
||||
href={ 'https://github.com/RedHatInsights/image-builder-frontend/tree/' + COMMITHASH }>
|
||||
Contribute on GitHub
|
||||
</Button>
|
||||
</TextContent> }>
|
||||
<button
|
||||
type="button"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue