mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-20 21:45:16 +00:00

Co-authored-by: Harshal Sheth <harshal@acryl.io> Co-authored-by: Dexter Lee <dexter@acryl.io> Co-authored-by: Gabe Lyons <itsgabelyons@gmail.com>
26 lines
628 B
TypeScript
26 lines
628 B
TypeScript
import * as React from 'react';
|
|
import { Typography } from 'antd';
|
|
import { Link } from 'react-router-dom';
|
|
import styled from 'styled-components';
|
|
|
|
const StyledAnalyticsLink = styled(Typography.Text)`
|
|
display: flex;
|
|
margin-right: 20px;
|
|
text-decoration: underline;
|
|
&& {
|
|
font-size: 14px;
|
|
color: ${(props) => props.theme.styles['layout-header-color']};
|
|
}
|
|
&&:hover {
|
|
color: #1890ff;
|
|
}
|
|
`;
|
|
|
|
export default function AnalyticsLink() {
|
|
return (
|
|
<Link to="/analytics">
|
|
<StyledAnalyticsLink strong>Analytics [beta]</StyledAnalyticsLink>
|
|
</Link>
|
|
);
|
|
}
|