mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 14:10:04 +02:00
Add links to non-marvel proto
This commit is contained in:
parent
5459220c77
commit
bb317169a4
@ -30,13 +30,19 @@ const Section = (props) => {
|
|||||||
links = []
|
links = []
|
||||||
} = props;
|
} = props;
|
||||||
|
|
||||||
const navLinks = links.map((link) => (
|
const navLinks = links.map((link) => {
|
||||||
<StyledHorizontalListItem key={link.name}>
|
const to = link.name === 'instances' ?
|
||||||
<NavLink activeClassName='active' to={link.pathname}>
|
// eslint-disable-next-line max-len
|
||||||
<FormattedMessage id={link.name} />
|
'https://projects.invisionapp.com/share/YDAKI8CW4#/screens/224677771_instances' :
|
||||||
</NavLink>
|
link.pathname;
|
||||||
</StyledHorizontalListItem>
|
return (
|
||||||
));
|
<StyledHorizontalListItem key={link.name}>
|
||||||
|
<NavLink activeClassName='active' to={to}>
|
||||||
|
<FormattedMessage id={link.name} />
|
||||||
|
</NavLink>
|
||||||
|
</StyledHorizontalListItem>
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
|
@ -5,10 +5,14 @@ const ServicesTooltip = ({
|
|||||||
show,
|
show,
|
||||||
position
|
position
|
||||||
}) => {
|
}) => {
|
||||||
|
// eslint-disable-next-line max-len
|
||||||
|
const scaleLink = 'https://projects.invisionapp.com/share/YDAKI8CW4#/screens/221841542_Deployed_Services_1-8';
|
||||||
return show ? (
|
return show ? (
|
||||||
<Tooltip {...position}>
|
<Tooltip {...position}>
|
||||||
<li>
|
<li>
|
||||||
<TooltipButton>Scale</TooltipButton>
|
<TooltipButton href={scaleLink}>
|
||||||
|
Scale
|
||||||
|
</TooltipButton>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<TooltipButton>Rollback</TooltipButton>
|
<TooltipButton>Rollback</TooltipButton>
|
||||||
|
BIN
frontend/src/resources/triton_logo_dark.png
Normal file
BIN
frontend/src/resources/triton_logo_dark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
Loading…
Reference in New Issue
Block a user