Link GH to About page

This commit is contained in:
Piotr Rogowski 2022-10-29 20:12:03 +02:00
parent 3dcb255358
commit 8912d5b594
No known key found for this signature in database
GPG Key ID: 4A842D702D9C6F8F
1 changed files with 5 additions and 7 deletions

View File

@ -2,6 +2,7 @@ import {
useEffect, useEffect,
useState, useState,
} from 'react'; } from 'react';
import { Link } from 'react-router-dom';
import { import {
Layout, Layout,
Space, Space,
@ -18,6 +19,7 @@ import {
AppState, AppState,
TuneState, TuneState,
} from '../types/state'; } from '../types/state';
import { Routes } from '../routes';
const { Footer } = Layout; const { Footer } = Layout;
@ -55,16 +57,12 @@ const StatusBar = ({ tune }: { tune: TuneState }) => (
{tune?.details?.author && <Firmware tune={tune} />} {tune?.details?.author && <Firmware tune={tune} />}
</Col> </Col>
<Col span={4} style={{ textAlign: 'right' }}> <Col span={4} style={{ textAlign: 'right' }}>
<a <Link to={Routes.ABOUT}>
href="https://github.com/hyper-tuner/hyper-tuner-cloud" <Space>
target="__blank"
rel="noopener noreferrer"
>
<Space className="github-link">
<GithubOutlined /> <GithubOutlined />
GitHub GitHub
</Space> </Space>
</a> </Link>
</Col> </Col>
</Row> </Row>
</Footer> </Footer>